summaryrefslogtreecommitdiffstats
path: root/toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch')
-rw-r--r--toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch b/toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch
new file mode 100644
index 000000000..047f786cf
--- /dev/null
+++ b/toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch
@@ -0,0 +1,13 @@
+http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
+
+diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
+--- glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig 2008-10-04 20:46:13.000000000 +0200
++++ glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-10-04 20:45:40.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include <atomic.h>
+ #include <sysdep.h>
+ #include <kernel-features.h>
++#include <tls.h>
+
+ #define FUTEX_WAIT 0
+ #define FUTEX_WAKE 1