summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-24 15:29:03 +0000
committerosa <osa@FreeBSD.org>2003-07-24 15:29:03 +0000
commita68d992490283ef794535652e61fb4a6deb0c237 (patch)
tree5b7c75dbab49d6fa98e65cb433cea82eba40088b /audio
parentb3604f495081540eed56c76103396dce6aaefe25 (diff)
downloadFreeBSD-ports-a68d992490283ef794535652e61fb4a6deb0c237.zip
FreeBSD-ports-a68d992490283ef794535652e61fb4a6deb0c237.tar.gz
Fix building under -CURRENT (gcc 3.3)
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'audio')
-rw-r--r--audio/midimountain/files/patch-midimountain::mvcSongProperties.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/midimountain/files/patch-midimountain::mvcSongProperties.cpp b/audio/midimountain/files/patch-midimountain::mvcSongProperties.cpp
new file mode 100644
index 0000000..4f24b2f
--- /dev/null
+++ b/audio/midimountain/files/patch-midimountain::mvcSongProperties.cpp
@@ -0,0 +1,19 @@
+--- midimountain/mvcSongProperties.cpp.orig Tue Jul 22 04:23:32 2003
++++ midimountain/mvcSongProperties.cpp Tue Jul 22 04:25:22 2003
+@@ -42,7 +42,8 @@
+ //=============================================================================
+ void TMvcSongProperties::SetData( void )
+ {
+- int* tmpInt = new int = 0;
++ int* tmpInt = new int;
++ *tmpInt = 0;
+
+ gtk_editable_insert_text( GTK_EDITABLE( FindWidget( "txtName" )),
+ fSequence->GetSequenceName(),
+@@ -111,4 +112,4 @@
+ void CancelClickedSongProp( GtkButton *button, gpointer user_data )
+ {
+ gtk_widget_hide( ((TMvcSongProperties*)user_data)->GetWidget() );
+-}
+\ No newline at end of file
++}
OpenPOWER on IntegriCloud