r1961 - in glibc-package/branches/glibc-2.5/debian: . patches patches/hurd-i386
Author: aurel32
Date: 2007-02-08 21:13:44 +0100 (Thu, 08 Feb 2007)
New Revision: 1961
Added:
glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-msg-nosignal.diff
Modified:
glibc-package/branches/glibc-2.5/debian/changelog
glibc-package/branches/glibc-2.5/debian/patches/series
Log:
* hurd-i386/local-msg-nosignal.diff: new patch from Thomas Schwinge
(workaround the missing MSG_NOSIGNAL support).
Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog 2007-02-08 20:01:04 UTC (rev 1960)
+++ glibc-package/branches/glibc-2.5/debian/changelog 2007-02-08 20:13:44 UTC (rev 1961)
@@ -106,6 +106,8 @@
struct stat on Hurd).
* hurd-i386/submitted-libc_once.diff: new patch from Thomas Schwinge (add
__libc_once_else to make glibc buildable on Hurd).
+ * hurd-i386/local-msg-nosignal.diff: new patch from Thomas Schwinge
+ (workaround the missing MSG_NOSIGNAL support).
[ Denis Barbier ]
* Remove localedata/locale-en_NZ.diff (merged upstream).
Added: glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-msg-nosignal.diff
===================================================================
--- glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-msg-nosignal.diff 2007-02-08 20:01:04 UTC (rev 1960)
+++ glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/local-msg-nosignal.diff 2007-02-08 20:13:44 UTC (rev 1961)
@@ -0,0 +1,22 @@
+This is not a proper fix, but a workaround that is needed on HEAD. (Have
+to check glibc-2_5-branch.) Reported on
+<http://savannah.gnu.org/bugs/?18218>.
+
+Index: resolv/res_send.c
+===================================================================
+RCS file: /cvs/glibc/libc/resolv/res_send.c,v
+retrieving revision 1.49
+diff -u -p -r1.49 res_send.c
+--- resolv/res_send.c 6 May 2006 17:35:50 -0000 1.49
++++ resolv/res_send.c 7 Feb 2007 13:23:45 -0000
+@@ -102,6 +102,10 @@ static const char rcsid[] = "$BINDId: re
+ #define MAXPACKET 65536
+ #endif
+
++#ifndef MSG_NOSIGNAL
++# define MSG_NOSIGNAL 0
++#endif
++
+
+ /* From ev_streams.c. */
+
Modified: glibc-package/branches/glibc-2.5/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.5/debian/patches/series 2007-02-08 20:01:04 UTC (rev 1960)
+++ glibc-package/branches/glibc-2.5/debian/patches/series 2007-02-08 20:13:44 UTC (rev 1961)
@@ -59,6 +59,7 @@
hurd-i386/cvs-getsid.diff -p1
hurd-i386/local-enable-ldconfig.diff -p1
hurd-i386/local-mlock.diff -p1
+hurd-i386/local-msg-nosignal.diff -p0
hurd-i386/submitted-ioctl-decode-argument.diff -p0
hurd-i386/submitted-libc_once.diff -p0
hurd-i386/submitted-stat.diff -p0
Reply to: