svn commit: r329028 - head/graphics/sharpconstruct/files
John Marino
marino at FreeBSD.org
Wed Oct 2 09:44:43 UTC 2013
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();
More information about the svn-ports-head
mailing list