summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jaxme/files/jaxme-0.3.1-base64.diff')
-rw-r--r--dev-java/jaxme/files/jaxme-0.3.1-base64.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jaxme/files/jaxme-0.3.1-base64.diff b/dev-java/jaxme/files/jaxme-0.3.1-base64.diff
new file mode 100644
index 000000000000..b0475f9cb900
--- /dev/null
+++ b/dev-java/jaxme/files/jaxme-0.3.1-base64.diff
@@ -0,0 +1,36 @@
+--- ws-jaxme-0.3.1/buildjm.xml.orig 2006-07-30 18:46:21.000000000 +0200
++++ ws-jaxme-0.3.1/buildjm.xml 2006-07-30 19:04:24.000000000 +0200
+@@ -54,6 +54,7 @@
+ <pathelement location="${preqs}/ant.jar"/>
+ <pathelement location="${preqs}/xml-apis.jar"/>
+ <pathelement location="${preqs}/xercesImpl.jar"/>
++ <pathelement location="${preqs}/gnu-crypto.jar"/>
+ </path>
+
+ <path id="jaxme.runtime.path">
+--- ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java.orig 2006-07-30 18:49:11.000000000 +0200
++++ ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java 2006-07-30 19:02:54.000000000 +0200
+@@ -18,8 +18,7 @@
+
+ import java.io.IOException;
+
+-import sun.misc.BASE64Decoder;
+-import sun.misc.BASE64Encoder;
++import gnu.crypto.util.Base64;
+
+
+ /**
+@@ -33,11 +32,11 @@
+ }
+
+ public static byte[] decode(String pValue) throws IOException {
+- return (new BASE64Decoder()).decodeBuffer(pValue);
++ return Base64.decode(pValue);
+ }
+
+ public static String encode(byte[] pValue) {
+- return (new BASE64Encoder()).encode(pValue);
++ return Base64.encode(pValue);
+ }
+
+ public static void main(String[] args) throws Exception {