Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2023 23:31:04 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 162f181fecf0 - main - science/fasthenry: use malloc instead of sbrk
Message-ID:  <202312082331.3B8NV4Iq067510@gitrepo.freebsd.org>

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

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

commit 162f181fecf0efd37439da992875a57103ce6fa6
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-07 22:15:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-08 23:29:39 +0000

    science/fasthenry: use malloc instead of sbrk
    
    Enable existing NO_SBRK option via CFLAGS
---
 science/fasthenry/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/science/fasthenry/Makefile b/science/fasthenry/Makefile
index 10e88a68c5fd..22e8fe554e5c 100644
--- a/science/fasthenry/Makefile
+++ b/science/fasthenry/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fasthenry
 DISTVERSION=	3.0wr-021113
+PORTREVISION=	1
 CATEGORIES=	science cad
 MASTER_SITES=	http://www.wrcad.com/ftp/pub/ LOCAL/bf
 
@@ -7,15 +8,14 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Multipole-accelerated inductance analysis program
 WWW=		https://www.rle.mit.edu/cpg/research_codes.htm
 
-BROKEN_aarch64=	Fails to link: missing sbrk
-BROKEN_riscv64=	Fails to link: missing sbrk
-
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	config
 WRKSRC=		${WRKDIR}/fasthenry-3.0wr
 
 # Fix build with clang11
 CFLAGS+=	-fcommon
+# Use malloc
+CFLAGS+=	-DNO_SBRK
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 



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