pkgsrc/games/xscavenger/patches/patch-aa
minskim a8f96c0bb8 Use variables defined in ossaudio.buildlink3.mk. This fixes a build
problem caused by hardcoded "-lossaudio" on Linux.

OK'ed by wiz@, the maintainer.
2004-04-09 00:10:25 +00:00

21 lines
440 B
Text

$NetBSD: patch-aa,v 1.2 2004/04/09 00:10:25 minskim Exp $
--- sound.c.orig 2002-12-02 00:03:54.000000000 -0600
+++ sound.c
@@ -5,7 +5,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <sys/time.h>
#include <signal.h>
#include <string.h>
@@ -14,7 +15,6 @@
#include "scav.h"
#include "sound.h"
-#define SOUNDDEV "/dev/dsp"
char dirlist[512];