r4211 - in packages/trunk/enet/debian: . patches

Gonéri Le Bouder goneri-guest at alioth.debian.org
Sun Sep 16 20:58:58 UTC 2007


Author: goneri-guest
Date: 2007-09-16 20:58:58 +0000 (Sun, 16 Sep 2007)
New Revision: 4211

Added:
   packages/trunk/enet/debian/patches/kfreebsd.diff
Modified:
   packages/trunk/enet/debian/changelog
   packages/trunk/enet/debian/control
   packages/trunk/enet/debian/patches/series
Log:
add kfreebsd.diff (Closes: #414348)


Modified: packages/trunk/enet/debian/changelog
===================================================================
--- packages/trunk/enet/debian/changelog	2007-09-16 20:44:36 UTC (rev 4210)
+++ packages/trunk/enet/debian/changelog	2007-09-16 20:58:58 UTC (rev 4211)
@@ -1,12 +1,19 @@
+enet (1.1-2) unstable; urgency=low
+
+  * add kfreebsd.diff (Closes: #414348)
+   - add a builddep on quilt
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sun, 16 Sep 2007 23:12:07 +0200
+
 enet (1.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #414348)
-  * update the homesite url in descriptions (Closes: #432202) 
+  * update the homesite url in descriptions (Closes: #432202)
   * do not ignore make clean return anymore
   * update the copyright file
   * add a watchfile
 
- -- Gonéri Le Bouder <goneri at rulezlan.org>  Wed, 11 Jul 2007 08:10:45 +0000
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sun, 16 Sep 2007 23:10:58 +0200
 
 enet (1.0-4) unstable; urgency=low
 

Modified: packages/trunk/enet/debian/control
===================================================================
--- packages/trunk/enet/debian/control	2007-09-16 20:44:36 UTC (rev 4210)
+++ packages/trunk/enet/debian/control	2007-09-16 20:58:58 UTC (rev 4211)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Gonéri Le Bouder <goneri at rulezlan.org> 
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt
 Standards-Version: 3.7.2
 XS-Vcs-Svn: ssh://svn.debian.org/svn/pkg-games/packages/trunk/enet/
 

Added: packages/trunk/enet/debian/patches/kfreebsd.diff
===================================================================
--- packages/trunk/enet/debian/patches/kfreebsd.diff	                        (rev 0)
+++ packages/trunk/enet/debian/patches/kfreebsd.diff	2007-09-16 20:58:58 UTC (rev 4211)
@@ -0,0 +1,22 @@
+Index: enet-1.1/unix.c
+===================================================================
+--- enet-1.1.orig/unix.c	2007-09-16 21:12:45.000000000 +0000
++++ enet-1.1/unix.c	2007-09-16 21:13:52.000000000 +0000
+@@ -80,7 +80,7 @@
+     char buffer [2048];
+     int errnum;
+ 
+-#if defined(linux) || defined(__FreeBSD__)
++#if defined(linux) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+     gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum);
+ #else
+     hostEntry = gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & errnum);
+@@ -133,7 +133,7 @@
+ 
+     in.s_addr = address -> host;
+ 
+-#if defined(linux) || defined(__FreeBSD__)
++#if defined(linux) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+     gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum);
+ #else
+     hostEntry = gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & errnum);

Modified: packages/trunk/enet/debian/patches/series
===================================================================
--- packages/trunk/enet/debian/patches/series	2007-09-16 20:44:36 UTC (rev 4210)
+++ packages/trunk/enet/debian/patches/series	2007-09-16 20:58:58 UTC (rev 4211)
@@ -0,0 +1 @@
+kfreebsd.diff




More information about the Pkg-games-commits mailing list