[xmoto] 01/01: Allow building with libode 0.13.

Stephen Kitt skitt at moszumanska.debian.org
Sat Oct 17 16:30:00 UTC 2015


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

skitt pushed a commit to branch master
in repository xmoto.

commit 61563707e927b95d76d29840cd7dcd6bcd86272f
Author: Stephen Kitt <steve at sk2.org>
Date:   Sat Oct 17 18:29:43 2015 +0200

    Allow building with libode 0.13.
---
 debian/changelog           | 6 ++++++
 debian/patches/ode13.patch | 7 +++++++
 debian/patches/series      | 1 +
 debian/rules               | 1 +
 4 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 96d8fa2..0288714 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xmoto (0.5.11+dfsg-4) UNRELEASED; urgency=medium
+
+  * Allow building with libode 0.13.
+
+ -- Stephen Kitt <skitt at debian.org>  Fri, 16 Oct 2015 23:47:53 +0200
+
 xmoto (0.5.11+dfsg-3) unstable; urgency=medium
 
   * Avoid __DATE__ and __TIME__ to build reproducibly.
diff --git a/debian/patches/ode13.patch b/debian/patches/ode13.patch
new file mode 100644
index 0000000..2e58aae
--- /dev/null
+++ b/debian/patches/ode13.patch
@@ -0,0 +1,7 @@
+--- a/src/include/xm_ode.h
++++ b/src/include/xm_ode.h
+@@ -1,3 +1,4 @@
++#define dDOUBLE
+ #if defined(WIN32)
+   #include "ode/ode.h"
+ #else
diff --git a/debian/patches/series b/debian/patches/series
index 55d8c53..bad9d89 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ gcc-4.7-fixes.patch
 sa_restorer-removal.patch
 utf8.patch
 reproducible.patch
+ode13.patch
diff --git a/debian/rules b/debian/rules
index 1ece433..b224143 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
+	rm -rf src/ode
 	dh_auto_configure -- \
 		--prefix=/usr \
 		--bindir=\$${prefix}/games \

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



More information about the Pkg-games-commits mailing list