1.1 --- a/bison/bison.patch Thu Aug 02 22:11:13 2012 +0200 1.2 +++ b/bison/bison.patch Thu Aug 02 23:24:05 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 Index: lib/timevar.c 1.5 ---- lib/timevar.c.orig 2008-07-14 10:56:12 +0200 1.6 -+++ lib/timevar.c 2008-11-03 19:16:04 +0100 1.7 -@@ -42,6 +42,7 @@ 1.8 +--- lib/timevar.c.orig 2010-07-26 01:33:12.000000000 +0200 1.9 ++++ lib/timevar.c 2010-08-06 15:13:37.000000000 +0200 1.10 +@@ -45,6 +45,7 @@ 1.11 # include <sys/times.h> 1.12 #endif 1.13 #ifdef HAVE_SYS_RESOURCE_H 1.14 @@ -15,9 +15,9 @@ 1.15 http://undeadly.org/cgi?action=article&sid=20080708155228&mode=flat&count=13 1.16 1.17 Index: data/yacc.c 1.18 ---- data/yacc.c.orig 2008-11-02 19:09:10 +0100 1.19 -+++ data/yacc.c 2008-11-03 19:16:04 +0100 1.20 -@@ -1444,7 +1444,10 @@ 1.21 +--- data/yacc.c.orig 2010-08-06 02:37:58.000000000 +0200 1.22 ++++ data/yacc.c 2010-08-06 15:13:37.000000000 +0200 1.23 +@@ -1453,7 +1453,10 @@ 1.24 users should not rely upon it. Assigning to YYVAL 1.25 unconditionally makes the parser a bit smaller, and it avoids a 1.26 GCC warning that YYVAL may be used uninitialized. */ 1.27 @@ -29,3 +29,26 @@ 1.28 ]b4_locations_if( 1.29 [[ /* Default location. */ 1.30 1.31 +---------------------------------------------------------------------------- 1.32 + 1.33 +Fix for FreeBSD 8 but without breaking Mac OS X 10.6 1.34 + 1.35 +Index: lib/spawn.in.h 1.36 +--- lib/spawn.in.h.orig 2010-04-11 20:31:37.000000000 +0200 1.37 ++++ lib/spawn.in.h 2010-08-06 15:57:36.000000000 +0200 1.38 +@@ -121,6 +121,7 @@ 1.39 + # define POSIX_SPAWN_SETSCHEDULER 0 1.40 + # endif 1.41 + #else 1.42 ++#if !@HAVE_POSIX_SPAWN@ || defined(__APPLE__) 1.43 + # if @REPLACE_POSIX_SPAWN@ 1.44 + /* Use the values from the system, for better compatibility. */ 1.45 + /* But this implementation does not support AIX extensions. */ 1.46 +@@ -134,6 +135,7 @@ 1.47 + # define POSIX_SPAWN_SETSCHEDULER 0x20 1.48 + # endif 1.49 + #endif 1.50 ++#endif 1.51 + /* A GNU extension. Use the next free bit position. */ 1.52 + #define POSIX_SPAWN_USEVFORK \ 1.53 + ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \