[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3851 - in glibc-package/trunk/debian: . patches patches/hurd-i386



Author: sthibault
Date: 2009-09-27 23:46:52 +0000 (Sun, 27 Sep 2009)
New Revision: 3851

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-SOL_IP.patch
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/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/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-09-27 23:13:33 UTC (rev 3850)
+++ glibc-package/trunk/debian/changelog	2009-09-27 23:46:52 UTC (rev 3851)
@@ -32,6 +32,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/trunk/debian/patches/hurd-i386/submitted-SOL_IP.patch
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-SOL_IP.patch	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-SOL_IP.patch	2009-09-27 23:46:52 UTC (rev 3851)
@@ -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/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2009-09-27 23:13:33 UTC (rev 3850)
+++ glibc-package/trunk/debian/patches/series	2009-09-27 23:46:52 UTC (rev 3851)
@@ -112,6 +112,7 @@
 hurd-i386/submitted-sbrk.diff
 hurd-i386/local-thread-cancel.diff
 hurd-i386/submitted-termios-IXANY.patch
+hurd-i386/submitted-SOL_IP.patch
 
 i386/local-biarch.diff
 i386/local-clone.diff


Reply to: