[antelope] 01/01: Fixed a build failure with Java 9

Chris West faux-guest at moszumanska.debian.org
Tue Aug 22 18:28:08 UTC 2017


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

faux-guest pushed a commit to branch master
in repository antelope.

commit 4294bc4275cdf1aec0ec615b0e9603ee9f38a656
Author: Chris West (Faux) <git at goeswhere.com>
Date:   Tue Aug 22 19:27:18 2017 +0100

    Fixed a build failure with Java 9
---
 debian/changelog                         |  6 ++++++
 debian/patches/03_fix_javadoc_error.diff | 22 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index aa0abb0..814150c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+antelope (3.5.1-4) UNRELEASED; urgency=medium
+
+  * Fix build for Java 9: character encoding copy-paste.
+
+ -- Chris West <solo-debian at goeswhere.com>  Tue, 22 Aug 2017 19:25:59 +0100
+
 antelope (3.5.1-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/03_fix_javadoc_error.diff b/debian/patches/03_fix_javadoc_error.diff
index 9b0fc08..49b988e 100644
--- a/debian/patches/03_fix_javadoc_error.diff
+++ b/debian/patches/03_fix_javadoc_error.diff
@@ -11,3 +11,25 @@ Origin: upstream, http://antelope.tigris.org/source/browse/antelope/trunk/src/is
           operation = "divide";
        else if (op.equals("%") || op.equals("\\"))
           operation = "mod";
+--- a/build-tasks.xml
++++ b/build-tasks.xml
+@@ -187,7 +187,7 @@
+                 destdir="${doc.dir}/api"
+                 packagenames="ise.antelope.tasks"
+                 classpathref="classpathref"
+-                additionalparam="-source ${compile.source}"
++                additionalparam="-source 1.6"
+                 Private="false"
+                 Author="Dale Anson"
+                 Windowtitle="Antelope Tasks">
+--- a/src/ise/antelope/tasks/util/math/Op.java
++++ b/src/ise/antelope/tasks/util/math/Op.java
+@@ -47,7 +47,7 @@
+          operation = "subtract";
+       else if (op.equals("*") || op.equals("x"))
+          operation = "multiply";
+-      else if (op.equals("/") || op.equals( "�" ) )
++      else if (op.equals("/") || op.equals( "\u00f7" ) )
+          operation = "divide";
+       else if (op.equals("%") || op.equals("\\"))
+          operation = "mod";

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



More information about the pkg-java-commits mailing list