summaryrefslogtreecommitdiff
path: root/audio/pd/patches/patch-src_s__inter.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pd/patches/patch-src_s__inter.c')
-rw-r--r--audio/pd/patches/patch-src_s__inter.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/pd/patches/patch-src_s__inter.c b/audio/pd/patches/patch-src_s__inter.c
new file mode 100644
index 00000000000..ae04c9463e4
--- /dev/null
+++ b/audio/pd/patches/patch-src_s__inter.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_s__inter.c,v 1.1 2012/02/15 22:36:39 hans Exp $
+
+--- src/s_inter.c.orig 2011-03-19 23:22:27.000000000 +0100
++++ src/s_inter.c 2012-01-02 14:13:33.293463566 +0100
+@@ -52,6 +52,10 @@ typedef int socklen_t;
+ #include <stdlib.h>
+ #endif
+
++#ifdef __sun
++typedef void (*sig_t)();
++#endif
++
+ #define DEBUG_MESSUP 1 /* messages up from pd to pd-gui */
+ #define DEBUG_MESSDOWN 2 /* messages down from pd-gui to pd */
+