diff options
author | joerg <joerg> | 2017-02-08 00:04:53 +0000 |
---|---|---|
committer | joerg <joerg> | 2017-02-08 00:04:53 +0000 |
commit | 020fa627760b063582a4af54e6e10cbb4f36cb23 (patch) | |
tree | 65da1d9a2f350c2b30c50eeba092801229389faf /games/kajaani-kombat/patches/patch-game__server.cpp | |
parent | a76f7c8ac1db922a5364379617641ff94fe99791 (diff) | |
download | pkgsrc-020fa627760b063582a4af54e6e10cbb4f36cb23.tar.gz |
Fix format strings. Fix ordering of pointers relative to 0. Bump
revision.
Diffstat (limited to 'games/kajaani-kombat/patches/patch-game__server.cpp')
-rw-r--r-- | games/kajaani-kombat/patches/patch-game__server.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/kajaani-kombat/patches/patch-game__server.cpp b/games/kajaani-kombat/patches/patch-game__server.cpp new file mode 100644 index 00000000000..ea75c7bbcc8 --- /dev/null +++ b/games/kajaani-kombat/patches/patch-game__server.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-game__server.cpp,v 1.1 2017/02/08 00:04:53 joerg Exp $ + +Pointers are not relative to 0. + +--- game_server.cpp.orig 2017-01-08 19:35:01.809714788 +0000 ++++ game_server.cpp +@@ -64,7 +64,7 @@ void game_server::init_net() + + // OK, init server thread to listen to clients + con_th = SDL_CreateThread (&game_server::connection_accepter, (void *) this); +- if (con_th < 0) ++ if (!con_th) + { + fprintf (stderr, "[SRV] Error starting thread: %s\n", SDL_GetError()); + exit(2); |