r3249 - in glibc-package/branches/glibc-2.9/debian: . patches patches/any
Author: aurel32
Date: 2009-01-21 19:46:50 +0000 (Wed, 21 Jan 2009)
New Revision: 3249
Added:
glibc-package/branches/glibc-2.9/debian/patches/any/local-linuxthreads-thread_self.diff
Modified:
glibc-package/branches/glibc-2.9/debian/changelog
glibc-package/branches/glibc-2.9/debian/patches/series
Log:
* any/local-linuxthreads-thread_self.diff: new patch to fix a warning on
linuxthreads builds.
Modified: glibc-package/branches/glibc-2.9/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-20 16:38:56 UTC (rev 3248)
+++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-21 19:46:50 UTC (rev 3249)
@@ -61,6 +61,8 @@
bug#511811.
* expected-results-i486-linux-gnu-libc, expected-results-i686-linux-i686:
Add tests that fail on a Xen machine. Sigh.
+ * any/local-linuxthreads-thread_self.diff: new patch to fix a warning on
+ linuxthreads builds.
[ Clint Adams ]
* patches/any/cvs-bz697-posix-regexec.diff: regex fix from Paolo Bonzini.
@@ -88,7 +90,7 @@
* add kfreebsd/local-linuxthreads29.diff:
update to fix build on kfreebsd architectures.
- -- Aurelien Jarno <aurel32@debian.org> Tue, 20 Jan 2009 09:17:33 +0100
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 21 Jan 2009 20:42:26 +0100
glibc (2.8+20080809-3) experimental; urgency=low
Added: glibc-package/branches/glibc-2.9/debian/patches/any/local-linuxthreads-thread_self.diff
===================================================================
--- glibc-package/branches/glibc-2.9/debian/patches/any/local-linuxthreads-thread_self.diff (rev 0)
+++ glibc-package/branches/glibc-2.9/debian/patches/any/local-linuxthreads-thread_self.diff 2009-01-21 19:46:50 UTC (rev 3249)
@@ -0,0 +1,19 @@
+2009-01-21 Aurelien Jarno <aurelien@aurel32.net>
+
+ * linuxthreads/descr.h (thread_self): Remove static to prevent
+ warning.
+
+--- glibc-2.9.orig/linuxthreads/descr.h
++++ glibc-2.9/linuxthreads/descr.h
+@@ -248,8 +248,8 @@
+
+ extern pthread_descr __pthread_find_self (void) __attribute__ ((pure));
+
+-static inline pthread_descr thread_self (void) __attribute__ ((pure));
+-static inline pthread_descr thread_self (void)
++extern inline pthread_descr thread_self (void) __attribute__ ((pure));
++extern inline pthread_descr thread_self (void)
+ {
+ #ifdef THREAD_SELF
+ return THREAD_SELF;
+
Modified: glibc-package/branches/glibc-2.9/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-20 16:38:56 UTC (rev 3248)
+++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-21 19:46:50 UTC (rev 3249)
@@ -170,3 +170,4 @@
any/cvs-bz9706-nss_nss-files_files-parse.diff
any/local-nss-overflow.diff
any/submitted-popen.diff
+any/local-linuxthreads-thread_self.diff
Reply to: