diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:52:31 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:52:31 +0000 |
commit | 6d4a92f25089b83305bebc2e98bc11a0ede189eb (patch) | |
tree | 5a76e59b2926952cc2046325a1347a089497451a /audio/mpmf20 | |
parent | eba14b4985f2c0aa7ddc1fc22fac40f66094c3a5 (diff) | |
download | ports-6d4a92f25089b83305bebc2e98bc11a0ede189eb.tar.gz ports-6d4a92f25089b83305bebc2e98bc11a0ede189eb.zip |
Notes
Diffstat (limited to 'audio/mpmf20')
-rw-r--r-- | audio/mpmf20/files/patch-ab | 15 | ||||
-rw-r--r-- | audio/mpmf20/files/patch-ac | 15 |
2 files changed, 22 insertions, 8 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; diff --git a/audio/mpmf20/files/patch-ac b/audio/mpmf20/files/patch-ac index 7e5913ab4626..b58f52cf5668 100644 --- a/audio/mpmf20/files/patch-ac +++ b/audio/mpmf20/files/patch-ac @@ -1,12 +1,19 @@ ---- makefile.orig Mon Apr 12 06:49:40 1999 -+++ makefile Mon Sep 27 10:48:08 1999 -@@ -9,8 +9,7 @@ +--- makefile.orig Mon Apr 12 08:49:40 1999 ++++ makefile Fri Feb 18 10:56:04 2000 +@@ -6,11 +6,14 @@ + # + ############################################################################### + ++.if ${MACHINE_ARCH} == "alpha" ++LDADD= -lio ++.endif ++ all: mpmf20 mpmf20: app.cpp mpmf20.cpp - g++ -O1 -o mpmf20 app.cpp mpmf20.cpp - chmod +s mpmf20 -+ ${CXX} ${CXXFLAGS} -o mpmf20 app.cpp mpmf20.cpp ++ ${CXX} ${CXXFLAGS} -o mpmf20 app.cpp mpmf20.cpp ${LDADD} clean: rm -f mpmf20 |