Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 19:30:58 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: 47613a2f5851 - main - print/cups-filters: Fix build with llvm16
Message-ID:  <202306231930.35NJUwVN074892@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=47613a2f585146d64b1ef280411abc1a51cc8137

commit 47613a2f585146d64b1ef280411abc1a51cc8137
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-23 19:09:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-23 19:30:42 +0000

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

diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 02e238386b8f..31fdd056aeac 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -133,6 +133,12 @@ PSPOPPLER_RUN_DEPENDS=		pdftops:graphics/poppler-utils
 PSPOPPLER_CONFIGURE_ON=		--with-pdftops=pdftops
 PSPOPPLER_DESC=			Poppler pdftops(1)
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=dynamic-exception-spec
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
 		-e 's|/etc|${PREFIX}&|' \


home | help

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