[SCM] multi-platform emulator, including NES, GB/A, Lynx, PC Engine branch, master-experimental, updated. debian/0.8.D.3-1-31-g5df3aa8

Stephen Kitt steve at sk2.org
Sat Nov 12 10:24:19 UTC 2011


The following commit has been merged in the master-experimental branch:
commit 0316c8f4d562d13d186790a00983c3704c57ce31
Author: Stephen Kitt <steve at sk2.org>
Date:   Thu Nov 10 08:14:44 2011 +0100

    Enable PSX only on little-endian systems.

diff --git a/debian/changelog b/debian/changelog
index ecc7447..5db9563 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mednafen (0.9.18-1) experimental; urgency=low
 
-  * New upstream WIP version, adding PSX emulation.
+  * New upstream WIP version, adding PSX emulation (only on little-endian
+    systems).
   * Update copyright information.
   * Refresh use-system-tremor.patch and use dh-autoreconf to handle all
     the autotools reconfiguration involved.
diff --git a/debian/patches/psx-big-endian-only.patch b/debian/patches/psx-big-endian-only.patch
new file mode 100644
index 0000000..08a6056
--- /dev/null
+++ b/debian/patches/psx-big-endian-only.patch
@@ -0,0 +1,18 @@
+--- mednafen.orig/configure.ac
++++ mednafen/configure.ac
+@@ -246,9 +246,12 @@
+ 		AM_CONDITIONAL(WANT_PCFX_EMU, true)
+ fi
+ 
+-AC_ARG_ENABLE(psx,
+- AC_HELP_STRING([--enable-psx], [build with PlayStation emulation [[default=no]]]),
+-                  , enable_psx=no)
++dnl PlayStation only on little-endian systems for now
++AC_C_BIGENDIAN([enable_psx=no], [
++ AC_ARG_ENABLE(psx,
++  AC_HELP_STRING([--enable-psx], [build with PlayStation emulation (little-endian systems only) [[default=no]]]),
++                   , enable_psx=no)
++])
+ 
+ if test x$enable_psx = xyes; then
+                 AC_DEFINE([WANT_PSX_EMU], [1], [Define if we are compiling with PlayStation emulation.])
diff --git a/debian/patches/series b/debian/patches/series
index 762d936..33acf2d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-system-tremor.patch
 hardening-fixes.patch
+psx-big-endian-only.patch

-- 
multi-platform emulator, including NES, GB/A, Lynx, PC Engine



More information about the Pkg-games-commits mailing list