r2023 - in glibc-package/branches/glibc-2.5/debian: . patches patches/hurd-i386
Author: mbanck
Date: 2007-03-07 13:35:42 +0000 (Wed, 07 Mar 2007)
New Revision: 2023
Added:
glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-tls.diff
Modified:
glibc-package/branches/glibc-2.5/debian/changelog
glibc-package/branches/glibc-2.5/debian/patches/series
Log:
* patches/hurd-i386/local-tls.diff: New patch (fixes building with TLS) by
Samuel Thibault and Barry deFreese. Closes: #413787.
Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog 2007-03-05 19:13:15 UTC (rev 2022)
+++ glibc-package/branches/glibc-2.5/debian/changelog 2007-03-07 13:35:42 UTC (rev 2023)
@@ -175,6 +175,10 @@
an unknown timezone in $TZ, submitted upstream as #4028.
Closes: #55648, #119540, #269238.
+ [ Michael Banck ]
+ * patches/hurd-i386/local-tls.diff: New patch (fixes building with TLS) by
+ Samuel Thibault and Barry deFreese. Closes: #413787.
+
-- Aurelien Jarno <aurel32@debian.org> Wed, 21 Feb 2007 12:09:32 +0100
glibc (2.4-1) UNRELEASED; urgency=low
Added: glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-tls.diff
===================================================================
--- glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-tls.diff 2007-03-05 19:13:15 UTC (rev 2022)
+++ glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-tls.diff 2007-03-07 13:35:42 UTC (rev 2023)
@@ -0,0 +1,25 @@
+diff -urN glibc-2.5-orig/include/errno.h glibc-2.5/include/errno.h
+--- glibc-2.5-orig/include/errno.h 2006-02-02 09:37:58.000000000 +0000
++++ glibc-2.5/include/errno.h 2007-03-04 15:53:25.000000000 +0000
+@@ -21,7 +21,7 @@
+
+ # include <tls.h> /* Defines USE_TLS. */
+
+-# if USE___THREAD
++# if USE___THREAD && !defined(__GNU__)
+ # undef errno
+ # ifndef NOT_IN_libc
+ # define errno __libc_errno
+diff -urN glibc-2.5-orig/sysdeps/mach/i386/sysdep.h glibc-2.5/sysdeps/mach/i386/sysdep.h
+--- glibc-2.5-orig/sysdeps/mach/i386/sysdep.h 2001-07-06 04:56:00.000000000 +0000
++++ glibc-2.5/sysdeps/mach/i386/sysdep.h 2007-03-01 20:23:59.000000000 +0000
+@@ -16,6 +16,9 @@
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
++#include <dl-sysdep.h>
++#include <tls.h>
++
+ #define LOSE asm volatile ("hlt")
+
+ #define SNARF_ARGS(entry_sp, argc, argv, envp) \
Modified: glibc-package/branches/glibc-2.5/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.5/debian/patches/series 2007-03-05 19:13:15 UTC (rev 2022)
+++ glibc-package/branches/glibc-2.5/debian/patches/series 2007-03-07 13:35:42 UTC (rev 2023)
@@ -60,6 +60,7 @@
hurd-i386/local-mlock.diff -p1
hurd-i386/local-msg-nosignal.diff -p0
hurd-i386/local-sigsuspend-nocancel.diff -p0
+hurd-i386/local-tls.diff -p1
hurd-i386/submitted-ioctl-decode-argument.diff -p0
hurd-i386/submitted-libc_once.diff -p0
hurd-i386/submitted-stat.diff -p0
Reply to: