summaryrefslogtreecommitdiff
path: root/audio/pd/patches/patch-extra_bonk~_bonk~.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pd/patches/patch-extra_bonk~_bonk~.c')
-rw-r--r--audio/pd/patches/patch-extra_bonk~_bonk~.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/pd/patches/patch-extra_bonk~_bonk~.c b/audio/pd/patches/patch-extra_bonk~_bonk~.c
new file mode 100644
index 00000000000..5d89871d9d6
--- /dev/null
+++ b/audio/pd/patches/patch-extra_bonk~_bonk~.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-extra_bonk~_bonk~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+
+alloca.h is not portable.
+
+--- extra/bonk~/bonk~.c.orig 2010-08-19 01:37:00.000000000 +0000
++++ extra/bonk~/bonk~.c
+@@ -82,11 +82,7 @@ void *bonk_class;
+ static t_class *bonk_class;
+ #endif
+
+-#ifdef _WIN32
+ #include <malloc.h>
+-#elif ! defined(_MSC_VER)
+-#include <alloca.h>
+-#endif
+
+ /* ------------------------ bonk~ ----------------------------- */
+