summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch')
-rw-r--r--meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch b/meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
deleted file mode 100644
index 6774838ba8..0000000000
--- a/meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1Upstream-Status: Pending
2
3uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc
4and is not needed too per standard. gnulib attempts to use it but we have to account
5for it because in this case uclibc does not behave like glibc.
6
7-Khem
8
9http://bugs.gentoo.org/336484
10
11--- m4-1.4.14/lib/spawn.in.h
12+++ m4-1.4.14/lib/spawn.in.h
13@@ -31,7 +31,7 @@
14
15 /* Get definitions of 'struct sched_param' and 'sigset_t'.
16 But avoid namespace pollution on glibc systems. */
17-#ifndef __GLIBC__
18+#if !defined __GLIBC__ || defined __UCLIBC__
19 # include <sched.h>
20 # include <signal.h>
21 #endif