summaryrefslogtreecommitdiff
path: root/audio/rio
diff options
context:
space:
mode:
authoragc <agc>2000-01-11 11:32:11 +0000
committeragc <agc>2000-01-11 11:32:11 +0000
commitbf57c8b88e4082fabeb037561f98bcb1c9bc2123 (patch)
tree484221b259ec7f8cf368614998bea0e223c9a0c7 /audio/rio
parent05274a6fe8513d3a718db989b43de007826d1747 (diff)
downloadpkgsrc-bf57c8b88e4082fabeb037561f98bcb1c9bc2123.tar.gz
Extra files for working rio program.
Diffstat (limited to 'audio/rio')
-rw-r--r--audio/rio/files/find-lpt-port12
-rw-r--r--audio/rio/patches/patch-ac13
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: