aboutsummaryrefslogtreecommitdiff
path: root/x11/cde-25
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-06-26 13:25:01 +0000
committerCy Schubert <cy@FreeBSD.org>2023-06-26 18:41:07 +0000
commit364deb4e3a51f889b557b0d46553c55f683c86ec (patch)
tree79949e665121b7dd8e0448bd0a755c0d0a5144d8 /x11/cde-25
parentbdb88e167bebd7a2fc883f796006a36cde4ce829 (diff)
downloadports-364deb4e3a51f889b557b0d46553c55f683c86ec.tar.gz
ports-364deb4e3a51f889b557b0d46553c55f683c86ec.zip
x11/cde-25: Address multiple build failures with LLVM16
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int to_type) ; ^~~~~~~~~ MFH: 2023Q2
Diffstat (limited to 'x11/cde-25')
-rw-r--r--x11/cde-25/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/cde-25/Makefile b/x11/cde-25/Makefile
index b1a5044f39d3..37bfc1c0a9fc 100644
--- a/x11/cde-25/Makefile
+++ b/x11/cde-25/Makefile
@@ -56,6 +56,7 @@ MAKE_ARGS+= PERL=${PERL} "LOCAL_LDFLAGS=${LDFLAGS}"
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= MALLOC_CONF=junk:false
SUB_FILES= pkg-message
+CFLAGS+= -Wno-register -Wno-incompatible-function-pointer-types
LDFLAGS+= -z muldefs #--allow-multiple-definition
pre-configure: