diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-02 06:26:41 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-02 06:26:41 +0000 |
commit | 562df8fa984cdbcf02133cb709229d6664d5f3ca (patch) | |
tree | e2aef57a1e639aaf67e5e4e3425b4a35cf6fb223 /games | |
parent | c948d3e2c97ae94b36719b705a0eaf0e8cb0a4d1 (diff) | |
download | ports-562df8fa984cdbcf02133cb709229d6664d5f3ca.tar.gz ports-562df8fa984cdbcf02133cb709229d6664d5f3ca.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/spellathon/files/patch-src_cl_main.cc | 15 | ||||
-rw-r--r-- | games/spellathon/files/patch-src_gui_mainwindow.cc | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/games/spellathon/files/patch-src_cl_main.cc b/games/spellathon/files/patch-src_cl_main.cc new file mode 100644 index 000000000000..120010e31f74 --- /dev/null +++ b/games/spellathon/files/patch-src_cl_main.cc @@ -0,0 +1,15 @@ +main.cc:378:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + fprintf(stderr, "Spellathon "VERSION" (svn%s) (c)"COPYRIGHT"\n\n" + ^ + +--- src/cl/main.cc.orig 2018-08-02 06:21:54 UTC ++++ src/cl/main.cc +@@ -375,7 +375,7 @@ static void + help(void) + { + const char* svn_version(void); +- fprintf(stderr, "Spellathon "VERSION" (svn%s) (c)"COPYRIGHT"\n\n" ++ fprintf(stderr, "Spellathon " VERSION " (svn%s) (c)" COPYRIGHT "\n\n" + "usage: spellathon <option> [sub-options ...]\n\n" + "Options:\n" + " -i -- Game instructions.\n" diff --git a/games/spellathon/files/patch-src_gui_mainwindow.cc b/games/spellathon/files/patch-src_gui_mainwindow.cc new file mode 100644 index 000000000000..76a60d7b974e --- /dev/null +++ b/games/spellathon/files/patch-src_gui_mainwindow.cc @@ -0,0 +1,15 @@ +mainwindow.cc:351:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>"VERSION" <font color=\"gray\">(svn%1)</font><br><br>©"COPYRIGHT"<br>").arg(svn_version())); + ^ + +--- src/gui/mainwindow.cc.orig 2018-08-02 06:22:41 UTC ++++ src/gui/mainwindow.cc +@@ -348,7 +348,7 @@ void + MainWindow::about() + { + const char* svn_version(); +- QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>"VERSION" <font color=\"gray\">(svn%1)</font><br><br>©"COPYRIGHT"<br>").arg(svn_version())); ++ QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>" VERSION " <font color=\"gray\">(svn%1)</font><br><br>©" COPYRIGHT "<br>").arg(svn_version())); + } + + void |