diff options
author | steve <steve@FreeBSD.org> | 2000-02-21 04:52:31 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-02-21 04:52:31 +0800 |
commit | 3840f8681fb430df786cd162c1d9ae94d2d361f1 (patch) | |
tree | 923b9a1c76bedd5a93f182c2c4bde4d12910d930 /audio | |
parent | e09de4200e068beb3bc8a929eec46de5d0c4d45a (diff) | |
download | freebsd-ports-gnome-3840f8681fb430df786cd162c1d9ae94d2d361f1.tar.gz freebsd-ports-gnome-3840f8681fb430df786cd162c1d9ae94d2d361f1.tar.zst freebsd-ports-gnome-3840f8681fb430df786cd162c1d9ae94d2d361f1.zip |
Add support for FreeBSD/Alpha.
Diffstat (limited to 'audio')
-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 |