r3224 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hppa
Author: aurel32
Date: 2009-01-07 16:18:19 +0000 (Wed, 07 Jan 2009)
New Revision: 3224
Added:
glibc-package/branches/glibc-2.9/debian/patches/hppa/submitted-tsd.diff
Modified:
glibc-package/branches/glibc-2.9/debian/changelog
glibc-package/branches/glibc-2.9/debian/patches/series
Log:
* patches/hppa/submitted-tsd.diff: new patch from Arthur Loiret to fix build
on hppa.
Modified: glibc-package/branches/glibc-2.9/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-07 15:58:28 UTC (rev 3223)
+++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-07 16:18:19 UTC (rev 3224)
@@ -6,6 +6,7 @@
debian/rules.d/tarball.mk accordingly.
- shs_CA locale is enabled. Closes: #504663.
- fix snprintf with low-memory. Closes: #481543.
+ - fix mtrace warning message. Closes: #507488.
- Disable m68k/local-mathinline_h.diff.
- Update any/local-bashisms.diff.
- Update hurd-i386/local-tls-support.diff.
@@ -49,8 +50,10 @@
Closes: bug#510083.
* Remove manpage that will be provided by manpages-dev. Closes: bug#506515,
bug#505784.
+ * patches/hppa/submitted-tsd.diff: new patch from Arthur Loiret to fix build
+ on hppa.
- -- Aurelien Jarno <aurel32@debian.org> Wed, 07 Jan 2009 16:54:16 +0100
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 07 Jan 2009 17:17:52 +0100
glibc (2.8+20080809-3) experimental; urgency=low
Added: glibc-package/branches/glibc-2.9/debian/patches/hppa/submitted-tsd.diff
===================================================================
--- glibc-package/branches/glibc-2.9/debian/patches/hppa/submitted-tsd.diff (rev 0)
+++ glibc-package/branches/glibc-2.9/debian/patches/hppa/submitted-tsd.diff 2009-01-07 16:18:19 UTC (rev 3224)
@@ -0,0 +1,27 @@
+2009-01-07 Arthur Loiret <aloiret@debian.org>
+
+ * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
+ (MALLOC): Adjust __libc_tsd_define arguments.
+ (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
+ arguments.
+
+---
+ .../sysv/linux/hppa/linuxthreads/malloc-machine.h | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+--- a/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
++++ b/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
+@@ -63,10 +63,10 @@ extern void *__dso_handle __attribute__ ((__weak__));
+ #include <bits/libc-tsd.h>
+
+ typedef int tsd_key_t[1]; /* no key data structure, libc magic does it */
+-__libc_tsd_define (static, MALLOC) /* declaration/common definition */
++__libc_tsd_define (static, void *, MALLOC) /* declaration/common definition */
+ #define tsd_key_create(key, destr) ((void) (key))
+-#define tsd_setspecific(key, data) __libc_tsd_set (MALLOC, (data))
+-#define tsd_getspecific(key, vptr) ((vptr) = __libc_tsd_get (MALLOC))
++#define tsd_setspecific(key, data) __libc_tsd_set (void *, MALLOC, (data))
++#define tsd_getspecific(key, vptr) ((vptr) = __libc_tsd_get (void *, MALLOC))
+
+ #include <sysdeps/generic/malloc-machine.h>
+
Modified: glibc-package/branches/glibc-2.9/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-07 15:58:28 UTC (rev 3223)
+++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-07 16:18:19 UTC (rev 3224)
@@ -63,6 +63,7 @@
hppa/submitted-lt.diff
hppa/submitted-nptl-carlos.diff
hppa/submitted-pie.diff
+hppa/submitted-tsd.diff
hurd-i386/local-dl-dynamic-weak.diff
hurd-i386/local-enable-ldconfig.diff
Reply to: