summaryrefslogtreecommitdiff
path: root/games/supertuxkart/patches/patch-aa
blob: adfe3883c443dc7ac5340a9e193e77722141217b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.2 2010/12/17 09:26:23 wiz Exp $

No alloca.h header on NetBSD.
https://sourceforge.net/tracker/?func=detail&aid=3138977&group_id=202302&atid=981038

--- src/bullet/src/BulletDynamics/ConstraintSolver/btOdeQuickstepConstraintSolver.cpp.orig	2009-10-16 00:43:55.000000000 +0000
+++ src/bullet/src/BulletDynamics/ConstraintSolver/btOdeQuickstepConstraintSolver.cpp
@@ -45,7 +45,7 @@ subject to the following restrictions:
 #if defined (WIN32)
 #include <malloc.h>
 #else
-#if defined (__FreeBSD__)
+#if defined (__FreeBSD__) || defined(__NetBSD__)
 #include <stdlib.h>
 #else
 #include <alloca.h>