Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2026 13:52:30 +0000
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: fa43a93555ef - main - x11/cde*: Work around bus errors and looping CDE apps
Message-ID:  <69d65d9e.3a568.585871d9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by cy:

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

commit fa43a93555ef08544bc2139af3411e00797c70dd
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-04-08 03:40:57 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-04-08 13:51:50 +0000

    x11/cde*: Work around bus errors and looping CDE apps
    
    -O2 optimization is too aggressive for CDE. Scaling it back to -O
    eliminates bus errors on some systems and dtcalc looping with the
    error, *** M .LE. T IN CALL TO MPCHK.
    
    Reported by:    Jeremy Doolin <jrdoolin@pm.me>
    MFH:            2026Q2
---
 x11/cde-devel/Makefile | 3 ++-
 x11/cde/Makefile       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile
index 20f8dd4871e7..1c11bff3b135 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
@@ -62,7 +63,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 \
+CFLAGS+=	-O -Wno-register -Wno-incompatible-function-pointer-types \
 		-Wno-implicit-function-declaration
 LDFLAGS+=	-z muldefs #--allow-multiple-definition
 
diff --git a/x11/cde/Makefile b/x11/cde/Makefile
index ac1c288a69ff..f662564795f5 100644
--- a/x11/cde/Makefile
+++ b/x11/cde/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cde
 DISTVERSION=	2.5.3
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	SF/cdesktopenv/src/
 
@@ -52,7 +53,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 \
+CFLAGS+=	-O -Wno-register -Wno-incompatible-function-pointer-types \
 		-Wno-implicit-function-declaration
 LDFLAGS+=	-z muldefs #--allow-multiple-definition
 LDFLAGS+=	-lutil


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d65d9e.3a568.585871d9>