Bug#413511: koules: FTBFS on GNU/kFreeBSD

Aurelien Jarno aurel32 at debian.org
Mon Mar 5 15:44:58 CET 2007


Package: koules
Version: 1.4-15
Severity: important
Tags: patch

Hi,

koules currently fails to build from source due to a missing definition
for the sound server. It also fixes the location of the soundcard
header, which is sys/souncard.h for a long time now.

The patch below fixes that. Could you please add it in the next upload?
Thanks in advance.

Cheers,
Aurelien


diff -u koules-1.4/debian/patches/series koules-1.4/debian/patches/series
--- koules-1.4/debian/patches/series
+++ koules-1.4/debian/patches/series
@@ -10,0 +11 @@
+300_kfreebsd-gnu.diff
--- koules-1.4.orig/debian/patches/300_kfreebsd-gnu.diff
+++ koules-1.4/debian/patches/300_kfreebsd-gnu.diff
@@ -0,0 +1,22 @@
+--- 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


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)




More information about the Pkg-games-devel mailing list