Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 03:56:44 +0800 (CST)
From:      Kuang-che Wu <kcwu@kcwu.dyndns.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46169: fix audio/midimountain build problem on -current
Message-ID:  <200212101956.gBAJuigc007425@kcwu.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         46169
>Category:       ports
>Synopsis:       fix audio/midimountain build problem on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 10 12:00:11 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kuang-che Wu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD m722 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 26 18:00:18 CST 2002 root@m722:/usr/obj/usr/src/sys/M722 i386


	
>Description:
	a quick build fix for audio/midimountain
	
>How-To-Repeat:
	
>Fix:
diff -urN midimountain.old/files/patch-aa midimountain/files/patch-aa
--- midimountain.old/files/patch-aa	Thu Jan  1 08:00:00 1970
+++ midimountain/files/patch-aa	Wed Dec 11 03:44:04 2002
@@ -0,0 +1,58 @@
+diff -ur ../../work.old/midimountain-0.3.0/midimountain/mcEvent.h midimountain/mcEvent.h
+--- ../../work.old/midimountain-0.3.0/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 -ur ../../work.old/midimountain-0.3.0/midimountain/mcOSSIO.cpp midimountain/mcOSSIO.cpp
+--- ../../work.old/midimountain-0.3.0/midimountain/mcOSSIO.cpp	Wed Dec 11 03:42:13 2002
++++ midimountain/mcOSSIO.cpp	Wed Dec 11 03:30:56 2002
+@@ -8,6 +8,7 @@
+ #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 -ur ../../work.old/midimountain-0.3.0/midimountain/mvcMapperProperties.cpp midimountain/mvcMapperProperties.cpp
+--- ../../work.old/midimountain-0.3.0/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 -ur ../../work.old/midimountain-0.3.0/midimountain/stlini.h midimountain/stlini.h
+--- ../../work.old/midimountain-0.3.0/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

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212101956.gBAJuigc007425>