Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 23:40:39 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 15a656ba9072 - main - java/openjdk19: Fix build with llvm16
Message-ID:  <202308072340.377NedM0052189@gitrepo.freebsd.org>

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

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

commit 15a656ba907277e6e0f1d536297f07dda28940af
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 18:47:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 22:00:19 +0000

    java/openjdk19: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 java/openjdk19/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/openjdk19/Makefile b/java/openjdk19/Makefile
index d14333c762a2..71450f026770 100644
--- a/java/openjdk19/Makefile
+++ b/java/openjdk19/Makefile
@@ -144,6 +144,9 @@ EXTRA_CFLAGS+=		-Wno-unused-but-set-parameter
 .if ${COMPILER_VERSION} >= 140
 EXTRA_CFLAGS+=		-Wno-bitwise-instead-of-logical
 .endif
+.if ${COMPILER_VERSION} >= 160
+EXTRA_CFLAGS+=		-Wno-error=deprecated-non-prototype
+.endif
 CONFIGURE_ARGS+=	--with-extra-cflags="${EXTRA_CFLAGS}"
 CONFIGURE_ARGS+=	--with-extra-cxxflags="${EXTRA_CFLAGS}"
 .endif



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