git: 7506cab6f817 - main - games/jinput: fix build on 14.1: "[ERROR] warnings found and -Werror specified"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jun 2024 21:45:32 UTC
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}; \