Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 10:59:04 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6a0bccd2c0a5 - main - devel/directfb: Fix build with llvm16
Message-ID:  <202306241059.35OAx4GB099515@gitrepo.freebsd.org>

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

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

commit 6a0bccd2c0a5ff14b2c9295cfd10c80c65cfb9e1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 10:55:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 10:58:49 +0000

    devel/directfb: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/directfb/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
index 0e3f1f30d879..5ff1754dbd47 100644
--- a/devel/directfb/Makefile
+++ b/devel/directfb/Makefile
@@ -64,6 +64,10 @@ X11_CONFIGURE_ENABLE=	x11
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 # assembly files use old split syntax which clang doesn't like
 .if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang"
 BUILD_DEPENDS+=	as:devel/binutils



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