r3852 - in glibc-package/branches/eglibc-2.10/debian: . patches patches/hurd-i386
Author: sthibault
Date: 2009-09-27 23:47:59 +0000 (Sun, 27 Sep 2009)
New Revision: 3852
Added:
glibc-package/branches/eglibc-2.10/debian/patches/hurd-i386/submitted-SOL_IP.patch
Modified:
glibc-package/branches/eglibc-2.10/debian/changelog
glibc-package/branches/eglibc-2.10/debian/patches/series
Log:
* debian/patches/hurd-i386/submitted-SOL_IP.patch: New patch to add SOL_IP
definition, to fix directfb build.
Modified: glibc-package/branches/eglibc-2.10/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/changelog 2009-09-27 23:46:52 UTC (rev 3851)
+++ glibc-package/branches/eglibc-2.10/debian/changelog 2009-09-27 23:47:59 UTC (rev 3852)
@@ -160,6 +160,8 @@
crash.
* debian/patches/hurd-i386/submitted-termios-IXANY.patch: New patch to
define IXANY in XOpen environment too, to fix libgphoto2 build.
+ * debian/patches/hurd-i386/submitted-SOL_IP.patch: New patch to add SOL_IP
+ definition, to fix directfb build.
[ Petr Salinger ]
* kfreebsd/local-sysdeps.diff: update to revision 2779 (from glibc-bsd).
Added: glibc-package/branches/eglibc-2.10/debian/patches/hurd-i386/submitted-SOL_IP.patch
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/hurd-i386/submitted-SOL_IP.patch (rev 0)
+++ glibc-package/branches/eglibc-2.10/debian/patches/hurd-i386/submitted-SOL_IP.patch 2009-09-27 23:47:59 UTC (rev 3852)
@@ -0,0 +1,29 @@
+2009-09-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
+
+diff --git a/bits/in.h b/bits/in.h
+index 4687a29..4b22e92 100644
+--- a/bits/in.h
++++ b/bits/in.h
+@@ -22,6 +22,9 @@
+ # error "Never use <bits/in.h> directly; include <netinet/in.h> instead."
+ #endif
+
++/* To select the IP level. */
++#define SOL_IP 0
++
+ /* Options for use with `getsockopt' and `setsockopt' at the IP level.
+ The first word in the comment at the right is the data type used;
+ "bool" means a boolean value stored in an `int'. */
+@@ -48,6 +51,10 @@ struct ip_opts
+ char ip_opts[40]; /* Actually variable in size. */
+ };
+
++/* Socket level values for IPv6. */
++#define SOL_IPV6 41
++#define SOL_ICMPV6 58
++
+ /* IPV6 socket options. */
+ #define IPV6_ADDRFORM 1
+ #define IPV6_RXINFO 2
Modified: glibc-package/branches/eglibc-2.10/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/series 2009-09-27 23:46:52 UTC (rev 3851)
+++ glibc-package/branches/eglibc-2.10/debian/patches/series 2009-09-27 23:47:59 UTC (rev 3852)
@@ -103,6 +103,7 @@
hurd-i386/submitted-sbrk.diff
hurd-i386/local-thread-cancel.diff
hurd-i386/submitted-termios-IXANY.patch
+hurd-i386/submitted-SOL_IP.patch
ia64/submitted-sysconf.diff
ia64/submitted-libm.diff
Reply to: