Package: koules / 1.4-27

300_kfreebsd-gnu.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Allow building on kFreeBSD
Origin: other

--- koules-1.4.orig/koules.sndsrv.freebsd.c
+++ koules-1.4/koules.sndsrv.freebsd.c
@@ -14,7 +14,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
 #include <sys/time.h>
 #include <signal.h>
 #include <string.h>
--- koules-1.4.orig/Iconfig
+++ koules-1.4/Iconfig
@@ -92,7 +92,7 @@
 #endif
 #endif
 
-#if defined(FreeBSDArchitecture)
+#if defined(FreeBSDArchitecture) || defined(KFreeBSDArchitecture)
 SYSDEFS = 
 #if !defined(NAS_SOUND)&&!defined(RSOUND)
 #define SOUND