[SCM] packaging for the mame arcade game emulator branch, master, updated. a9950ceb622c3e88ab53d8daa873c3efa99c67ae
Jordi Mallach
jordi at debian.org
Thu May 24 17:26:55 UTC 2012
The following commit has been merged in the master branch:
commit a9950ceb622c3e88ab53d8daa873c3efa99c67ae
Author: Jordi Mallach <jordi at debian.org>
Date: Thu May 24 19:24:25 2012 +0200
Additional fixes for the Hurd.
Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
and set to the appropriate value.
diff --git a/debian/changelog b/debian/changelog
index 9dfe7bb..dd6b932 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,11 @@ mame (0.146-1) UNRELEASED; urgency=low
* Drop patch to fix man pages section and patches to link with flac
and jpeg system lib: all this has been pushed upstream by Cesare Falco
+ [ Jordi Mallach ]
+ * Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
+ * Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
+ and set to the appropriate value.
+
-- Emmanuel Kasper <emmanuel at libera.cc> Mon, 21 May 2012 15:03:21 +0200
mame (0.145-1) unstable; urgency=low
diff --git a/debian/patches/gnu_fixes.patch b/debian/patches/gnu_fixes.patch
index 0a4fe51..1b921d6 100644
--- a/debian/patches/gnu_fixes.patch
+++ b/debian/patches/gnu_fixes.patch
@@ -1,12 +1,13 @@
Author: Jordi Mallach <jordi at debian.org>
Description: Check for GNU.
- Fix builds on hurd-i386 by checking for __GNU__.
+ Fix builds on hurd-i386 by checking for __GNU__ and adding a gnu TARGETOS
+ that defines NO_AFFINITY_NP.
Forwarded: no
-Index: mess-0.144/src/osd/sdl/sdlprefix.h
+Index: mess-0.145/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
+--- mess-0.145.orig/src/osd/sdl/sdlprefix.h 2012-05-22 01:10:19.818402982 +0200
++++ mess-0.145/src/osd/sdl/sdlprefix.h 2012-05-22 01:10:24.134403145 +0200
@@ -42,7 +42,7 @@
/* Large file support on IRIX needs _SGI_SOURCE */
#undef _POSIX_SOURCE
@@ -16,3 +17,35 @@ Index: mess-0.144/src/osd/sdl/sdlprefix.h
#define SDLMAME_LINUX 1
#elif defined(__FreeBSD__)
+Index: mess-0.145/makefile
+===================================================================
+--- mess-0.145.orig/makefile 2012-05-22 01:10:19.706402978 +0200
++++ mess-0.145/makefile 2012-05-22 01:23:19.302431871 +0200
+@@ -95,6 +95,9 @@
+ ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
+ TARGETOS = macosx
+ endif
++ifeq ($(firstword $(filter GNU,$(UNAME))),GNU)
++TARGETOS = gnu
++endif
+
+ ifndef TARGETOS
+ $(error Unable to detect TARGETOS from uname -a: $(UNAME))
+Index: mess-0.145/src/osd/sdl/sdl.mak
+===================================================================
+--- mess-0.145.orig/src/osd/sdl/sdl.mak 2012-05-22 00:57:29.000000000 +0200
++++ mess-0.145/src/osd/sdl/sdl.mak 2012-05-22 01:26:09.374438171 +0200
+@@ -201,6 +201,13 @@
+
+ endif
+
++ifeq ($(TARGETOS),gnu)
++BASE_TARGETOS = unix
++SYNC_IMPLEMENTATION = tc
++SDL_NETWORK = taptun
++DEFS += -DNO_AFFINITY_NP
++endif
++
+ ifeq ($(TARGETOS),win32)
+ BASE_TARGETOS = win32
+ SYNC_IMPLEMENTATION = win32
diff --git a/debian/rules b/debian/rules
index bed0690..e642e1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,6 @@ DEB_MAME_OPTS = \
SUBTARGET=mame \
OSD=sdl \
CROSS_BUILD_OSD= \
- TARGETOS=unix \
NOASM=1 \
PREFIX= \
SUFFIX= \
--
packaging for the mame arcade game emulator
More information about the Pkg-games-commits
mailing list