diff --git a/bison/bison.patch b/bison/bison.patch index dfb0185b1c..59479f098e 100644 --- a/bison/bison.patch +++ b/bison/bison.patch @@ -29,3 +29,26 @@ Index: data/yacc.c ]b4_locations_if( [[ /* Default location. */ +---------------------------------------------------------------------------- + +Fix for FreeBSD 8: + +Index: lib/spawn.in.h +--- lib/spawn.in.h.orig 2010-03-17 20:17:04.000000000 +0100 ++++ lib/spawn.in.h 2010-03-31 11:48:16.000000000 +0200 +@@ -110,6 +110,7 @@ + + + /* Flags to be set in the `posix_spawnattr_t'. */ ++#if !@HAVE_POSIX_SPAWN@ + #if @REPLACE_POSIX_SPAWN@ + /* Use the values from the system, for better compatibility. */ + /* But this implementation does not support AIX extensions. */ +@@ -122,6 +123,7 @@ + # define POSIX_SPAWN_SETSCHEDPARAM 0x10 + # define POSIX_SPAWN_SETSCHEDULER 0x20 + #endif ++#endif + /* A GNU extension. Use the next free bit position. */ + #define POSIX_SPAWN_USEVFORK \ + ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \ diff --git a/bison/bison.spec b/bison/bison.spec index 044d8f240a..571fe76093 100644 --- a/bison/bison.spec +++ b/bison/bison.spec @@ -36,7 +36,7 @@ Class: CORE Group: CompilerCompiler License: GPL Version: %{V_new} -Release: 20100321 +Release: 20100331 # package options %option with_old no