diff -r 061d2617f42f -r 6fd77f414c36 bison/bison.patch --- a/bison/bison.patch Thu Aug 02 22:11:13 2012 +0200 +++ b/bison/bison.patch Thu Aug 02 23:24:05 2012 +0200 @@ -1,7 +1,7 @@ Index: lib/timevar.c ---- lib/timevar.c.orig 2008-07-14 10:56:12 +0200 -+++ lib/timevar.c 2008-11-03 19:16:04 +0100 -@@ -42,6 +42,7 @@ +--- lib/timevar.c.orig 2010-07-26 01:33:12.000000000 +0200 ++++ lib/timevar.c 2010-08-06 15:13:37.000000000 +0200 +@@ -45,6 +45,7 @@ # include #endif #ifdef HAVE_SYS_RESOURCE_H @@ -15,9 +15,9 @@ http://undeadly.org/cgi?action=article&sid=20080708155228&mode=flat&count=13 Index: data/yacc.c ---- data/yacc.c.orig 2008-11-02 19:09:10 +0100 -+++ data/yacc.c 2008-11-03 19:16:04 +0100 -@@ -1444,7 +1444,10 @@ +--- data/yacc.c.orig 2010-08-06 02:37:58.000000000 +0200 ++++ data/yacc.c 2010-08-06 15:13:37.000000000 +0200 +@@ -1453,7 +1453,10 @@ users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ @@ -29,3 +29,26 @@ ]b4_locations_if( [[ /* Default location. */ +---------------------------------------------------------------------------- + +Fix for FreeBSD 8 but without breaking Mac OS X 10.6 + +Index: lib/spawn.in.h +--- lib/spawn.in.h.orig 2010-04-11 20:31:37.000000000 +0200 ++++ lib/spawn.in.h 2010-08-06 15:57:36.000000000 +0200 +@@ -121,6 +121,7 @@ + # define POSIX_SPAWN_SETSCHEDULER 0 + # endif + #else ++#if !@HAVE_POSIX_SPAWN@ || defined(__APPLE__) + # if @REPLACE_POSIX_SPAWN@ + /* Use the values from the system, for better compatibility. */ + /* But this implementation does not support AIX extensions. */ +@@ -134,6 +135,7 @@ + # define POSIX_SPAWN_SETSCHEDULER 0x20 + # endif + #endif ++#endif + /* A GNU extension. Use the next free bit position. */ + #define POSIX_SPAWN_USEVFORK \ + ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \