[css2xslfo] 01/02: Set source/target language versions.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sat Sep 13 12:30:36 UTC 2014


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

mithrandi pushed a commit to branch master
in repository css2xslfo.

commit 9b99e4912d10d3c4ce8380c4b1d87fbbcb7af2fd
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Sat Mar 29 14:56:40 2014 +0200

    Set source/target language versions.
---
 debian/patches/05-set-java-version.patch | 19 +++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/05-set-java-version.patch b/debian/patches/05-set-java-version.patch
new file mode 100644
index 0000000..c8ff214
--- /dev/null
+++ b/debian/patches/05-set-java-version.patch
@@ -0,0 +1,19 @@
+Description: Set source/target to avoid generating Java 5 code
+Author: Tristan Seligmann <mithrandi at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-03-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: css2xslfo/build.xml
+===================================================================
+--- css2xslfo.orig/build.xml	2014-03-29 14:52:53.128100766 +0200
++++ css2xslfo/build.xml	2014-03-29 14:55:32.394426241 +0200
+@@ -40,7 +40,7 @@
+   </target>
+ 
+   <target name="compile-css2xslfo" depends="init">
+-    <javac debug="on" debuglevel="lines,vars,source" srcdir="src:lib_src/sac:lib_src/flute" destdir="classes" encoding="UTF-8">
++    <javac debug="on" debuglevel="lines,vars,source" srcdir="src:lib_src/sac:lib_src/flute" destdir="classes" encoding="UTF-8" source="1.6" target="1.6">
+       <classpath>
+         <fileset refid="compile-classpath" />
+       </classpath>
diff --git a/debian/patches/series b/debian/patches/series
index 6b2e09d..0d38601 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-build-modified-libs.patch
 03-set-source-encoding.patch
 04-remove-version-number.patch
+05-set-java-version.patch

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



More information about the pkg-java-commits mailing list