[wxmupen64plus] 41/71: Disable in-tree mupen64plus-core version check

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:23:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch experimental
in repository wxmupen64plus.

commit 397bbf16a1e8548c841b8effa332f503f1ac7e27
Author: Sven Eckelmann <sven at narfation.org>
Date:   Mon May 7 21:58:42 2012 +0200

    Disable in-tree mupen64plus-core version check
---
 debian/changelog                   |  3 ++-
 debian/patches/series              |  1 +
 debian/patches/version_check.patch | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 38c8c4f..9914664 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 wxmupen64plus (0.3-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #637771)
-  * Update copyright years in debian/copyright
+  * debian/patches:
+    - Add version_check.patch, Disable in-tree mupen64plus-core version check
 
  -- Sven Eckelmann <sven at narfation.org>  Mon, 17 Aug 2009 10:18:49 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3e6f37a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+version_check.patch
diff --git a/debian/patches/version_check.patch b/debian/patches/version_check.patch
new file mode 100644
index 0000000..5381e7e
--- /dev/null
+++ b/debian/patches/version_check.patch
@@ -0,0 +1,36 @@
+Description: Disable in-tree mupen64plus-core version check
+Author; Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/wscript b/wscript
+index 1789cc1af49a091b770736c0ac9268e259522606..26645efd95b5ea31649e627d553215a151242f03 100644
+--- a/wscript
++++ b/wscript
+@@ -90,7 +90,6 @@ def configure(ctx):
+     ctx.check_cc(header_name="m64p_frontend.h",   includes=[api_path])
+     ctx.check_cc(header_name="m64p_config.h",     includes=[api_path])
+     ctx.check_cc(header_name="m64p_types.h",      includes=[api_path])
+-    ctx.check_cc(header_name="../main/version.h", includes=[api_path])
+ 
+     ctx.check_cfg(path=sdl_config, args='--cflags --libs',   package='', uselib_store='SDL')
+     
+@@ -101,19 +100,6 @@ def configure(ctx):
+     else:
+         ctx.check_cfg(msg="Checking for wxWidgets 2.9.x", path=wx_config,  args='--version=2.9 --cxxflags --libs core,base,gl,html ' + wxconfig_args, package='', uselib_store='wxWidgets')
+ 
+-    ctx.check_cc(compile_filename='test.c', execute=False, cflags=["-I"+api_path], msg="Checking mupen64plus is recent enough...", fragment=
+-"""#include "../main/version.h"
+-   #if FRONTEND_API_VERSION < 0x020001
+-   #error Your mupen64plus build is too old, please upgrade
+-   #endif
+-   #if CONFIG_API_VERSION < 0x020000
+-   #error Your mupen64plus build is too old, please upgrade
+-   #endif
+-   #if VIDEXT_API_VERSION < 0x020000
+-   #error Your mupen64plus build is too old, please upgrade
+-   #endif
+-   int main(int argc, char** argv) {}""")
+-
+ # --------------------------------------------------------------------------------------------
+ #                                            BUILD
+ # --------------------------------------------------------------------------------------------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/wxmupen64plus.git



More information about the Pkg-games-commits mailing list