Adjust javah patch

This commit is contained in:
Fernando Nasser 2007-07-27 17:02:27 +00:00
parent b663f31a6e
commit 3e5b74acae
2 changed files with 21 additions and 21 deletions

View File

@ -606,7 +606,7 @@ Javadoc pour %{name}.
%setup -q -n apache-ant-%{cvs_version}
# #157750: make the javah task work with java-gcj-compat
%patch2 -p1
%patch2 -p0
# Fix some places where copies of classes are included in the wrong jarfiles
%patch4 -p1 -b .orig

View File

@ -1,5 +1,5 @@
--- apache-ant-1.6.5/src/main/org/apache/tools/ant/util/JavaEnvUtils.java.original 2005-10-31 15:05:55.000000000 -0500
+++ apache-ant-1.6.5/src/main/org/apache/tools/ant/util/JavaEnvUtils.java 2005-10-31 15:11:31.000000000 -0500
--- src/main/org/apache/tools/ant/util/JavaEnvUtils.java.orig 2006-12-13 07:16:19.000000000 -0500
+++ src/main/org/apache/tools/ant/util/JavaEnvUtils.java 2007-07-27 12:59:04.000000000 -0400
@@ -114,7 +114,7 @@
}
kaffeDetected = false;
@ -9,8 +9,8 @@
kaffeDetected = true;
} catch (Throwable t) {
// swallow as this simply doesn't seem to be Kaffe
--- apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/javah/Kaffeh.java.original 2005-10-31 15:06:34.000000000 -0500
+++ apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/javah/Kaffeh.java 2005-10-31 15:08:13.000000000 -0500
--- src/main/org/apache/tools/ant/taskdefs/optional/javah/Kaffeh.java.orig 2006-12-13 07:16:22.000000000 -0500
+++ src/main/org/apache/tools/ant/taskdefs/optional/javah/Kaffeh.java 2007-07-27 13:00:51.000000000 -0400
@@ -56,7 +56,7 @@
private Commandline setupKaffehCommand(Javah javah) {