coreutils: add patch missing in r24060.
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Nov 2010 14:40:54 +0000 (14:40 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Nov 2010 14:40:54 +0000 (14:40 +0000)
SVN-Revision: 24061

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