Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2024 21:45:32 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7506cab6f817 - main - games/jinput: fix build on 14.1: "[ERROR] warnings found and -Werror specified"
Message-ID:  <202406232145.45NLjWxc063404@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd:

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

commit 7506cab6f817cb568499e7468c5062106359bae3
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-06-23 21:42:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-23 21:45:13 +0000

    games/jinput: fix build on 14.1: "[ERROR] warnings found and -Werror specified"
---
 games/jinput/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/games/jinput/Makefile b/games/jinput/Makefile
index 91d6db9484ec..6d257eed349f 100644
--- a/games/jinput/Makefile
+++ b/games/jinput/Makefile
@@ -28,7 +28,9 @@ MAVEN_REPO=	-Dmaven.repo.local=${WRKSRC}/repository
 
 pre-build:
 	${CP} ${JAVAJARDIR}/jutils/jutils.jar ${WRKSRC}/repository/net/java/jutils/jutils/1/jutils-1.jar
-	${SED} -i -e '/example/d' ${WRKSRC}/pom.xml # example/ReadAllEvents.java:[5,28] cannot find symbol ...
+	${SED} -i -e '/example/d; s|<arg>-Werror</arg>||' ${WRKSRC}/pom.xml
+	# 1) example/ReadAllEvents.java:[5,28] cannot find symbol ...
+	# 2) [ERROR] warnings found and -Werror specified ...
 
 do-build:
 	cd ${WRKSRC}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406232145.45NLjWxc063404>