From 36dc07799adf03f649d30b01a23b9de84ef90ba2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 23 Jan 2009 23:49:19 +0000 Subject: * debian/patches/libpthread_rwlock_initializer.patch: New patch, add missing PTHREAD_RWLOCK_INITIALIZER. --- debian/patches/libpthread_rwlock_initializer.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/patches/libpthread_rwlock_initializer.patch (limited to 'debian/patches/libpthread_rwlock_initializer.patch') 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 + ++#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, -- cgit v1.2.3