[packages/java-cup] Rel 6; fix build
arekm
arekm at pld-linux.org
Thu Feb 12 09:57:32 CET 2026
commit e1e9a453b5b51d8f3f011e180738e9990c957151
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Feb 12 09:57:26 2026 +0100
Rel 6; fix build
build.patch | 12 ++++++++++++
java-cup.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/java-cup.spec b/java-cup.spec
index 3cff00f..4f7d498 100644
--- a/java-cup.spec
+++ b/java-cup.spec
@@ -10,11 +10,12 @@ Summary: Java-based Constructor of Useful Parsers
Summary(pl.UTF-8): Javowy konstruktor przydatnych analizatorów
Name: java-cup
Version: %{ver}
-Release: 5
+Release: 6
License: BSD-like
Group: Development/Languages/Java
Source0: java_cup-%{pkgver}.tar.gz
# Source0-md5: c9b26e0e6c1c02f2b37148c54b28cd8d
+Patch0: build.patch
URL: http://www2.cs.tum.edu/projects/cup/
BuildRequires: ant >= 1.5
BuildRequires: jdk
@@ -59,6 +60,7 @@ Dokumentacja API Java CUP.
%prep
%setup -qc
mv develop/* .
+%patch -P0 -p1
%build
unset CLASSPATH || :
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..90cb612
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,12 @@
+diff -ur develop.org/build.xml develop/build.xml
+--- develop.org/build.xml 2006-03-28 13:34:53.000000000 +0200
++++ develop/build.xml 2026-02-12 09:56:06.770240630 +0100
+@@ -53,7 +53,7 @@
+
+ <target name="compile" depends="jflex">
+ <copy todir="${java}"><fileset dir="${src}"></fileset></copy>
+- <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.2" target="1.2">
++ <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.6" target="1.6">
+ <classpath refid="libraries"/>
+ </javac>
+ </target>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-cup.git/commitdiff/e1e9a453b5b51d8f3f011e180738e9990c957151
More information about the pld-cvs-commit
mailing list