diff options
author | osa <osa@FreeBSD.org> | 2003-07-24 15:29:03 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-07-24 15:29:03 +0000 |
commit | a68d992490283ef794535652e61fb4a6deb0c237 (patch) | |
tree | 5b7c75dbab49d6fa98e65cb433cea82eba40088b /audio | |
parent | b3604f495081540eed56c76103396dce6aaefe25 (diff) | |
download | FreeBSD-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.cpp | 19 |
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 ++} |