svn commit: r426075 - in head/graphics/graphviz: . files
Dirk Meyer
dinoex at FreeBSD.org
Sun Nov 13 23:53:09 UTC 2016
Author: dinoex
Date: Sun Nov 13 23:53:07 2016
New Revision: 426075
URL: https://svnweb.freebsd.org/changeset/ports/426075
Log:
- fix build on aarch64
PR: 213864
Submitted by: Andrew Turner
Added:
head/graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h (contents, props changed)
Modified:
head/graphics/graphviz/Makefile
Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile Sun Nov 13 23:09:06 2016 (r426074)
+++ head/graphics/graphviz/Makefile Sun Nov 13 23:53:07 2016 (r426075)
@@ -3,7 +3,7 @@
PORTNAME= graphviz
PORTVERSION= 2.38.0
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= graphics tk
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
@@ -17,7 +17,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
libexpat.so:textproc/expat2 \
libgd.so:${GD_PORT}
-ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS= aarch64 amd64 i386
USES= bison cpe gmake jpeg libtool:keepla pkgconfig pathfix shebangfix
GNU_CONFIGURE= yes
Added: head/graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h Sun Nov 13 23:53:07 2016 (r426075)
@@ -0,0 +1,13 @@
+--- lib/vmalloc/vmhdr.h.orig 2016-11-07 02:32:54.935418000 +0000
++++ lib/vmalloc/vmhdr.h 2016-11-07 02:38:16.506108000 +0000
+@@ -20,6 +20,10 @@
+ #ifndef _BLD_vmalloc
+ #define _BLD_vmalloc 1
+ #endif
++#if defined(__FreeBSD__) && defined(__aarch64__)
++/* No sbrk on FreeBSD/AArch64 */
++#define _std_malloc 1
++#endif
+ #ifdef WIN32
+ #include <io.h>
+ #endif
More information about the svn-ports-all
mailing list