Date: Tue, 26 Jun 2018 02:28:18 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473367 - in head/cad/irsim: . files Message-ID: <201806260228.w5Q2SIWt087396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Tue Jun 26 02:28:18 2018 New Revision: 473367 URL: https://svnweb.freebsd.org/changeset/ports/473367 Log: - Unbreak build on ARM. Use malloc instead of sbrk. Added: head/cad/irsim/files/ head/cad/irsim/files/patch-base_mem.c (contents, props changed) Modified: head/cad/irsim/Makefile Modified: head/cad/irsim/Makefile ============================================================================== --- head/cad/irsim/Makefile Tue Jun 26 01:53:52 2018 (r473366) +++ head/cad/irsim/Makefile Tue Jun 26 02:28:18 2018 (r473367) @@ -3,6 +3,7 @@ PORTNAME= irsim PORTVERSION= 9.7.100 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://opencircuitdesign.com/irsim/archive/ @@ -30,8 +31,6 @@ GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib - -BROKEN_aarch64= Fails to link: missing sbrk .include <bsd.port.options.mk> Added: head/cad/irsim/files/patch-base_mem.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/irsim/files/patch-base_mem.c Tue Jun 26 02:28:18 2018 (r473367) @@ -0,0 +1,11 @@ +--- base/mem.c.orig 2018-06-25 17:36:40 UTC ++++ base/mem.c +@@ -126,7 +126,7 @@ extern unsigned sleep(); + #define PAGE_MASK ( PAGE_SIZE - 1 ) + + #define FPRINTF (void) fprintf +-#if defined(CYGWIN) || defined(__APPLE__) ++#if defined(CYGWIN) || defined(__APPLE__) || defined(__FreeBSD__) + private Pointer GetMoreCore( npages ) + int npages; + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806260228.w5Q2SIWt087396>