From 9cdb1f5eaa0e4862fbc6195313fba7ed509c7a38 Mon Sep 17 00:00:00 2001 From: gbenson Date: Mon, 6 Jun 2005 09:38:30 +0000 Subject: [PATCH] Make the javah task fall back to executing javah --- ant.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ant.spec b/ant.spec index c7612fe..aec0f54 100644 --- a/ant.spec +++ b/ant.spec @@ -329,14 +329,14 @@ Javadoc pour %{name}. # Build OPT_JAR_LIST from the contents of /etc/ant.d/ %patch1 -p1 -# fix classpath for java-x.y.z-gcj-compat +# fix classpath for java-gcj-compat if java -version 2>&1 | grep -q "gcj"; then %patch2 -p1 rm -f src/script/ant.orig fi -# build the javah task (#157750) -%patch3 -p1 +# build the javah task (#157750) and make it work with java-gcj-compat +%patch3 -p1 -b .orig # clean jar files find . -name "*.jar" -exec rm -f {} \; @@ -627,6 +627,10 @@ fi # ----------------------------------------------------------------------------- %changelog +* Mon Jun 6 2005 Gary Benson +- Make the javah task fall back to executing javah if + com.sun.tools.javah.Main cannot be found. + * Tue May 25 2005 Gary Benson 0:1.6.2-3jpp_9fc - Rearrange how BC-compiled stuff is built and installed.