pkgsrc/games/xboing/patches/patch-ab
wiz 13ee285cab Add sound support, as proposed in pkg/13899 by rxg.
Bump to 2.4nb1.
Add MESSAGE explaining that with XFree86-4.x.x, you probably need
to start xboing with -usedefcmap. Thanks to uwe for finding that out!
2002-07-15 09:01:42 +00:00

17 lines
381 B
Text

$NetBSD: patch-ab,v 1.2 2002/07/15 09:01:43 wiz Exp $
--- audio/LINUXaudio.c.orig Fri Nov 22 02:28:33 1996
+++ audio/LINUXaudio.c
@@ -55,7 +55,12 @@
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
+#include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+#else
#include <linux/soundcard.h>
+#endif
#include "include/error.h"
#include "include/audio.h"