Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add patch for 32-bit builds (Closes: #904754)
· 95ed4c96
Tony Mancill
authored
Jan 06, 2019
95ed4c96
prepare changelog for upload to unstable
· e257f23e
Tony Mancill
authored
Jan 06, 2019
e257f23e
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
e257f23e
swt4-gtk (4.10.0-3) unstable; urgency=medium
* Team upload.
* Patch build system to respect DEB_HOST_ARCH_BITS value passed to it.
Fixes runtime problem with 32-bit builds. (Closes: #904754)
-- tony mancill <tmancill@debian.org> Sun, 06 Jan 2019 20:59:52 -0800
swt4-gtk (4.10.0-2) unstable; urgency=medium
* Team upload.
...
...
debian/patches/0004-Use-is64-defined-for-build.patch
0 → 100644
View file @
e257f23e
From: tony mancill <tmancill@debian.org>
Subject: Use the value of is64 defined by the build
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904754
--- a/bundles/org.eclipse.swt/buildFragment.xml
+++ b/bundles/org.eclipse.swt/buildFragment.xml
@@ -234,20 +234,10 @@
</target>
<target name="is64">
- <condition property="is64" value="true">
- <or>
- <equals arg1="${swt.arch}" arg2="x86_64"/>
- <equals arg1="${swt.arch}" arg2="ia64"/>
- <equals arg1="${swt.arch}" arg2="ppc64le"/>
- <equals arg1="${swt.arch}" arg2="s390x"/>
- <equals arg1="${swt.arch}" arg2="sparcv9"/>
- <equals arg1="${swt.arch}" arg2="aarch64"/>
- </or>
- </condition>
<echo>Is64=${is64}</echo>
</target>
- <target name="replace64" depends="is64" unless="is64">
+ <target name="replace64" depends="is64" unless="${is64}">
<echo>Converting java files to 32 bit</echo>
<replace dir="${copy.src.dir}" includes="**/*.java" value="int /*long*/" token="long /*int*/"/>
<replace dir="${copy.src.dir}" includes="**/*.java" value="int[] /*long[]*/" token="long[] /*int[]*/"/>
debian/patches/series
View file @
e257f23e
01-make_linux.patch
search-usr-lib-jni.diff
0003-Set-javac-release-to-7-for-JDK-1.10-compatibility.patch
0004-Use-is64-defined-for-build.patch