aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/epplets/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-21 17:58:29 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-21 17:58:29 +0000
commitc468d9f5e753fee21387992a8ccc97d513f82404 (patch)
tree98cd9b833b38f9478b6482997729a9a15d661381 /x11-wm/epplets/files
parenta2a189382003635cb4654492944cad7535f57b97 (diff)
downloadports-c468d9f5e753fee21387992a8ccc97d513f82404.tar.gz
ports-c468d9f5e753fee21387992a8ccc97d513f82404.zip
Notes
Diffstat (limited to 'x11-wm/epplets/files')
-rw-r--r--x11-wm/epplets/files/patch-epplets::Emix.c23
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;
+