pkgsrc/audio/mpg123/patches/patch-ap
grant aa37d9936c make this work on FreeBSD by setting ALL_TARGET to a sensible default
if we don't have an override, and using sys/soundcard.h instead of
machine/soundcard.h.
2003-10-18 11:27:11 +00:00

13 lines
378 B
Text

$NetBSD: patch-ap,v 1.1 2003/10/18 11:27:11 grant Exp $
--- audio_oss.c.orig 1998-02-01 01:14:08.000000000 +1100
+++ audio_oss.c
@@ -28,7 +28,7 @@ extern int outburst;
#include <sys/ioctl.h>
#ifdef LINUX
#include <linux/soundcard.h>
-#elif defined(__bsdi__)
+#elif defined(__bsdi__) || defined(__FreeBSD__)
#include <sys/soundcard.h>
#else
#include <machine/soundcard.h>