summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-10-20 03:06:42 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-10-20 03:06:42 (GMT)
commite74a6d5164fac7b0b481d4ecb74518e15a8fa303 (patch)
tree0336314f8453f114df843ec1e6dc8b26a96135ef
parentfbf66d7c90ebee9a1932d11468e52dcdab6f307f (diff)
parent05b7b11ec4bcbf8d6394d58ea645bc4cf324c16e (diff)
Merge pull request #199 from stilor/sparc-nptl
Missing include in glibc-2.22 for sparc32/nptl.
-rw-r--r--patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch b/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch
new file mode 100644
index 0000000..b481046
--- /dev/null
+++ b/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch
@@ -0,0 +1,21 @@
+commit 3f512ca79fda7854da188df0585e71467119206e
+Author: Brett Neumeier <brett@neumeier.us>
+Date: Mon Aug 31 15:27:21 2015 -0700
+
+ Fix non-v9 32-bit sparc build.
+
+ [BZ #18870]
+ * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
+
+diff --git a/sysdeps/sparc/sparc32/sem_open.c b/sysdeps/sparc/sparc32/sem_open.c
+index 16cb9ad..59df2d7 100644
+--- a/sysdeps/sparc/sparc32/sem_open.c
++++ b/sysdeps/sparc/sparc32/sem_open.c
+@@ -29,6 +29,7 @@
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+ #include "semaphoreP.h"
++#include <futex-internal.h>
+ #include <shm-directory.h>
+
+