1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

Try to quickly unbreak two of my ports against Clang 15

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2023-02-15 10:09:04 +00:00
parent d39a4b86e2
commit 719f09fbfe
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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