pkgsrc/graphics/blender/patches/patch-ag

13 lines
462 B
Text

$NetBSD: patch-ag,v 1.4 2006/02/23 20:15:22 joerg Exp $
--- extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.cpp.orig 2006-02-10 20:42:45.000000000 +0100
+++ extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.cpp
@@ -42,7 +42,7 @@
#if defined (WIN32)
#include <malloc.h>
#else
-#if defined (__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#include <stdlib.h>
#else
#include <alloca.h>