[latexdraw] 35/147: * change to utf8 not UTF-8 as the encoding option * use "-client" for compilation to work around sigsegv from javac

Stuart Prescott stuart at debian.org
Thu Nov 24 23:53:23 UTC 2016


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

stuart pushed a commit to branch master
in repository latexdraw.

commit b090ada52dbe2d34796632c004730a8a9041b36a
Author: Stuart Prescott <stuart at debian.org>
Date:   Tue Jul 15 23:27:42 2008 +0000

    * change to utf8 not UTF-8 as the encoding option
    * use "-client" for compilation to work around sigsegv from javac
---
 build.xml    | 2 +-
 debian/rules | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 4331aed..3e4f322 100644
--- a/build.xml
+++ b/build.xml
@@ -19,7 +19,7 @@
 	</target>
 		
 	<target name="compile">
-		<javac srcdir="latexDraw" destdir="" classpathref="classpathlib" debug="on" encoding="UTF-8" />
+		<javac srcdir="latexDraw" destdir="" classpathref="classpathlib" debug="on" encoding="utf8" />
 	</target>
 		
 	<target name="junit" description="Launches the junit tests." depends="junit check">
diff --git a/debian/rules b/debian/rules
index ec781e8..8bf153e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,8 @@ build: build-stamp
 
 build-stamp: configure-stamp 
 	dh_testdir
-	ant -Dlib.dir=/usr/share/java jar
+	# pass the -client option to the jvm to prevent a FTBFS with openjdk
+	ANT_OPTS="-client" ant -Dlib.dir=/usr/share/java jar
 	convert -geometry 32x32 res/LaTeXDrawIcon.png out/latexdraw32.xpm
 	convert -geometry 16x16 res/LaTeXDrawIcon.png out/latexdraw16.xpm
 	touch $@

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



More information about the pkg-java-commits mailing list