[SCM] Packaging for uhexen2 branch, master, updated. debian/1.5.4+dfsg-1-1-g01832b8

gustavo panizzo gfa gfa at zumbi.com.ar
Wed Oct 3 01:07:11 UTC 2012


The following commit has been merged in the master branch:
commit 01832b816d71e2a81c06963ec2ab6bd80e390b21
Author: gustavo panizzo gfa <gfa at zumbi.com.ar>
Date:   Tue Oct 2 22:04:30 2012 -0300

    fix FTBFS on GNU/Hurd

diff --git a/debian/patches/fix-ftbfs-hurd b/debian/patches/fix-ftbfs-hurd
new file mode 100644
index 0000000..2c671a4
--- /dev/null
+++ b/debian/patches/fix-ftbfs-hurd
@@ -0,0 +1,30 @@
+Description: simple patches for GNU/Hurd
+ one of the patches adds GNU macro to a headers file
+ the other patch defines PATH_MAX
+
+Origin: vendor
+Forwarded: no
+Last-Update: <2012-10-02>
+
+--- uhexen2-1.5.4+dfsg.orig/libs/common/net_sys.h
++++ uhexen2-1.5.4+dfsg/libs/common/net_sys.h
+@@ -36,7 +36,7 @@
+     defined(__OpenBSD__) || defined(__NetBSD__)		|| \
+     defined(PLATFORM_AMIGA) /* bsdsocket.library */	|| \
+     defined(__MACOSX__)  || defined(__FreeBSD_kernel__)	|| \
+-    defined(__riscos__)
++    defined(__riscos__)  || defined(__GNU__)
+ /* struct sockaddr has unsigned char sa_len as the first member in BSD
+  * variants and the family member is also an unsigned char instead of an
+  * unsigned short. This should matter only when PLATFORM_UNIX is defined,
+--- uhexen2-1.5.4+dfsg.orig/launcher/launcher_defs.h
++++ uhexen2-1.5.4+dfsg/launcher/launcher_defs.h
+@@ -114,3 +114,8 @@ extern const char	*snd_rates[MAX_RATES];
+ 
+ #endif	/* LAUNCHER_COMMONDEFS_H */
+ 
++// Define PATH_MAX for systems that don't have it, like Hurd 
++#ifndef PATH_MAX 
++#define PATH_MAX 4096 
++#endif 
++
diff --git a/debian/patches/series b/debian/patches/series
index 0d5c11d..bac7cf5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 syntax_checking.patch
 hardening.patch
 debian-paths
+fix-ftbfs-hurd

-- 
Packaging for uhexen2



More information about the Pkg-games-commits mailing list