diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-11-28 18:30:03 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-11-28 18:30:03 +0000 |
commit | 65292a27dc0df89ba8024f0509cd138f35625bb8 (patch) | |
tree | 2d5fd4a76cf2c35911f33a1503278cf25a0c3a91 /emulators/frodo | |
parent | 9c4293b3d29a0fd26ebf9674ff69c383f387fd40 (diff) | |
download | ports-65292a27dc0df89ba8024f0509cd138f35625bb8.tar.gz ports-65292a27dc0df89ba8024f0509cd138f35625bb8.zip |
Notes
Diffstat (limited to 'emulators/frodo')
-rw-r--r-- | emulators/frodo/Makefile | 2 | ||||
-rw-r--r-- | emulators/frodo/files/patch-SID.cpp | 20 | ||||
-rw-r--r-- | emulators/frodo/files/patch-SID_linux.i | 15 |
3 files changed, 36 insertions, 1 deletions
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index 3b80ba4524c2..06e556a8ec89 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -7,7 +7,7 @@ PORTNAME= frodo PORTVERSION= 4.1b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators tk84 MASTER_SITES= http://wwwthep.physik.uni-mainz.de/~cbauer/ DISTNAME= FrodoV4_1b.Src diff --git a/emulators/frodo/files/patch-SID.cpp b/emulators/frodo/files/patch-SID.cpp new file mode 100644 index 000000000000..1b340e4795d7 --- /dev/null +++ b/emulators/frodo/files/patch-SID.cpp @@ -0,0 +1,20 @@ +--- SID.cpp.orig 2002-01-02 21:18:59.000000000 +0000 ++++ SID.cpp 2004-11-27 15:51:44.000000000 +0000 +@@ -428,7 +428,7 @@ + int play_buf; // Number of buffer currently playing + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + int devfd, sndbufsize, buffer_rate; + int16 *sound_buffer; + #endif +@@ -1351,7 +1351,7 @@ + #elif defined(AMIGA) + #include "SID_Amiga.i" + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD__) + #include "SID_linux.i" + + #elif defined(SUN) diff --git a/emulators/frodo/files/patch-SID_linux.i b/emulators/frodo/files/patch-SID_linux.i new file mode 100644 index 000000000000..b7ea9135a256 --- /dev/null +++ b/emulators/frodo/files/patch-SID_linux.i @@ -0,0 +1,15 @@ +--- SID_linux.i.orig 2002-01-02 21:17:00.000000000 +0000 ++++ SID_linux.i 2004-11-27 15:54:36.000000000 +0000 +@@ -8,7 +8,12 @@ + #include <unistd.h> + #include <fcntl.h> + #include <sys/ioctl.h> +-#include <linux/soundcard.h> ++ ++#if defined(__linux__) ++# include <linux/soundcard.h> ++#elif defined(__FreeBSD__) ++# include <machine/soundcard.h> ++#endif + + #include "VIC.h" |