Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#485046: zsh-beta: FTBFS on GNU/kFreeBSD



On Sat, Jun 07, 2008 at 11:44:18PM +0200, Petr Salinger wrote:
> Hi,
>
> the current version fails to build on GNU/kFreeBSD.
>
> It needs small tweak, see bellow.
>
> It would also be nice if you can ask upstream
> to include this change.

Okay.

Index: Src/system.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.52
diff -u -r1.52 system.h
--- Src/system.h	4 May 2008 18:43:02 -0000	1.52
+++ Src/system.h	16 Jun 2008 22:46:19 -0000
@@ -37,7 +37,7 @@
 #endif
 #endif
 
-#ifdef __linux
+#if defined(__linux) || defined(__GLIBC__)
 /*
  * Turn on numerous extensions.
  * This is in order to get the functions for manipulating /dev/ptmx.



Messages sorted by: Reverse Date, Date, Thread, Author