diff options
author | edwin <edwin@FreeBSD.org> | 2002-12-11 20:37:28 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-12-11 20:37:28 +0800 |
commit | dd95692b8f075205f840e44677d75f31bfcb795f (patch) | |
tree | a2af1fb541149ebdd6d92c9733412d0e86d12d5a /audio/midimountain | |
parent | 51c4738534124a8f97befa54e95ad3c6342f48c2 (diff) | |
download | freebsd-ports-gnome-dd95692b8f075205f840e44677d75f31bfcb795f.tar.gz freebsd-ports-gnome-dd95692b8f075205f840e44677d75f31bfcb795f.tar.zst freebsd-ports-gnome-dd95692b8f075205f840e44677d75f31bfcb795f.zip |
Make audio/midimountain compiled again with the new GCC
PR: ports/46169
Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Diffstat (limited to 'audio/midimountain')
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 |