diff options
-rw-r--r-- | audio/tosha/files/patch-pcmplay.c | 11 | ||||
-rw-r--r-- | graphics/xanim/files/patch-xa_audio.h | 14 | ||||
-rw-r--r-- | multimedia/xanim/files/patch-xa_audio.h | 14 | ||||
-rw-r--r-- | x11-clocks/emiclock/files/patch-include::sound.h | 14 |
4 files changed, 53 insertions, 0 deletions
diff --git a/audio/tosha/files/patch-pcmplay.c b/audio/tosha/files/patch-pcmplay.c new file mode 100644 index 000000000000..5e46e05837e0 --- /dev/null +++ b/audio/tosha/files/patch-pcmplay.c @@ -0,0 +1,11 @@ +--- pcmplay.c.old Sat Jan 2 08:57:41 1999 ++++ pcmplay.c Thu Apr 11 08:00:07 2002 +@@ -44,7 +44,7 @@ + #include <sys/types.h> + #include <sys/uio.h> + #include <unistd.h> +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + + #include "utils.h" + #include "getlopt.h" diff --git a/graphics/xanim/files/patch-xa_audio.h b/graphics/xanim/files/patch-xa_audio.h new file mode 100644 index 000000000000..c31651a74fbe --- /dev/null +++ b/graphics/xanim/files/patch-xa_audio.h @@ -0,0 +1,14 @@ +--- xa_audio.h.old Thu Apr 11 08:48:39 2002 ++++ xa_audio.h Thu Apr 11 08:49:25 2002 +@@ -139,7 +139,11 @@ + #define _FILE_DSP "/dev/dsp" + #define _FILE_MIXER "/dev/mixer" + #ifdef __FreeBSD__ ++#if __FreeBSD__ > 3 ++#include <sys/soundcard.h> ++#else + #include <machine/soundcard.h> ++#endif + #else + #include <sys/soundcard.h> + #endif diff --git a/multimedia/xanim/files/patch-xa_audio.h b/multimedia/xanim/files/patch-xa_audio.h new file mode 100644 index 000000000000..c31651a74fbe --- /dev/null +++ b/multimedia/xanim/files/patch-xa_audio.h @@ -0,0 +1,14 @@ +--- xa_audio.h.old Thu Apr 11 08:48:39 2002 ++++ xa_audio.h Thu Apr 11 08:49:25 2002 +@@ -139,7 +139,11 @@ + #define _FILE_DSP "/dev/dsp" + #define _FILE_MIXER "/dev/mixer" + #ifdef __FreeBSD__ ++#if __FreeBSD__ > 3 ++#include <sys/soundcard.h> ++#else + #include <machine/soundcard.h> ++#endif + #else + #include <sys/soundcard.h> + #endif diff --git a/x11-clocks/emiclock/files/patch-include::sound.h b/x11-clocks/emiclock/files/patch-include::sound.h new file mode 100644 index 000000000000..f62cdabf221a --- /dev/null +++ b/x11-clocks/emiclock/files/patch-include::sound.h @@ -0,0 +1,14 @@ +--- include/sound.h.old Thu Sep 2 23:34:10 1999 ++++ include/sound.h Thu Apr 11 08:32:05 2002 +@@ -222,7 +222,11 @@ + #include <sys/types.h> + #include <sys/file.h> + #include <sys/stat.h> ++#if __FreeBSD__ > 3 ++#include <sys/soundcard.h> ++#else + #include <machine/soundcard.h> ++#endif + + #undef O_RDWR + #define O_RDWR O_WRONLY /* audio $B%G%P%$%9$OF1;~%*!<%W%s$G$-$J$$!)(B */ |