summaryrefslogtreecommitdiff
path: root/package/bison/patches/patch-lib_spawn_in_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:07:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:07:14 +0200
commit33a1238e6c940033d1155c188dcb3adad8187932 (patch)
treec4d594145ef7672e76a4c821cdb4e4d5eb8fb81f /package/bison/patches/patch-lib_spawn_in_h
parent27767d6da4e2dfd2505adff10a88b404831f3f6d (diff)
more FreeBSD fixes and package updates
Diffstat (limited to 'package/bison/patches/patch-lib_spawn_in_h')
-rw-r--r--package/bison/patches/patch-lib_spawn_in_h18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/bison/patches/patch-lib_spawn_in_h b/package/bison/patches/patch-lib_spawn_in_h
new file mode 100644
index 000000000..a32d9eb93
--- /dev/null
+++ b/package/bison/patches/patch-lib_spawn_in_h
@@ -0,0 +1,18 @@
+--- bison-2.4.2.orig/lib/spawn.in.h 2010-03-17 20:17:04.000000000 +0100
++++ bison-2.4.2/lib/spawn.in.h 2010-07-30 17:23:46.000000000 +0200
+@@ -29,13 +29,8 @@
+ #ifndef _GL_SPAWN_H
+ #define _GL_SPAWN_H
+
+-/* Get definitions of 'struct sched_param' and 'sigset_t'.
+- But avoid namespace pollution on glibc systems. */
+-#ifndef __GLIBC__
+-# include <sched.h>
+-# include <signal.h>
+-#endif
+-
++#include <sched.h>
++#include <signal.h>
+ #include <sys/types.h>
+
+ #ifndef __THROW