Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2023 23:31:03 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: edcb34baffbd - main - science/fastcap: use malloc instead of sbrk
Message-ID:  <202312082331.3B8NV357067465@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=edcb34baffbdd6c59c36befafee2f3848f5413b7

commit edcb34baffbdd6c59c36befafee2f3848f5413b7
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-07 22:14:08 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-08 23:29:38 +0000

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

diff --git a/science/fastcap/Makefile b/science/fastcap/Makefile
index 390373ef0b62..8ff81670eb85 100644
--- a/science/fastcap/Makefile
+++ b/science/fastcap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fastcap
 DISTVERSION=	2.0wr-011109
+PORTREVISION=	1
 CATEGORIES=	science cad
 MASTER_SITES=	http://www.wrcad.com/ftp/pub/ LOCAL/bf
 
@@ -12,15 +13,14 @@ LICENSE_NAME=	fastcap license
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	auto-accept
 
-BROKEN_aarch64=	Fails to link: missing sbrk
-BROKEN_riscv64=	Fails to link: missing sbrk
-
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	config
 WRKSRC=		${WRKDIR}/fastcap-2.0wr
 
 # Fix build with clang11
 CFLAGS+=	-fcommon
+# Use malloc
+CFLAGS+=	-DNO_SBRK
 
 BINFILES=	busgen capgen cubegen fastcap pipedgen pyragen
 



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