aboutsummaryrefslogtreecommitdiff
path: root/audio/autozen
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 10:24:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 10:24:03 +0000
commitb05e2f2964952c62034a8d0838e0634f7c4b8c95 (patch)
tree4d2a3082544e1beedf26537598b3ba475165c6e6 /audio/autozen
parent0ff48b2c81726cce4c10997bb87d35884cc05058 (diff)
downloadports-b05e2f2964952c62034a8d0838e0634f7c4b8c95.tar.gz
ports-b05e2f2964952c62034a8d0838e0634f7c4b8c95.zip
Fix build with clang
Notes
Notes: svn path=/head/; revision=303068
Diffstat (limited to 'audio/autozen')
-rw-r--r--audio/autozen/files/patch-autozen.c31
1 files changed, 29 insertions, 2 deletions
diff --git a/audio/autozen/files/patch-autozen.c b/audio/autozen/files/patch-autozen.c
index 8d29b0b31df1..e6d680599fc6 100644
--- a/audio/autozen/files/patch-autozen.c
+++ b/audio/autozen/files/patch-autozen.c
@@ -1,5 +1,14 @@
---- autozen.c.orig Sun Jul 30 15:29:57 2006
-+++ autozen.c Sun Jul 30 15:30:05 2006
+--- ./autozen.c.orig 2001-09-16 04:09:04.000000000 +0200
++++ ./autozen.c 2012-08-24 12:22:50.546913397 +0200
+@@ -27,7 +27,7 @@
+
+ /* "The nice thing about standards..." */
+ #if defined (__FreeBSD__)
+-#include <machine/soundcard.h>
++#include <sys/soundcard.h>
+ #else
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */
@@ -113,7 +113,7 @@
//
/////////////////////////////////
@@ -9,3 +18,21 @@
#define MAX_HARMONICS 10
#define DEFAULT_HARMONICS 3
+@@ -253,7 +253,7 @@
+ }
+
+
+-int CheckSequencer()
++void CheckSequencer()
+ {
+ char *token;
+ int tmp;
+@@ -672,7 +672,7 @@
+
+ } // end while
+
+-return;
++return(NULL);
+ }
+
+ gint volTimeOut(gpointer data) {