From ddacf60dd843d1c7f2eb876688d60920dcc8dc87 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Wed, 20 Apr 2005 15:48:03 +0000 Subject: * debian/patches/pt-setschedparam_api_fix.patch: New patch, taken from upstream CVS. --- debian/changelog | 2 ++ debian/patches/pt-setschedparam_api_fix.patch | 48 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 debian/patches/pt-setschedparam_api_fix.patch (limited to 'debian') 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 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 + + * sysdeps/generic/pt-setschedparam.c: policy's type is int, not + int *. + * include/pthread/pthread.h: Likewise. + Reported by Christopher `Physicman' Bodenstein . + +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 + + 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. */ -- cgit v1.2.3