File jna-3.4.0-build.patch of Package libjnidispatch

Index: twall-jna-3e5b84f/build.xml
===================================================================
--- twall-jna-3e5b84f.orig/build.xml	2011-11-26 14:17:49.000000000 +0100
+++ twall-jna-3e5b84f/build.xml	2012-06-19 11:13:50.823183196 +0200
@@ -188,7 +188,7 @@
   <target name="-setup" depends="-dynamic-properties">
     <path id="compile-test.path">
       <path id="test.libs">
-        <fileset dir="lib">
+          <fileset dir="/usr/share/java">
           <include name="junit.jar"/>   
         </fileset>
         <pathelement path="${classes}"/>
@@ -228,7 +228,7 @@
       </srcfiles>
     </uptodate>
   </target>
-  <target name="jar" depends="-setup,native,:jar" unless="-jar"
+  <target name="jar" depends="-setup,:jar" unless="-jar"
           description="Build primary jar">
     <jar jarfile="${build}/${jar}">
       <manifest>
@@ -470,7 +470,7 @@
     </jar>
   </target>
 
-  <target name="compile-tests" depends="compile,native,jar" 
+  <target name="compile-tests" depends="compile,jar" 
   	description="Compile all test code">
     <javac classpathref="compile-test.path"
            source="${test.compatibility}"
@@ -491,8 +491,6 @@
     <mkdir dir="${build}/jws"/>
     <copy todir="${build}/jws" file="${build}/${jar}"/>
     <copy todir="${build}/jws" file="${build}/${testjar}"/>
-    <copy todir="${build}/jws" file="lib/junit.jar"/>
-    <copy todir="${build}/jws" file="lib/clover.jar"/>
     <jar jarfile="${build}/jws/jnidispatch.jar">
       <fileset dir="${build.native}" includes="*jnidispatch.*"/>
     </jar>
@@ -660,7 +658,7 @@
     </javadoc>
   </target>
 
-  <target name="dist" depends="jar,contrib-jars,compile-tests,native,javadoc"
+  <target name="dist" depends="jar,contrib-jars,compile-tests,javadoc"
           description="Build distribution files">
     <copy todir="${dist}">
       <fileset dir="${build}">
Index: twall-jna-3e5b84f/native/Makefile
===================================================================
--- twall-jna-3e5b84f.orig/native/Makefile	2012-06-19 11:13:50.700183199 +0200
+++ twall-jna-3e5b84f/native/Makefile	2012-06-19 11:15:27.987180948 +0200
@@ -97,8 +97,8 @@
 # Avoid bug in X11-based 1.5/1.6 VMs; dynamically load instead of linking
 # See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6539705
 #LIBS=-L"$(LIBDIR)" -ljawt 
-STRIP=strip -x
-# end defaults
+STRIP=@echo
+# end defaultsa
 
 # W32CE build requires cegcc cross-compiler and phoneME JavaME implementation
 # cegcc: http://sf.net/projects/cegcc
openSUSE Build Service is sponsored by