git: 47613a2f5851 - main - print/cups-filters: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 19:30:58 UTC
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}&|' \