[med-svn] [imagej] 01/01: d/patches/specify-javac-encoding.patch: fix unmappable character for enconding ASCII
Carnë Draug
carandraug+dev at gmail.com
Sun Aug 13 03:50:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
carandraug-guest pushed a commit to branch master
in repository imagej.
commit dbed283076558a0dff3c99838a82455a9a15c972
Author: Carnë Draug <carandraug+dev at gmail.com>
Date: Sun Aug 13 04:49:41 2017 +0100
d/patches/specify-javac-encoding.patch: fix unmappable character for enconding ASCII
---
debian/patches/series | 1 +
debian/patches/specify-javac-encoding.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 11b66c7..53f8ab4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
exclude-quilt-from-ant.patch
drop-mac-plugins.patch
+specify-javac-encoding.patch
diff --git a/debian/patches/specify-javac-encoding.patch b/debian/patches/specify-javac-encoding.patch
new file mode 100644
index 0000000..398fc9e
--- /dev/null
+++ b/debian/patches/specify-javac-encoding.patch
@@ -0,0 +1,18 @@
+Description: specify file encoding for java compiler
+ The file ij/process/AutoThresholder.java has some weird whitespace
+ characters and so the encoding needs to be specified.
+Author: Carnë Draug <carandraug+dev at gmail.com>
+Last-Update: 2017-08-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/build.xml
++++ b/build.xml
+@@ -6,7 +6,7 @@
+ <!-- First, ensure the build directory exists. -->
+ <mkdir dir="build" />
+ <!-- Build everything; add debug="on" to debug -->
+- <javac srcdir="." destdir="build" optimize="on" source="1.5" target="1.5" debug="on" includeantruntime="false">
++ <javac srcdir="." destdir="build" optimize="on" source="1.5" target="1.5" debug="on" includeantruntime="false" encoding="utf-8">
+ <!-- The plugins directory only needs to be
+ present at runtime, not at build time. -->
+ <exclude name="plugins/**"/>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/imagej.git
More information about the debian-med-commit
mailing list