diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 17:58:29 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 17:58:29 +0000 |
commit | c468d9f5e753fee21387992a8ccc97d513f82404 (patch) | |
tree | 98cd9b833b38f9478b6482997729a9a15d661381 /x11-wm/epplets/files/patch-epplets::Emix.c | |
parent | - update to 0.4.2 (diff) |
- Fix build on architecture other than i386
PR: 60468
Submitted by: Ports Fury
Diffstat (limited to '')
-rw-r--r-- | x11-wm/epplets/files/patch-epplets::Emix.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-wm/epplets/files/patch-epplets::Emix.c b/x11-wm/epplets/files/patch-epplets::Emix.c new file mode 100644 index 000000000000..bb18cc9c3b3b --- /dev/null +++ b/x11-wm/epplets/files/patch-epplets::Emix.c @@ -0,0 +1,23 @@ +--- epplets/Emix.c.orig Wed Sep 13 08:24:16 2000 ++++ epplets/Emix.c Thu Dec 18 19:20:45 2003 +@@ -6,11 +6,17 @@ + + #include "epplet.h" + #include <sys/ioctl.h> +-#ifdef __FreeBSD__ ++#include <config.h> ++ ++#ifdef HAVE_LINUX_SOUNDCARD_H ++#include <linux/soundcard.h> ++#elif HAVE_MACHINE_SOUNDCARD_H + #include <machine/soundcard.h> +-#else ++#elif HAVE_SYS_SOUNDCARD_H + #include <sys/soundcard.h> +-#endif ++#else ++#error No soundcard defenition! ++#endif /* SOUNDCARD_H */ + + Epplet_gadget vs_master, vs_pcm, vs_lin, vs_cda, b_close, b_help; + |