Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2025 18:14:21 +0000
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce14a2f17f4d - main - games/stendhal: fix build with jdk17+
Message-ID:  <6952c4fd.33368.58c18396@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce14a2f17f4d522087e5e3bca6bcd2b546c3312b

commit ce14a2f17f4d522087e5e3bca6bcd2b546c3312b
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-11 08:38:42 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-29 18:13:51 +0000

    games/stendhal: fix build with jdk17+
    
    Just increase the minimal javac source/target.
    
    PR:     291564
    Approved-By:    maintainer timeout
---
 games/stendhal/files/patch-build.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/games/stendhal/files/patch-build.xml b/games/stendhal/files/patch-build.xml
new file mode 100644
index 000000000000..9208ff1ddff6
--- /dev/null
+++ b/games/stendhal/files/patch-build.xml
@@ -0,0 +1,11 @@
+--- build.xml.orig	2025-12-11 07:41:36 UTC
++++ build.xml
+@@ -466,7 +466,7 @@
+ 
+ 		<!-- compile Starter.java for Java 1.6. So we will be able to
+ 		 display a dialogbox if running on an old Java Version -->
+-		<javac srcdir="${src}" destdir="${build_client}" debug="${javac.debug}" debuglevel="${javac.debuglevel}" source="1.6" target="1.6" deprecation="${javac.deprecation}" includeantruntime="false">
++		<javac srcdir="${src}" destdir="${build_client}" debug="${javac.debug}" debuglevel="${javac.debuglevel}" source="1.8" target="1.8" deprecation="${javac.deprecation}" includeantruntime="false">
+ 			<include name="games/stendhal/client/update/Starter.java"/>
+ 
+ 			<compilerarg value="-encoding"/>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6952c4fd.33368.58c18396>