- Resurrect, unbreak, and update to version 2020.02 (Catalpa)
- The build is purely CMake-based now and doesn't use any shell or Python helper scripts - Keep PLIST_SUB+=COIN="" to reduce the churn on the pkg-plist, will be cleaned up separately (COIN support is now mandatory) - Chase 301 Moved Permanently redirect in the WWW line of the port description while here
This commit is contained in:
20
math/ogdf/files/patch-include_ogdf_basic_System.h
Normal file
20
math/ogdf/files/patch-include_ogdf_basic_System.h
Normal file
@@ -0,0 +1,20 @@
|
||||
--- include/ogdf/basic/System.h.orig 2015-05-29 15:36:24 UTC
|
||||
+++ include/ogdf/basic/System.h
|
||||
@@ -53,7 +53,7 @@
|
||||
#define OGDF_SYSTEM_H
|
||||
|
||||
|
||||
-#if defined(OGDF_SYSTEM_OSX)
|
||||
+#if defined(OGDF_SYSTEM_OSX) || defined(OGDF_SYSTEM_FREEBSD)
|
||||
#include <stdlib.h>
|
||||
#elif defined(OGDF_SYSTEM_UNIX) || defined(__MINGW32__)
|
||||
#include <malloc.h>
|
||||
@@ -176,7 +176,7 @@ public:
|
||||
# else
|
||||
return _aligned_malloc(size, 16);
|
||||
# endif
|
||||
-#elif defined(OGDF_SYSTEM_OSX)
|
||||
+#elif defined(OGDF_SYSTEM_OSX) || defined(OGDF_SYSTEM_FREEBSD)
|
||||
// malloc returns 16 byte aligned memory on OS X.
|
||||
return malloc(size);
|
||||
#else
|
||||
Reference in New Issue
Block a user