diff options
Diffstat (limited to 'freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff')
-rw-r--r-- | freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff | 13 |
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(); + } + } |