svn commit: r303068 - head/audio/autozen/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 24 10:24:04 UTC 2012


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) {



More information about the svn-ports-all mailing list