diff options
author | agc <agc@pkgsrc.org> | 2000-01-11 11:32:11 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-01-11 11:32:11 +0000 |
commit | b47bd847625878cc10ba05910201966794c135fa (patch) | |
tree | 484221b259ec7f8cf368614998bea0e223c9a0c7 | |
parent | 1e43bb2f848f9ed6a129cf5f7b8e935c98e01f4d (diff) | |
download | pkgsrc-b47bd847625878cc10ba05910201966794c135fa.tar.gz |
Extra files for working rio program.
-rw-r--r-- | audio/rio/files/find-lpt-port | 12 | ||||
-rw-r--r-- | audio/rio/patches/patch-ac | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/audio/rio/files/find-lpt-port b/audio/rio/files/find-lpt-port new file mode 100644 index 00000000000..72e0ef8b74a --- /dev/null +++ b/audio/rio/files/find-lpt-port @@ -0,0 +1,12 @@ +#! /bin/sh +# $NetBSD: find-lpt-port,v 1.1 2000/01/11 11:32:11 agc Exp $ +# +# Small shell script to find the lpt port easily + +if [ -e /var/run/dmesg.boot ]; then + bootfile="/var/run/dmesg.boot" +else + bootfile='`dmesg`' +fi +@AWK@ '/^lp[at][0-9]+/ { gsub("\-.*", "", $5); print $5 }' < $bootfile +exit 0 diff --git a/audio/rio/patches/patch-ac b/audio/rio/patches/patch-ac new file mode 100644 index 00000000000..8ec3a82ba84 --- /dev/null +++ b/audio/rio/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2000/01/11 11:32:12 agc Exp $ + +--- makefile 2000/01/07 14:53:24 1.1 ++++ makefile 2000/01/07 14:53:54 +@@ -9,7 +9,7 @@ + all: rio + + rio: app.cpp rio.cpp +- g++ -O1 -o rio app.cpp rio.cpp ++ g++ -O1 -o rio app.cpp rio.cpp -li386 + chmod +s rio + + clean: |