summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/libpthread_rwlock_initializer.patch16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/libpthread_rwlock_initializer.patch b/debian/patches/libpthread_rwlock_initializer.patch
new file mode 100644
index 00000000..f54617ac
--- /dev/null
+++ b/debian/patches/libpthread_rwlock_initializer.patch
@@ -0,0 +1,16 @@
+Index: libpthread/include/pthread/pthread.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v
+retrieving revision 1.15
+retrieving revision 1.16
+diff -u -p -r1.15 -r1.16
+--- libpthread/include/pthread/pthread.h 12 Aug 2008 15:07:49 -0000 1.15
++++ libpthread/include/pthread/pthread.h 21 Dec 2008 18:41:27 -0000 1.16
+@@ -521,6 +521,7 @@ extern int pthread_rwlockattr_setpshared
+
+ #include <bits/rwlock.h>
+
++#define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
+ /* Create a rwlock object with attributes given by ATTR and strore the
+ result in *RWLOCK. */
+ extern int pthread_rwlock_init (pthread_rwlock_t *__restrict rwlock,
diff --git a/debian/patches/series b/debian/patches/series
index edaf30fa..7b2cab6f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,6 +6,7 @@ init_try_runsystem.gnu.patch -p0
install-msgids.diff -p2
libpager_update_seqno.patch -p0
libpthread_mutex_owner.patch -p0
+libpthread_rwlock_initializer.patch -p0
libpthread_stubs.patch -p0
libpthread_tls.patch -p0
makedev.diff -p0