r10830 - in packages/trunk/nettoe/debian: . patches

Mats Erik Andersson meand-guest at alioth.debian.org
Thu Mar 11 21:49:46 UTC 2010


Author: meand-guest
Date: 2010-03-11 21:49:45 +0000 (Thu, 11 Mar 2010)
New Revision: 10830

Added:
   packages/trunk/nettoe/debian/patches/
   packages/trunk/nettoe/debian/patches/01-listen_socket.diff
   packages/trunk/nettoe/debian/patches/series
Modified:
   packages/trunk/nettoe/debian/changelog
Log:
Small patching on upstream source as workaround.


Modified: packages/trunk/nettoe/debian/changelog
===================================================================
--- packages/trunk/nettoe/debian/changelog	2010-03-11 20:34:49 UTC (rev 10829)
+++ packages/trunk/nettoe/debian/changelog	2010-03-11 21:49:45 UTC (rev 10830)
@@ -1,5 +1,12 @@
-nettoe (1.3.1-1) unstable; urgency=low
+nettoe (1.3.1-2) unstable; urgency=low
 
+  * debian/patches/01-listen_socket.diff: New file.
+    + Workaround for different behaviour for glibc-2.7 and eglibc-2.10.
+
+ -- Mats Erik Andersson <mats.andersson at gisladisker.se>  Thu, 11 Mar 2010 21:17:33 +0100
+
+nettoe (1.3.1-1) UNRELEASED; urgency=low
+
   * New upstream release.
     + IPv6-able code, input sanitation.
   * Source format "3.0 (quilt)".

Added: packages/trunk/nettoe/debian/patches/01-listen_socket.diff
===================================================================
--- packages/trunk/nettoe/debian/patches/01-listen_socket.diff	                        (rev 0)
+++ packages/trunk/nettoe/debian/patches/01-listen_socket.diff	2010-03-11 21:49:45 UTC (rev 10830)
@@ -0,0 +1,24 @@
+Description: Workaround for inconsistent address family detection.
+ The implementation of getaddrinfo() found in eglibc-2.10 is not
+ behaving the same way glibc-2.7 did.
+ .
+ The address families of the wildcard addresses returned by getaddrinfo()
+ come in differrent order for glibc-2.7 and eglibc-2.10 when AF_UNSPEC
+ is specified.
+ .
+ The workaround is to use AF_INET6.
+Author: Mats Erik Andersson <debian at gisladisker.se>
+Forwarded: no
+Last-Update: 2010-03-11
+diff -Naurp nettoe-1.3.1.orig/src/network.c nettoe-1.3.1/src/network.c
+--- nettoe-1.3.1.orig/src/network.c
++++ nettoe-1.3.1/src/network.c
+@@ -37,7 +37,7 @@ int establish_listening_socket(unsigned 
+ 	int status;
+ 
+ 	memset(&hints, 0, sizeof(hints));
+-	hints.ai_family = AF_UNSPEC;
++	hints.ai_family = AF_INET6;
+ 	hints.ai_socktype = SOCK_STREAM;
+ #if __OpenBSD__
+ 	hints.ai_flags = AI_PASSIVE;

Added: packages/trunk/nettoe/debian/patches/series
===================================================================
--- packages/trunk/nettoe/debian/patches/series	                        (rev 0)
+++ packages/trunk/nettoe/debian/patches/series	2010-03-11 21:49:45 UTC (rev 10830)
@@ -0,0 +1 @@
+01-listen_socket.diff




More information about the Pkg-games-commits mailing list