summaryrefslogtreecommitdiff
path: root/audio/midimountain
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-12-11 12:37:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-12-11 12:37:28 +0000
commit74aab77ef54192625b28c620980de76f08a1513d (patch)
tree67d236746604faa307172248f14d0c1cfdd98b95 /audio/midimountain
parentspelling-typo (diff)
Make audio/midimountain compiled again with the new GCC
PR: ports/46169 Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Notes
Notes: svn path=/head/; revision=71533
Diffstat (limited to 'audio/midimountain')
-rw-r--r--audio/midimountain/files/patch-midimountain::mcEvent.h11
-rw-r--r--audio/midimountain/files/patch-midimountain::mcOSSIO.cpp22
-rw-r--r--audio/midimountain/files/patch-midimountain::mvcMapperProperties.cpp11
-rw-r--r--audio/midimountain/files/patch-midimountain::stlini.h13
4 files changed, 54 insertions, 3 deletions
diff --git a/audio/midimountain/files/patch-midimountain::mcEvent.h b/audio/midimountain/files/patch-midimountain::mcEvent.h
new file mode 100644
index 000000000000..16821f687dae
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::mcEvent.h
@@ -0,0 +1,11 @@
+--- midimountain/mcEvent.h Tue May 1 10:41:05 2001
++++ midimountain/mcEvent.h Wed Dec 11 03:33:41 2002
+@@ -25,6 +25,8 @@
+
+ #include <mcTrack.h>
+ #include <mcList.h>
++#include <iostream>
++using namespace std;
+
+ const short cWFOK = 0;
+ const short cWFPlaying = 1;
diff --git a/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp b/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
index 812107ac5e51..e629d26e0e39 100644
--- a/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
+++ b/audio/midimountain/files/patch-midimountain::mcOSSIO.cpp
@@ -1,6 +1,6 @@
---- midimountain/mcOSSIO.cpp.orig Sat Dec 15 14:03:49 2001
-+++ midimountain/mcOSSIO.cpp Sat Dec 15 14:03:56 2001
-@@ -1,7 +1,7 @@
+--- midimountain/mcOSSIO.cpp Wed Dec 11 23:35:35 2002
++++ midimountain/mcOSSIO.cpp Wed Dec 11 23:35:37 2002
+@@ -1,13 +1,14 @@
//=============================================================================
// implementation class midi IO
//=============================================================================
@@ -9,3 +9,19 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+ #include <string.h>
+ #include <iostream.h>
+ #include <mcOSSIO.h>
++#include <iomanip>
+
+
+ // define static variables:
+@@ -464,7 +465,7 @@
+ break;
+
+ default:
+- cout << "unknown EV_TIMING" << hex << buf[i+1];
++ cout << "unknown EV_TIMING" << std::hex << buf[i+1];
+ break;
+ }
+ i += 8;
diff --git a/audio/midimountain/files/patch-midimountain::mvcMapperProperties.cpp b/audio/midimountain/files/patch-midimountain::mvcMapperProperties.cpp
new file mode 100644
index 000000000000..a0a61ca6179b
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::mvcMapperProperties.cpp
@@ -0,0 +1,11 @@
+--- midimountain/mvcMapperProperties.cpp Wed Oct 24 09:47:34 2001
++++ midimountain/mvcMapperProperties.cpp Wed Dec 11 03:23:50 2002
+@@ -3,6 +3,8 @@
+ //=============================================================================
+ #include <mvcMapperProperties.h>
+ #include <stdio.h>
++#include <iostream>
++using namespace std;
+
+ void CloseClickedMapperProperties( GtkButton *button, gpointer user_data );
+ void AddPresetClickedMapperProperties( GtkButton *button, gpointer user_data );
diff --git a/audio/midimountain/files/patch-midimountain::stlini.h b/audio/midimountain/files/patch-midimountain::stlini.h
new file mode 100644
index 000000000000..20ef3d161417
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::stlini.h
@@ -0,0 +1,13 @@
+--- midimountain/stlini.h Tue May 1 09:54:22 2001
++++ midimountain/stlini.h Wed Dec 11 03:22:23 2002
+@@ -1,3 +1,5 @@
++#ifndef _STLINI_H_
++#define _STLINI_H_
+ #include <map>
+ #include <string>
+ using namespace std;
+@@ -14,3 +16,4 @@
+ void SaveIni(INIFile &theINI, const char *filename);
+ INIFile LoadIni(const char *filename);
+
++#endif