[SCM] Packaging for teeworlds branch, master, updated. upstream/0.6.0-20-gdb9f535

Felix Geyer debfx-pkg at fobos.de
Thu May 19 10:42:20 UTC 2011


The following commit has been merged in the master branch:
commit db9f535c768862cbdc8a0d90e7585c226f5084ab
Author: Felix Geyer <debfx-pkg at fobos.de>
Date:   Thu May 19 12:32:06 2011 +0200

    Fix FTBFS on GNU Hurd, thanks to Pino Toscano.

diff --git a/debian/changelog b/debian/changelog
index c63b6d9..8a85206 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ teeworlds (0.6.0-2) UNRELEASED; urgency=low
   * Only replace the embedded DejaVuSans.ttf when teeworlds-data is
     actually built.
   * Document the DejaVu license in debian/copyright.
+  * Fix FTBFS on GNU Hurd, thanks to Pino Toscano.
+    - Add fix-ftbfs-hurd.patch
 
  -- Felix Geyer <debfx-pkg at fobos.de>  Thu, 19 May 2011 11:29:01 +0200
 
diff --git a/debian/patches/fix-ftbfs-hurd.patch b/debian/patches/fix-ftbfs-hurd.patch
new file mode 100644
index 0000000..3b48de6
--- /dev/null
+++ b/debian/patches/fix-ftbfs-hurd.patch
@@ -0,0 +1,17 @@
+diff --git a/src/base/detect.h b/src/base/detect.h
+--- a/src/base/detect.h
++++ b/src/base/detect.h
+@@ -46,6 +46,13 @@
+ 	#define CONF_PLATFORM_STRING "linux"
+ #endif
+ 
++#if defined(__GNU__) || defined(__gnu__)
++	#define CONF_FAMILY_UNIX 1
++	#define CONF_FAMILY_STRING "unix"
++	#define CONF_PLATFORM_HURD 1
++	#define CONF_PLATFORM_STRING "gnu"
++#endif
++
+ #if defined(MACOSX) || defined(__APPLE__) || defined(__DARWIN__)
+ 	#define CONF_FAMILY_UNIX 1
+ 	#define CONF_FAMILY_STRING "unix"
diff --git a/debian/patches/series b/debian/patches/series
index 354a3de..d02778a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ set-data-dir.patch
 pass-build-flags.patch
 fix-ftbfs-kfreebsd.patch
 gcc-endianness.patch
+fix-ftbfs-hurd.patch

-- 
Packaging for teeworlds



More information about the Pkg-games-commits mailing list