Package: libstax-java / 1.2.0-4

encoding.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From: Markus Koschany <apo@debian.org>
Date: Wed, 4 Apr 2018 00:10:13 +0200
Subject: encoding

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893289
Forwarded: no
---
 build.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 30b8975..8aa91ad 100644
--- a/build.xml
+++ b/build.xml
@@ -74,6 +74,7 @@
       source="1.4" target="1.4"
       includes="${api_dirs}"
       destdir="${class_dir}"
+      encoding="iso-8859-1"
       debug="true">
       <classpath>
         <pathelement path="${java.class.path}"/>
@@ -108,6 +109,7 @@
       source="1.4" target="1.4"
       includes="${topdirs}"
       destdir="${class_dir}"
+      encoding="iso-8859-1"
       debug="true">
       <classpath>
         <pathelement path="${java.class.path}"/>
@@ -119,7 +121,7 @@
   <target name="samples" depends="compile">
     <!--javac srcdir="${src}:${api_src_dir}"-->
     <javac srcdir="${src}" source="1.4" target="1.4"
-      destdir="${class_dir}" debug="true">
+      destdir="${class_dir}" encoding="iso-8859-1" debug="true">
       <include name="samples/*.java" />
       <classpath>
         <pathelement path="${java.class.path}"/>
@@ -139,6 +141,7 @@
     <javac srcdir="${src}" includes="org/codehaus/stax/test/**/*.java"
       source="1.4" target="1.4"
       destdir="${test_class_dir}"
+      encoding="iso-8859-1"
       debug="true">
       <classpath>
         <pathelement path="${class_dir}" />