summaryrefslogtreecommitdiff
path: root/debian/patches/libpthread_mutex-no-include.patch
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2008-08-03 18:53:48 +0000
committerSamuel Thibault <sthibault@debian.org>2008-08-03 18:53:48 +0000
commit7fefde206e266d8e0242b1cfac27c44ff7d4fa05 (patch)
tree4dbce378fdc129c2c81a33c01559927e5e917a2b /debian/patches/libpthread_mutex-no-include.patch
parentb818805402470cde72da5eb420800fc9ff752605 (diff)
* debian/ patches/libpthread_mutex-no-include.patch: New patch to drop
useless (and problematic) inclusion from mutex.h. * debian/patches/libpthread_spin-lock-inline.patch: New patch to split off inlines from spin-lock.h into spin-lock-inline.h to avoid including too many headers from pthreadtypes.h (fixes glibc 2.7-13 compilation).
Diffstat (limited to 'debian/patches/libpthread_mutex-no-include.patch')
-rw-r--r--debian/patches/libpthread_mutex-no-include.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/libpthread_mutex-no-include.patch b/debian/patches/libpthread_mutex-no-include.patch
new file mode 100644
index 00000000..edd5e2c8
--- /dev/null
+++ b/debian/patches/libpthread_mutex-no-include.patch
@@ -0,0 +1,20 @@
+Index: libpthread/sysdeps/generic/bits/mutex.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/sysdeps/generic/bits/mutex.h,v
+retrieving revision 1.6
+retrieving revision 1.7
+diff -u -p -r1.6 -r1.7
+--- libpthread/sysdeps/generic/bits/mutex.h 1 Jul 2008 11:43:16 -0000 1.6
++++ libpthread/sysdeps/generic/bits/mutex.h 2 Aug 2008 20:21:20 -0000 1.7
+@@ -57,11 +57,4 @@ struct __pthread_mutex
+ # endif
+ #endif /* Not __pthread_mutex_defined. */
+
+-#ifdef _BITS_MUTEX_H
+-
+-#include <errno.h>
+-#include <stddef.h>
+-
+-#endif
+-
+ #endif /* bits/mutex.h */