From 719f09fbfeabba82ba471afb004d08d8093ceee5 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 15 Feb 2023 10:09:04 +0000 Subject: [PATCH] Try to quickly unbreak two of my ports against Clang 15 Reported by: pkg-fallout --- lang/gnu-apl/Makefile | 1 + sysutils/bsdfan/Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lang/gnu-apl/Makefile b/lang/gnu-apl/Makefile index 38a5373eacf0..4b2691406369 100644 --- a/lang/gnu-apl/Makefile +++ b/lang/gnu-apl/Makefile @@ -19,6 +19,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 USES= compiler:c++11-lang gmake libtool localbase GNU_CONFIGURE= yes +CONFIGURE_ENV= CXX_WERROR=no USE_LDCONFIG= yes INSTALL_TARGET= install-strip diff --git a/sysutils/bsdfan/Makefile b/sysutils/bsdfan/Makefile index 39382652909a..2cb710a7b4d6 100644 --- a/sysutils/bsdfan/Makefile +++ b/sysutils/bsdfan/Makefile @@ -20,6 +20,9 @@ GH_TAGNAME= d8428a7 PLIST_FILES= bin/bsdfan man/man1/bsdfan.1.gz \ @sample\ etc/bsdfan.conf.sample +post-patch: + @${REINPLACE_CMD} -e 's,getTemp(,&void,' ${WRKSRC}/system.c + post-install: ${INSTALL_DATA} ${WRKSRC}/bsdfan.conf \ ${STAGEDIR}${PREFIX}/etc/bsdfan.conf.sample