summaryrefslogtreecommitdiffstats
path: root/freebsd/tdegames/files
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-06 01:30:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-06 01:31:02 +0200
commit9010047840d810d9ccba3d00b7943a842e125291 (patch)
tree7698717495c9bc52be2bc8ab526071f3063b466d /freebsd/tdegames/files
parentb4f5663d87c16e08aaef66346f4b22eba2de80bd (diff)
downloadtde-packaging-9010047840d810d9ccba3d00b7943a842e125291.tar.gz
tde-packaging-9010047840d810d9ccba3d00b7943a842e125291.zip
FreeBSD: Update for final release R14.0.5r14.0.5
Additional patches due to stricter C++11 in Clang A new mkspec for Clang is used to build TQt Akode is now part of the TDE repository Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/tdegames/files')
-rw-r--r--freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff b/freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff
new file mode 100644
index 000000000..ae3f37b4b
--- /dev/null
+++ b/freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff
@@ -0,0 +1,13 @@
+diff --git a/kshisen/board.cpp b/kshisen/board.cpp
+index ce8c915..a19f060 100644
+--- a/kshisen/board.cpp
++++ b/kshisen/board.cpp
+@@ -730,7 +730,7 @@ void Board::undrawConnection()
+ // game is over?
+ if(!getHint_I(dummyPath))
+ {
+- time_for_game = (int)difftime( time((time_t)0), starttime);
++ time_for_game = (int)difftime( time(0), starttime);
+ emit endOfGame();
+ }
+ }