coreutils: add patch missing in r24060.
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Nov 2010 14:40:54 +0000 (14:40 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Nov 2010 14:40:54 +0000 (14:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24061 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/coreutils/patches/002-fix_compile_with_uclibc.patch [new file with mode: 0644]

diff --git a/utils/coreutils/patches/002-fix_compile_with_uclibc.patch b/utils/coreutils/patches/002-fix_compile_with_uclibc.patch
new file mode 100644 (file)
index 0000000..537eab3
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/lib/pthread.in.h
++++ b/lib/pthread.in.h
+@@ -225,6 +225,7 @@ pthread_mutex_unlock (pthread_mutex_t *m
+ /* Approximate spinlocks with mutexes.  */
++#define pthread_spinlock_t original_pthread_spinlock_t
+ typedef pthread_mutex_t pthread_spinlock_t;
+ static inline int