add support for alternative C libraries (currently only glibc/eglibc) other (related...
[openwrt/openwrt.git] / toolchain / eglibc / patches / 2.8 / 103-arm_nptl_cargs6.patch
diff --git a/toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch b/toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch
new file mode 100644 (file)
index 0000000..97bdc98
--- /dev/null
@@ -0,0 +1,13 @@
+diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
+--- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h     2007-06-06 19:48:04.000000000 +0200
++++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h  2008-11-04 16:48:29.000000000 +0100
+@@ -73,6 +73,9 @@
+ # define DOCARGS_5    DOCARGS_4
+ # define UNDOCARGS_5  UNDOCARGS_4
++# define DOCARGS_6    DOCARGS_5
++# define UNDOCARGS_6  UNDOCARGS_5
++
+ # ifdef IS_IN_libpthread
+ #  define CENABLE     bl PLTJMP(__pthread_enable_asynccancel)
+ #  define CDISABLE    bl PLTJMP(__pthread_disable_asynccancel)