[SCM] packaging for the mame arcade game emulator branch, master, updated. 733f06d81b117837a5fd10308c15e23c3b5603fc

Jordi Mallach jordi at debian.org
Wed Jan 18 11:43:28 UTC 2012


The following commit has been merged in the master branch:
commit bb00ab52364c5266132efa891fa43a9062cbe456
Author: Jordi Mallach <jordi at debian.org>
Date:   Sun Jan 15 23:16:29 2012 +0100

    gnu_fixes.patch: Add a check for __GNU__ to fix builds on the Hurd.

diff --git a/debian/changelog b/debian/changelog
index a7fd6c9..c780546 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mame (0.144-2) UNRELEASED; urgency=low
+
+  * gnu_fixes.patch: Add a check for __GNU__ to fix builds on the Hurd.
+
+ -- Jordi Mallach <jordi at debian.org>  Sun, 15 Jan 2012 23:14:16 +0100
+
 mame (0.144-1) unstable; urgency=low
 
   [ Jordi Mallach ]
diff --git a/debian/patches/gnu_fixes.patch b/debian/patches/gnu_fixes.patch
new file mode 100644
index 0000000..0a4fe51
--- /dev/null
+++ b/debian/patches/gnu_fixes.patch
@@ -0,0 +1,18 @@
+Author: Jordi Mallach <jordi at debian.org>
+Description: Check for GNU.
+ Fix builds on hurd-i386 by checking for __GNU__.
+Forwarded: no
+
+Index: mess-0.144/src/osd/sdl/sdlprefix.h
+===================================================================
+--- mess-0.144.orig/src/osd/sdl/sdlprefix.h	2012-01-15 23:05:38.165375833 +0100
++++ mess-0.144/src/osd/sdl/sdlprefix.h	2012-01-15 23:05:57.725376275 +0100
+@@ -42,7 +42,7 @@
+ /* Large file support on IRIX needs _SGI_SOURCE */
+ #undef _POSIX_SOURCE
+ 
+-#elif defined(__linux__) || defined(__FreeBSD_kernel__)
++#elif defined(__linux__) || defined(__GNU__) || defined(__FreeBSD_kernel__)
+ #define SDLMAME_LINUX 1
+ 
+ #elif defined(__FreeBSD__)
diff --git a/debian/patches/series b/debian/patches/series
index c3ae2fb..7a660af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 nplayers.ini.patch
 fix_mame_manpage_section.patch
+gnu_fixes.patch

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list