Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 19:30:59 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: 1f69e3be1520 - main - graphics/djvulibre: Fix build with llvm16
Message-ID:  <202306231930.35NJUx1i074913@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit 1f69e3be1520b2b5ec1f1e9b47ef91aca9899478
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-23 19:29:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-23 19:30:42 +0000

    graphics/djvulibre: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 graphics/djvulibre/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index 375cefb64540..3dc7fe8f0ef1 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -38,6 +38,12 @@ DESKTOPFILES_DESC=	Install icons and mime types
 DESKTOPFILES_CONFIGURE_ENABLE=	desktopfiles
 DESKTOPFILES_USES=	gnome
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-patch:
 # Remove custom optimization compiler flags
 	@${REINPLACE_CMD} -e '/-[Og]\*)/d ; \


home | help

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