aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-07-03 02:13:07 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-07-03 02:13:07 +0800
commit8821a89ae3246543196fc37eded2fd10928c4a1d (patch)
tree0ba6641d2141a0f015b2ae4d2ebb5b09e6993805 /audio
parente871771d08a7b7269e94cbd829e2ae1db332c938 (diff)
downloadfreebsd-ports-gnome-8821a89ae3246543196fc37eded2fd10928c4a1d.tar.gz
freebsd-ports-gnome-8821a89ae3246543196fc37eded2fd10928c4a1d.tar.zst
freebsd-ports-gnome-8821a89ae3246543196fc37eded2fd10928c4a1d.zip
Use correct device to probe number of MIDI inputs.
PR: 112739 Submitted by: Devon H. O'Dell
Diffstat (limited to 'audio')
-rw-r--r--audio/midimountain/Makefile2
-rw-r--r--audio/midimountain/files/patch-midimountain::mcOSSIO.cpp11
2 files changed, 9 insertions, 4 deletions
diff --git a/audio/midimountain/Makefile b/audio/midimountain/Makefile
index c656eb72bda3..e11d19048054 100644
--- a/audio/midimountain/Makefile
+++ b/audio/midimountain/Makefile
@@ -8,7 +8,7 @@
PORTNAME= midimountain
PORTVERSION= 0.3.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.midimountain.com/download/ \
${MASTER_SITE_SOURCEFORGE}
diff --git a/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp b/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
index e629d26e0e39..d014040e2652 100644
--- a/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
+++ b/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
@@ -1,6 +1,6 @@
---- midimountain/mcOSSIO.cpp Wed Dec 11 23:35:35 2002
-+++ midimountain/mcOSSIO.cpp Wed Dec 11 23:35:37 2002
-@@ -1,13 +1,14 @@
+--- midimountain/mcOSSIO.cpp.orig Tue Oct 23 23:19:14 2001
++++ midimountain/mcOSSIO.cpp Mon Jul 2 14:09:01 2007
+@@ -1,17 +1,18 @@
//=============================================================================
// implementation class midi IO
//=============================================================================
@@ -16,6 +16,11 @@
// define static variables:
+-const char* TMidiOSSIO::sequencer = "/dev/music";
++const char* TMidiOSSIO::sequencer = "/dev/music0";
+ int TMidiOSSIO::class_count = 0;
+ uchar TMidiOSSIO::midi_write_packet[4] = {SEQ_MIDIPUTC, 0, 0, 0};
+ uchar TMidiOSSIO::midi_read_packet[4];
@@ -464,7 +465,7 @@
break;