Date: Sun, 04 Jan 2026 03:43:51 +0000 From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 42e21c547c88 - main - graphics/opendx: Make it build with clang 19 Message-ID: <6959e1f7.21c8e.d99fc82@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=42e21c547c888199ab318786c40d3838dc6d012d commit 42e21c547c888199ab318786c40d3838dc6d012d Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2026-01-04 03:39:38 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> CommitDate: 2026-01-04 03:39:38 +0000 graphics/opendx: Make it build with clang 19 - Make it build with clang 19 and higher. - bump portrevision. PR: 292168 Reported by: dim@FreeBSD.org --- graphics/opendx/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index 30e4c3d91fdd..12c5f1567405 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -1,6 +1,6 @@ PORTNAME= opendx PORTVERSION= 4.4.4 -PORTREVISION= 40 +PORTREVISION= 41 CATEGORIES= graphics math java MASTER_SITES= http://www.sfr-fresh.com/unix/misc/ DISTNAME= dx-${PORTVERSION} @@ -18,6 +18,7 @@ LIB_DEPENDS= libtiff.so:graphics/tiff \ libcdf.so:science/cdf USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif sbrk xorg +USE_CXXSTD= gnu++11 USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 xt xinerama xext xpm xmu sm ice @@ -29,8 +30,6 @@ CONFIGURE_ENV= ARCH=freebsd MAKE_JOBS_UNSAFE= yes -CPPFLAGS+= ${CXXFLAGS} - NO_MTREE= yes PKGMESSAGE= ${WRKDIR}/pkg-message @@ -69,16 +68,12 @@ PLIST_SUB+= JAVA="@comment " PLIST_SUB+= UNAMEP=${ARCH} -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD -USES+= llvm:max=15 -CONFIGURE_ENV+= ac_cv_requires_lstdcxx=yes +.if ${COMPILER_TYPE} == clang CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.include <bsd.port.pre.mk> - post-patch: @${RM} ${WRKSRC}/include/stamp-h.in .for dir in doc help html manhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6959e1f7.21c8e.d99fc82>
