Date: Wed, 2 Oct 2013 09:44:42 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329028 - head/graphics/sharpconstruct/files Message-ID: <201310020944.r929igW0061592@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Oct 2 09:44:42 2013 New Revision: 329028 URL: http://svnweb.freebsd.org/changeset/ports/329028 Log: graphics/sharpconstruct: Fix c++ -fpermissive errors on modern compilers Approved by: portmgr (bapt, implicit) Added: head/graphics/sharpconstruct/files/patch-src_MainWindow.cc (contents, props changed) Added: head/graphics/sharpconstruct/files/patch-src_MainWindow.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/sharpconstruct/files/patch-src_MainWindow.cc Wed Oct 2 09:44:42 2013 (r329028) @@ -0,0 +1,20 @@ +--- src/MainWindow.cc.orig 2013-10-02 09:31:18.000000000 +0000 ++++ src/MainWindow.cc +@@ -786,7 +786,7 @@ void MainWindow::on_speed_test_clicked_( + output += ToString( times[ i ] ) + " seconds\n"; + adder += times[ i ]; + } +- Gtk::MessageDialog::MessageDialog( *mw, "Times:\n" + output + ++ Gtk::MessageDialog( *mw, "Times:\n" + output + + "\nAverage: " + ToString( adder / runs ) + + " seconds" ).run(); + } +@@ -810,7 +810,7 @@ void MainWindow::on_speed_test_clicked_( + for( unsigned i = 0; i < runs; ++i ) + editor_.event( (GdkEvent*)( &click ) ); + timer.stop(); +- Gtk::MessageDialog::MessageDialog( *mw, ToString( timer.elapsed() ) + " seconds" ).run(); ++ Gtk::MessageDialog( *mw, ToString( timer.elapsed() ) + " seconds" ).run(); + + /*em.type = GDK_MOTION_NOTIFY; + em.window = editor_.get_window()->gobj();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310020944.r929igW0061592>