summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2005-04-20 15:48:03 +0000
committerMichael Banck <mbanck@debian.org>2005-04-20 15:48:03 +0000
commitddacf60dd843d1c7f2eb876688d60920dcc8dc87 (patch)
tree0400733c339536100ef8282d7e97f221e5c14c29
parent9f9a2d59ae68dfb43a992c59b9fd4c2c6d273b19 (diff)
* debian/patches/pt-setschedparam_api_fix.patch: New patch, taken
from upstream CVS.
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/pt-setschedparam_api_fix.patch48
2 files changed, 50 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2fa2fe02..a3bff1a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ hurd (20050119-3+SVN) unreleased; urgency=low
* debian/changelog: Added overlooked Closes: tag for 20050119-3.
* debian/control (hurd-dbg/Priority:) Set to extra as requested by
the ftp-masters.
+ * debian/patches/pt-setschedparam_api_fix.patch: New patch, taken
+ from upstream CVS.
-- Michael Banck <mbanck@debian.org> Sat, 16 Apr 2005 01:24:47 +0200
diff --git a/debian/patches/pt-setschedparam_api_fix.patch b/debian/patches/pt-setschedparam_api_fix.patch
new file mode 100644
index 00000000..50f8495f
--- /dev/null
+++ b/debian/patches/pt-setschedparam_api_fix.patch
@@ -0,0 +1,48 @@
+2005-04-20 Neal H. Walfield <neal@gnu.org>
+
+ * sysdeps/generic/pt-setschedparam.c: policy's type is int, not
+ int *.
+ * include/pthread/pthread.h: Likewise.
+ Reported by Christopher `Physicman' Bodenstein <cb@physicman.net>.
+
+Index: libpthread/sysdeps/generic/pt-setschedparam.c
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/sysdeps/generic/pt-setschedparam.c,v
+retrieving revision 1.1
+retrieving revision 1.2
+diff -u -r1.1 -r1.2
+--- libpthread/sysdeps/generic/pt-setschedparam.c 10 Oct 2002 23:05:06 -0000 1.1
++++ libpthread/sysdeps/generic/pt-setschedparam.c 20 Apr 2005 15:26:52 -0000 1.2
+@@ -1,5 +1,5 @@
+ /* Set the scheduling parameters for a thread. Generic version.
+- Copyright (C) 2002 Free Software Foundation, Inc.
++ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+@@ -21,7 +21,7 @@
+ #include <pt-internal.h>
+
+ int
+-pthread_setschedparam (pthread_t thread, int *policy,
++pthread_setschedparam (pthread_t thread, int policy,
+ const struct sched_param *param)
+ {
+ return ENOSYS;
+Index: libpthread/include/pthread/pthread.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- libpthread/include/pthread/pthread.h 18 Jan 2005 09:57:35 -0000 1.3
++++ libpthread/include/pthread/pthread.h 20 Apr 2005 15:26:52 -0000 1.4
+@@ -680,7 +680,7 @@
+ struct sched_param *param);
+
+ /* Set thread THREAD's scheduling paramters. */
+-extern int pthread_setschedparam (pthread_t thread, int *policy,
++extern int pthread_setschedparam (pthread_t thread, int policy,
+ const struct sched_param *param);
+
+ /* Set thread THREAD's scheduling priority. */