From edcb34baffbdd6c59c36befafee2f3848f5413b7 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Thu, 7 Dec 2023 22:14:08 +0000 Subject: [PATCH] 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