[lwjgl] 01/03: add patch for 807420 - FTBFS on ppc64el
Tony Mancill
tmancill at moszumanska.debian.org
Thu Dec 10 02:40:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository lwjgl.
commit 83cc43db690e0ff35b9a46666d0f73e4824bd95e
Author: tony mancill <tmancill at debian.org>
Date: Tue Dec 8 22:44:41 2015 -0800
add patch for 807420 - FTBFS on ppc64el
---
debian/changelog | 8 ++++++++
debian/patches/ppc64el.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e2daed6..187db12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+lwjgl (2.7.1+dfsg-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/patches/ppc64el.patch: patch adds cflag -mcpu=powerpc
+ when on target compiledeb on ppc64le, to fix ftbfs on ppc64el
+
+ -- Fernando Seiti Furusato <ferseiti at br.ibm.com> Tue, 08 Dec 2015 10:57:30 -0500
+
lwjgl (2.7.1+dfsg-4) unstable; urgency=low
* Update packaging standards.
diff --git a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch
new file mode 100644
index 0000000..65c6fd8
--- /dev/null
+++ b/debian/patches/ppc64el.patch
@@ -0,0 +1,24 @@
+Index: lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml
+===================================================================
+--- lwjgl-2.7.1+dfsg.orig/platform_build/linux_ant/build.xml
++++ lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml
+@@ -23,6 +23,10 @@
+ <exec executable="uname" outputproperty="hwplatform">
+ <arg value="-m"/>
+ </exec>
++ <condition property="cflags_ppc64le" value="-mcpu=powerpc -m64" else="">
++ <os arch="ppc64le"/>
++ </condition>
++ <echo message="value of arch is ${os.arch} the value of hwplatform is ${hwplatform} and cflags32 ${cflags32}" />
+ <condition property="xf86vm_lib" value="-lXxf86vm" else="-Wl,-static,-lXxf86vm,-call_shared">
+ <os name="SunOS" />
+ </condition>
+@@ -124,7 +128,7 @@
+ <target name="compiledeb">
+ <mkdir dir="deb"/>
+ <apply dir="deb" executable="gcc" skipemptyfilesets="true" failonerror="true">
+- <arg line="${cflags32} ${cflags_pthread}"/>
++ <arg line="${cflags32} ${cflags_pthread} ${cflags_ppc64le}"/>
+ <arg value="-I${java.home}/include"/>
+ <arg value="-I${java.home}/include/linux"/>
+ <arg value="-I${java.home}/../include"/>
diff --git a/debian/patches/series b/debian/patches/series
index a8e2150..fee2916 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ nomacosx.patch
allarchs.patch
systemjinput.patch
javadoc.patch
+ppc64el.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lwjgl.git
More information about the pkg-java-commits
mailing list