[gluegen] Fix FTBFS.

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Mar 23 15:20:47 UTC 2011


commit 37823e2d2e052f183b191f424606c3a468a4ac24
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Wed Mar 23 17:19:59 2011 +0200

    Fix FTBFS.

 fix-antlr-classpath.patch |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/fix-antlr-classpath.patch b/fix-antlr-classpath.patch
new file mode 100644
index 0000000..5ac628b
--- /dev/null
+++ b/fix-antlr-classpath.patch
@@ -0,0 +1,28 @@
+--- make/build.xml.sav	2011-03-23 17:15:36.000000000 +0200
++++ make/build.xml	2011-03-23 17:16:03.518684175 +0200
+@@ -13,6 +13,13 @@
+    <!-- On jpackage.org-compatible systems, antlr.jar can be found in /usr/share/java -->
+    <available property="antlr.jar" file="/usr/share/java/antlr.jar"
+               value="/usr/share/java/antlr.jar"/>
++	
++	<!-- Create the classpath for ANTLR.  This requires the user-defined
++	      - "antlr.jar" property. -->
++	    <path id="antlr.classpath">
++	      <pathelement location="${antlr.jar}" />
++	    </path>
++	    
+ 
+   <target name="load.user.properties" unless="user.properties.file">
+     <!-- Load the user specified properties file that defines various host
+@@ -72,11 +79,6 @@
+     <antcall target="setup.javase"        inheritRefs="true" />
+     <antcall target="setup.javame.cdc.fp" inheritRefs="true" />
+ 
+-    <!-- Create the classpath for ANTLR.  This requires the user-defined
+-      - "antlr.jar" property. -->
+-    <path id="antlr.classpath">
+-      <pathelement location="${antlr.jar}" />
+-    </path>
+     
+     <!-- The location of the GlueGen source and the C grammar files. -->
+     <property name="gluegen" value="${src.java}/com/sun/gluegen" />


More information about the scm-commits mailing list