dev-java/jaxme: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Tue, 2 Aug 2016 16:21:43 +0000 (18:21 +0200)
committerMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Fri, 5 Aug 2016 16:36:49 +0000 (18:36 +0200)
dev-java/jaxme/files/jaxme-0.3.1-base64.diff [deleted file]
dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch [deleted file]

diff --git a/dev-java/jaxme/files/jaxme-0.3.1-base64.diff b/dev-java/jaxme/files/jaxme-0.3.1-base64.diff
deleted file mode 100644 (file)
index b0475f9..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
---- 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 {
diff --git a/dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch b/dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch
deleted file mode 100644 (file)
index c51a33c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -ru ws-jaxme-0.3.1/build.xml ws-jaxme-0.3.1-patched/build.xml
---- ws-jaxme-0.3.1/build.xml   2004-09-02 18:41:58.000000000 -0400
-+++ ws-jaxme-0.3.1-patched/build.xml   2005-06-26 22:59:39.000000000 -0400
-@@ -157,9 +157,8 @@
-   <target name="doc" depends="javadoc,docbook.html,forrest,replace"
-       description="Generates the documentation"/>
- 
--  <target name="javadoc" depends="init,all"
-+  <target name="javadoc" depends="init"
-       description="Generates the API documentation">
--    <delete dir="${build.apidocs}"/>
-     <mkdir dir="${build.apidocs}"/>
-     <javadoc
-                      access="protected"
-@@ -189,8 +188,8 @@
-         <pathelement location="${src.js}"/>
-         <pathelement location="${src.jm}"/>
-         <pathelement location="${src.pm}"/>
--        <pathelement location="${build.js.src}"/>
--        <pathelement location="${build.jm.src}"/>
-+        <!--pathelement location="${build.js.src}"/>
-+        <pathelement location="${build.jm.src}"/-->
-       </sourcepath>
-     </javadoc>
-   </target>
-@@ -245,6 +244,15 @@
-     <delete dir="${dist}"/>
-   </target>
- 
-+  <target name="jar">
-+
-+    <ant antfile="buildapi.xml" target="jar" inheritall="false" inheritrefs="false"/>
-+    <ant antfile="buildxs.xml" target="jar" inheritall="false" inheritrefs="false"/>
-+    <ant antfile="buildjs.xml" target="jar" inheritall="false" inheritrefs="false"/>
-+    <ant antfile="buildjm.xml" target="compile" inheritall="false" inheritrefs="false"/>
-+    <ant antfile="buildpm.xml" target="compile" inheritall="false" inheritrefs="false"/>
-+  </target>
-+
-   <target name="all">
-     <ant antfile="buildapi.xml" target="all" inheritall="false" inheritrefs="false"/>
-     <ant antfile="buildxs.xml" target="all" inheritall="false" inheritrefs="false"/>