diff options
author | bapt <bapt@FreeBSD.org> | 2012-08-24 18:24:03 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-08-24 18:24:03 +0800 |
commit | 54e74e0d1fe5d86d8f84d276d2e05202432eeb0f (patch) | |
tree | 4d2a3082544e1beedf26537598b3ba475165c6e6 /audio/autozen | |
parent | 4dad1f8e9e971259230313bd609d9affaa82fb0d (diff) | |
download | freebsd-ports-gnome-54e74e0d1fe5d86d8f84d276d2e05202432eeb0f.tar.gz freebsd-ports-gnome-54e74e0d1fe5d86d8f84d276d2e05202432eeb0f.tar.zst freebsd-ports-gnome-54e74e0d1fe5d86d8f84d276d2e05202432eeb0f.zip |
Fix build with clang
Diffstat (limited to 'audio/autozen')
-rw-r--r-- | audio/autozen/files/patch-autozen.c | 31 |
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) { |