[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3439 - in glibc-package/trunk/debian: . patches/hurd-i386



Author: sthibaul-guest
Date: 2009-04-30 17:01:35 +0000 (Thu, 30 Apr 2009)
New Revision: 3439

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/hurd-i386/local-pthread_posix-option.diff
Log:
hurd-i386/local-pthread_posix-option.diff: Set _POSIX_TIMEOUTS to 200112 too, to fix gthread compilation in gcc-4.4

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-04-30 07:20:58 UTC (rev 3438)
+++ glibc-package/trunk/debian/changelog	2009-04-30 17:01:35 UTC (rev 3439)
@@ -1,3 +1,11 @@
+glibc (2.9-10) unstable; urgency=low
+
+ [ Samuel Thibault ]
+  * hurd-i386/local-pthread_posix-option.diff: Set _POSIX_TIMEOUTS to 200112
+    too, to fix gthread compilation in gcc-4.4
+
+ -- Aurelien Jarno <aurel32@debian.org>  Tue, 28 Apr 2009 23:11:30 +0200
+
 glibc (2.9-9) unstable; urgency=low
 
   * mips/cvs-context.diff: add missing part from upstream.

Modified: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_posix-option.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/local-pthread_posix-option.diff	2009-04-30 07:20:58 UTC (rev 3438)
+++ glibc-package/trunk/debian/patches/hurd-i386/local-pthread_posix-option.diff	2009-04-30 17:01:35 UTC (rev 3439)
@@ -7,12 +7,25 @@
 
 --- a/sysdeps/mach/hurd/bits/posix_opt.h
 +++ b/sysdeps/mach/hurd/bits/posix_opt.h
-@@ -62,7 +62,7 @@
+@@ -61,8 +61,8 @@
+ #undef _POSIX_SYNC_IO		/* File supports O_SYNC et al?  */
  
  
- /* We do not have the POSIX threads interface.  */
+-/* We do not have the POSIX threads interface.  */
 -#define _POSIX_THREADS	-1
++/* Tell we have POSIX threads.  */
 +#define _POSIX_THREADS	200112L
  
  /* We have the reentrant functions described in POSIX.  */
  #define _POSIX_REENTRANT_FUNCTIONS      1
+@@ -108,8 +108,8 @@
+ /* We have a POSIX shell.  */
+ #define _POSIX_SHELL	1
+ 
+-/* We cannot support the Timeouts option without _POSIX_THREADS.  */
+-#define _POSIX_TIMEOUTS	-1
++/* We support the Timeouts option.  */
++#define _POSIX_TIMEOUTS	200112L
+ 
+ /* The `spawn' function family is supported.  */
+ #define _POSIX_SPAWN	200809L


Reply to: