Date: Fri, 24 Aug 2012 10:24:03 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303068 - head/audio/autozen/files Message-ID: <201208241024.q7OAO36c019354@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Aug 24 10:24:03 2012 New Revision: 303068 URL: http://svn.freebsd.org/changeset/ports/303068 Log: Fix build with clang Modified: head/audio/autozen/files/patch-autozen.c Modified: head/audio/autozen/files/patch-autozen.c ============================================================================== --- head/audio/autozen/files/patch-autozen.c Fri Aug 24 10:18:51 2012 (r303067) +++ head/audio/autozen/files/patch-autozen.c Fri Aug 24 10:24:03 2012 (r303068) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208241024.q7OAO36c019354>