svn commit: r473367 - in head/cad/irsim: . files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Tue Jun 26 02:28:19 UTC 2018
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;
+ {
More information about the svn-ports-all
mailing list