Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2024 17:53:46 GMT
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: abffdd9a18a7 - main - science/mpb: Fix build with GCC 14
Message-ID:  <202412211753.4BLHrkV5063486@gitrepo.freebsd.org>

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

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

commit abffdd9a18a7aef287ccd21897fdc91c792cbc4d
Author:     Lorenzo Salvadore <salvadore@freebsd.org>
AuthorDate: 2024-12-21 17:46:44 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2024-12-21 17:52:22 +0000

    science/mpb: Fix build with GCC 14
    
    error: implicit declaration of function 'SCM_NEWCELL'
    [-Wimplicit-function-declaration]
    
    Thanks for the patch to salvadore@
    
    PR:             281245
---
 science/mpb/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index 3ec5fcd8a425..e737ce290106 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mpb
 DISTVERSION=	1.11.1
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	science
 MASTER_SITES=	https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/
 
@@ -30,7 +30,7 @@ MAKE_JOBS_UNSAFE=	yes
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
-CPPFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include -fpermissive
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=		ATLAS OPENMP



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