SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/ode/patches/patch-ou_src_ou_malloc_cpp
Normal file
14
devel/ode/patches/patch-ou_src_ou_malloc_cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
Stop using malloc.h in favor of stdlib.h; should actually introduce _OU_TARGET_OS_OPENBSD
|
||||
|
||||
--- ou/src/ou/malloc.cpp.orig Wed Jan 13 23:09:57 2016
|
||||
+++ ou/src/ou/malloc.cpp Wed Jan 13 23:11:34 2016
|
||||
@@ -29,7 +29,8 @@
|
||||
#include <ou/customization.h>
|
||||
#include <ou/macros.h>
|
||||
|
||||
-#if _OU_TARGET_OS == _OU_TARGET_OS_MAC || _OU_TARGET_OS == _OU_TARGET_OS_IOS
|
||||
+#if _OU_TARGET_OS == _OU_TARGET_OS_MAC || _OU_TARGET_OS == _OU_TARGET_OS_IOS \
|
||||
+ || defined(__OpenBSD__)
|
||||
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue