Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 18:42:52 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 364deb4e3a51 - main - x11/cde-25: Address multiple build failures with LLVM16
Message-ID:  <202306261842.35QIgq5p046689@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=364deb4e3a51f889b557b0d46553c55f683c86ec

commit 364deb4e3a51f889b557b0d46553c55f683c86ec
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-06-26 13:25:01 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-06-26 18:41:07 +0000

    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
---
 x11/cde-25/Makefile | 1 +
 1 file changed, 1 insertion(+)

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:



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