summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2005-08-28 12:43:55 +0000
committerMichael Banck <mbanck@debian.org>2005-08-28 12:43:55 +0000
commitcc888ef8fbcf23b8f55f6d1ff748c56d11c119a9 (patch)
tree8aafb28d0a6088f79a8e5e2858522c4462dae6f1
parente00b1a9e0045f042af745d69ca9b290016df9b59 (diff)
* debian/patches/semaphore_restrict_fix.patch: New patch by Samuel
Thibault. (Closes: #320121)
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/semaphore_restrict_fix.patch28
2 files changed, 30 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index bd7b1db0..ca48a796 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ hurd (20050513-3+SVN) unreleased; urgency=low
* debian/patches/ftpfs_fix.patch: New patch by Samuel Thibault.
* debian/patches/sysvshm.patch: New patch by Marcus Brinkmann.
* debian/patches/libpager_update_seqno.patch: New patch by Sergio Lopez.
+ * debian/patches/semaphore_restrict_fix.patch: New patch by Samuel
+ Thibault. (Closes: #320121)
-- Michael Banck <mbanck@debian.org> Sun, 12 Jun 2005 23:53:59 +0200
diff --git a/debian/patches/semaphore_restrict_fix.patch b/debian/patches/semaphore_restrict_fix.patch
new file mode 100644
index 00000000..a33a7619
--- /dev/null
+++ b/debian/patches/semaphore_restrict_fix.patch
@@ -0,0 +1,28 @@
+Index: libpthread/include/semaphore.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/include/semaphore.h,v
+retrieving revision 1.1
+diff -u -r1.1 semaphore.h
+--- libpthread/include/semaphore.h 12 May 2005 11:50:42 -0000 1.1
++++ libpthread/include/semaphore.h 26 Jul 2005 21:33:22 -0000
+@@ -36,7 +36,7 @@
+ extern int sem_destroy (sem_t *sem);
+
+ /* Store the value of semaphore *SEM in *VALUE. */
+-extern int sem_getvalue (sem_t *restrict sem, int *restrict value);
++extern int sem_getvalue (sem_t *__restrict sem, int *__restrict value);
+
+ /* Perform a down operation on semaphore *SEM. */
+ extern int sem_wait (sem_t *sem);
+@@ -47,8 +47,8 @@
+
+ /* Perform a down operation on semaphore *SEM but don't wait longer
+ than TIMEOUT. */
+-extern int sem_timedwait (sem_t *restrict sem,
+- const struct timespec *restrict timeout);
++extern int sem_timedwait (sem_t *__restrict sem,
++ const struct timespec *__restrict timeout);
+
+ /* Perform an up operation on semaphore *SEM. */
+ extern int sem_post (sem_t *sem);
+