From b523c29ec5923483e5d3fb3693c2fdfec68cd15a Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Mon, 6 Jun 2005 21:10:20 +0000 Subject: * debian/patches/libpthread_need_clockid_t.patch: Updated from CVS. --- debian/changelog | 1 + debian/patches/libpthread_need_clockid_t.patch | 30 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 302484a0..f386eb9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ hurd (20050513-2+SVN) unreleased; urgency=low >= 4.2. * debian/control (hurd-udeb): New package. * debian/hurd-udeb.install: New file. + * debian/patches/libpthread_need_clockid_t.patch: Updated from CVS. -- Michael Banck Thu, 19 May 2005 12:31:01 +0200 diff --git a/debian/patches/libpthread_need_clockid_t.patch b/debian/patches/libpthread_need_clockid_t.patch index 70921fa8..31c92793 100644 --- a/debian/patches/libpthread_need_clockid_t.patch +++ b/debian/patches/libpthread_need_clockid_t.patch @@ -1,3 +1,8 @@ +2005-05-31 Neal H. Walfield + + * include/pthread/pthread.h: If clockid_t is still not defined + after including , define it manually. + 2005-05-17 Neal H. Walfield * include/pthread/pthread.h: Define __need_clockid_t before @@ -17,3 +22,28 @@ diff -u -r1.5 -r1.6 #include __BEGIN_DECLS +Index: libpthread/include/pthread/pthread.h +=================================================================== +RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v +retrieving revision 1.6 +retrieving revision 1.7 +diff -u -r1.6 -r1.7 +--- libpthread/include/pthread/pthread.h 17 May 2005 09:40:50 -0000 1.6 ++++ libpthread/include/pthread/pthread.h 31 May 2005 17:34:36 -0000 1.7 +@@ -29,6 +29,16 @@ + #define __need_clockid_t + #include + ++/* If we are in a mode where clockid_t is not automatically defined ++ and another header has already included then defining ++ __need_clockid_t was not enough. */ ++#ifndef __clockid_t_defined ++# define __clockid_t_defined 1 ++# include ++/* Clock ID used in clock and timer functions. */ ++typedef __clockid_t clockid_t; ++#endif ++ + __BEGIN_DECLS + + #include -- cgit v1.2.3