From 944d53ea8c439dbb4caa5e940ef610c93b3f7e73 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 18 Aug 2023 06:38:58 +0200 Subject: [PATCH] finance/expense: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- finance/expense/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/finance/expense/Makefile b/finance/expense/Makefile index c4b61a20b336..eabe22510461 100644 --- a/finance/expense/Makefile +++ b/finance/expense/Makefile @@ -18,6 +18,12 @@ WRKSRC= ${WRKDIR}/Expense PORTSCOUT= ignore:1 +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Expense.app/Expense