From 381940e6fcaef584d389f2c7929341cbbbc5b715 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 26 Jun 2023 06:26:35 -0700 Subject: [PATCH] x11/cde-devel: 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) ; ^~~~~~~~~ --- x11/cde-devel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile index dc96f5005a7c..e02738e5beb2 100644 --- a/x11/cde-devel/Makefile +++ b/x11/cde-devel/Makefile @@ -64,6 +64,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: