mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
This commit is contained in:
parent
df12c3eed0
commit
e78236d4c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68699
13
audio/fmio/files/patch-aa
Normal file
13
audio/fmio/files/patch-aa
Normal file
@ -0,0 +1,13 @@
|
||||
--- mixer.c.orig Wed Oct 23 20:23:43 2002
|
||||
+++ mixer.c Wed Oct 23 20:23:55 2002
|
||||
@@ -34,9 +34,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#if defined (__OpenBSD__) || defined (__NetBSD__)
|
||||
#include <sys/audioio.h>
|
||||
-#elif defined (__FreeBSD__)
|
||||
-#include <machine/soundcard.h>
|
||||
-#elif defined (linux)
|
||||
+#elif defined (linux) || defined(__FreeBSD__)
|
||||
#include <sys/soundcard.h>
|
||||
#endif /* __OpenBSD__ || __NetBSD__ */
|
||||
|
12
audio/fmio/files/patch-ab
Normal file
12
audio/fmio/files/patch-ab
Normal file
@ -0,0 +1,12 @@
|
||||
--- fmio.1.orig Wed Oct 23 20:23:18 2002
|
||||
+++ fmio.1 Wed Oct 23 20:23:32 2002
|
||||
@@ -108,8 +108,7 @@
|
||||
.Dl <line name>=[+-]<left channel>,[+-]<right channel>.
|
||||
For line names see:
|
||||
.Dl /usr/include/sys/audioio.h under OpenBSD and NetBSD
|
||||
-.Dl /usr/include/machine/soundcard.h under FreeBSD
|
||||
-.Dl /usr/include/sys/soundcard.h under Linux
|
||||
+.Dl /usr/include/sys/soundcard.h under FreeBSD Linux
|
||||
.It Fl X Ar volume
|
||||
Set volume of the sound card master output thru /dev/mixer.
|
||||
Format of this option is similar to option
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <machine/soundcard.h>
|
||||
#include <sys/soundcard.h>
|
||||
#include "proto.h"
|
||||
#include "getargs.h"
|
||||
#include "hplay.h"
|
||||
|
Loading…
Reference in New Issue
Block a user