git: 9b9fcabd04c7 - main - x11/cde*: Work around a SIGBUS in dtcreate

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 17 Feb 2024 05:46:14 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b9fcabd04c70c0d6a3798321551ec016467b0de

commit 9b9fcabd04c70c0d6a3798321551ec016467b0de
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-02-17 00:54:59 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-02-17 05:45:39 +0000

    x11/cde*: Work around a SIGBUS in dtcreate
    
    dtcreate has been experiencing SIGBUS since llvm 17 import. Fall back
    to llvm 16 until this problem can be more thoroughly investigated.
---
 x11/cde-25/Makefile    | 6 ++++--
 x11/cde-devel/Makefile | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/x11/cde-25/Makefile b/x11/cde-25/Makefile
index acdf3eed53bc..a57c73d4617d 100644
--- a/x11/cde-25/Makefile
+++ b/x11/cde-25/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cde
 DISTVERSION=	2.5.2
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	SF/cdesktopenv/src/
 .if !defined(MASTERDIR)
@@ -40,7 +41,7 @@ RUN_DEPENDS=	ksh93:shells/ksh			\
 		sessreg:x11/sessreg
 
 USES=		autoreconf:build iconv:wchar_t gmake jpeg libtool motif perl5 \
-		shebangfix tcl:86 xorg
+		shebangfix tcl:86 xorg llvm:16
 SHEBANG_LANG=	pl
 SHEBANG_FILES=	programs/dtinfo/tools/bin/ccdate \
 		programs/dtdocbook/tcl/docbook.tcl
@@ -59,7 +60,8 @@ 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
+CFLAGS+=	-Wno-register -Wno-incompatible-function-pointer-types \
+		-Wno-implicit-function-declaration
 LDFLAGS+=	-z muldefs #--allow-multiple-definition
 
 pre-configure:
diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile
index a95907c75f48..8ecf7d41e810 100644
--- a/x11/cde-devel/Makefile
+++ b/x11/cde-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cde
 PORTVERSION=	${COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES=	x11
 .if !defined(MASTERDIR)
 PKGNAMESUFFIX=	-devel
@@ -47,7 +48,7 @@ RUN_DEPENDS=	ksh93:shells/ksh			\
 		sessreg:x11/sessreg
 
 USES=		autoreconf:build iconv:wchar_t gmake jpeg libtool motif perl5 \
-		shebangfix tcl:86 xorg
+		shebangfix tcl:86 xorg llvm:16
 SHEBANG_LANG=	pl
 SHEBANG_FILES=	programs/dtinfo/tools/bin/ccdate \
 		programs/dtdocbook/tcl/docbook.tcl
@@ -66,7 +67,8 @@ 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
+CFLAGS+=	-Wno-register -Wno-incompatible-function-pointer-types \
+		-Wno-implicit-function-declaration
 LDFLAGS+=	-z muldefs #--allow-multiple-definition
 
 pre-configure: