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 <[email protected]>
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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to