FreeBSD Bugzilla – Attachment 176716 Details for
Bug 213864
graphics/graphviz fails to build on arm64 (no sbrk)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to use the system malloc on arm64
graphviz-arm64.diff (text/plain), 1.41 KB, created by
Andrew Turner
on 2016-11-07 11:39:01 UTC
(
hide
)
Description:
Patch to use the system malloc on arm64
Filename:
MIME Type:
Creator:
Andrew Turner
Created:
2016-11-07 11:39:01 UTC
Size:
1.41 KB
patch
obsolete
>Index: graphics/graphviz/Makefile >=================================================================== >--- graphics/graphviz/Makefile (revision 425601) >+++ graphics/graphviz/Makefile (working copy) >@@ -17,7 +17,7 @@ > 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 >Index: graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h >=================================================================== >--- graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h (nonexistent) >+++ graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h (working copy) >@@ -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 > >Property changes on: graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213864
: 176716