diff options
author | krion <krion@FreeBSD.org> | 2003-12-21 17:58:29 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-12-21 17:58:29 +0000 |
commit | 22f02c75728831be0198adeb893b8a5bc2e57b9a (patch) | |
tree | 7e78eb60516717aabcb748cdb8d4766e1a0e81fe /x11-wm/epplets/files | |
parent | 5f484b0ba10342bda093ce7dd21aa4ae75dc18ae (diff) | |
download | FreeBSD-ports-22f02c75728831be0198adeb893b8a5bc2e57b9a.zip FreeBSD-ports-22f02c75728831be0198adeb893b8a5bc2e57b9a.tar.gz |
- Fix build on architecture other than i386
PR: 60468
Submitted by: Ports Fury
Diffstat (limited to 'x11-wm/epplets/files')
-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 0000000..bb18cc9 --- /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; + |