Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2023 10:10:13 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 719f09fbfeab - main - Try to quickly unbreak two of my ports against Clang 15
Message-ID:  <202302151010.31FAADFZ039039@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=719f09fbfeabba82ba471afb004d08d8093ceee5

commit 719f09fbfeabba82ba471afb004d08d8093ceee5
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-02-15 10:09:04 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-02-15 10:09:04 +0000

    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



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