summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2009-05-08 00:20:26 +0000
committerSamuel Thibault <sthibault@debian.org>2009-05-08 00:20:26 +0000
commit8a0f00da990787c51c90a1f36ed3b5017348fe51 (patch)
treec5b6eb8a530528dbbab14513452bcd302bdfc550
parente3bc4a2c4800b841b2ff975ed8f256b580817bfb (diff)
* debian/patches/libpthread_no_recursive_mutex_initializer.patch: New patch
to drop undefined references to __pthread_recursive_mutexattr.
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/libpthread_no_recursive_mutex_initializer.patch20
-rw-r--r--debian/patches/series1
3 files changed, 23 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 1499edc8..c57313aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,8 @@ hurd (20080921-1) UNRELEASED; urgency=low
libpthread.
* debian/patches/libpthread_setcancel.patch: New patch to fix configuration
of octave3.0.
+ * debian/patches/libpthread_no_recursive_mutex_initializer.patch: New patch
+ to drop undefined references to __pthread_recursive_mutexattr.
-- Michael Banck <mbanck@debian.org> Sat, 13 Sep 2008 23:43:27 +0200
diff --git a/debian/patches/libpthread_no_recursive_mutex_initializer.patch b/debian/patches/libpthread_no_recursive_mutex_initializer.patch
new file mode 100644
index 00000000..0d49523b
--- /dev/null
+++ b/debian/patches/libpthread_no_recursive_mutex_initializer.patch
@@ -0,0 +1,20 @@
+Index: libpthread/include/pthread/pthread.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v
+retrieving revision 1.17
+diff -u -p -r1.17 pthread.h
+--- libpthread/include/pthread/pthread.h 10 Jan 2009 13:22:26 -0000 1.17
++++ libpthread/include/pthread/pthread.h 8 May 2009 00:14:04 -0000
+@@ -310,12 +310,6 @@ extern int pthread_mutexattr_settype(pth
+ #include <bits/mutex.h>
+
+ #define PTHREAD_MUTEX_INITIALIZER __PTHREAD_MUTEX_INITIALIZER
+-/* Static initializer for recursive mutexes. */
+-
+-#ifdef __USE_GNU
+-# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
+- __PTHREAD_RECURSIVE_MUTEX_INITIALIZER
+-#endif
+
+ /* Create a mutex with attributes given by ATTR and store it in
+ *__MUTEX. */
diff --git a/debian/patches/series b/debian/patches/series
index d8c00182..b5e1a2be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -26,3 +26,4 @@ dir_acces_fix.patch -p0
libports_stability.patch -p0
libpthread_fix.patch -p0
libpthread_setcancel.patch -p0
+libpthread_no_recursive_mutex_initializer.patch -p0