diff options
author | osa <osa@FreeBSD.org> | 2003-07-24 23:29:03 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-07-24 23:29:03 +0800 |
commit | a68d992490283ef794535652e61fb4a6deb0c237 (patch) | |
tree | 5b7c75dbab49d6fa98e65cb433cea82eba40088b /audio/midimountain | |
parent | b3604f495081540eed56c76103396dce6aaefe25 (diff) | |
download | freebsd-ports-gnome-a68d992490283ef794535652e61fb4a6deb0c237.tar.gz freebsd-ports-gnome-a68d992490283ef794535652e61fb4a6deb0c237.tar.zst freebsd-ports-gnome-a68d992490283ef794535652e61fb4a6deb0c237.zip |
Fix building under -CURRENT (gcc 3.3)
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'audio/midimountain')
-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 000000000000..4f24b2f4fcca --- /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 ++} |