summaryrefslogtreecommitdiff
path: root/audio/mpmf20/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpmf20/files/patch-ab')
-rw-r--r--audio/mpmf20/files/patch-ab15
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/mpmf20/files/patch-ab b/audio/mpmf20/files/patch-ab
index d2b75d6c2022..8a6ff737e0b6 100644
--- a/audio/mpmf20/files/patch-ab
+++ b/audio/mpmf20/files/patch-ab
@@ -1,6 +1,6 @@
---- mpmf20.cpp.orig Wed Sep 22 22:55:50 1999
-+++ mpmf20.cpp Wed Sep 22 22:47:45 1999
-@@ -23,6 +23,17 @@
+--- mpmf20.cpp.orig Mon Apr 12 08:49:40 1999
++++ mpmf20.cpp Fri Feb 18 10:55:01 2000
+@@ -23,6 +23,24 @@
#define DELETEARRAY delete[]
#define STRICMP stricmp
@@ -9,6 +9,13 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <machine/cpufunc.h>
++ #if defined(__alpha__)
++ #include <sys/types.h>
++ extern "C" {
++ u_int8_t inb(u_int32_t);
++ void outb(u_int32_t, u_int8_t);
++ }
++ #endif
+ #define OUTPORT(p,v) outb( (p), (v) )
+ #define INPORT(p) inb( p )
+ #define CLOCK_SECOND CLOCKS_PER_SEC
@@ -18,7 +25,7 @@
#elif defined(__linux__)
// linux g++
#include <unistd.h>
-@@ -237,6 +248,15 @@
+@@ -237,6 +255,15 @@
// init error
m_szError[ 0 ] = 0;
m_iIDError = CMPMF20_ERROR_NONE;