Browse Source

"apply a fix for the m4 spawning problem"

master
parent
commit
d330eb911a
  1. 23
      bison/bison.patch
  2. 2
      bison/bison.spec

23
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) \

2
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

Loading…
Cancel
Save