diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-24 14:07:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-24 14:07:12 +0000 |
commit | 8aff9fca1214df7897f0779d3f9fd56c5eb32e01 (patch) | |
tree | 55a86f36ab952d1cf0689405cd90fd0ae854095c /games | |
parent | 1858e47f83b50610666829d6a0fac53196809fb5 (diff) | |
download | pkgsrc-8aff9fca1214df7897f0779d3f9fd56c5eb32e01.tar.gz |
Fix build with GCC 4.5
Diffstat (limited to 'games')
-rw-r--r-- | games/six/distinfo | 5 | ||||
-rw-r--r-- | games/six/patches/patch-six_carrier.h | 12 | ||||
-rw-r--r-- | games/six/patches/patch-six_hexgame.cpp | 12 | ||||
-rw-r--r-- | games/six/patches/patch-six_main.cpp | 12 |
4 files changed, 40 insertions, 1 deletions
diff --git a/games/six/distinfo b/games/six/distinfo index f8c22a42d60..21da9fe3c21 100644 --- a/games/six/distinfo +++ b/games/six/distinfo @@ -1,7 +1,10 @@ -$NetBSD: distinfo,v 1.3 2007/09/27 23:09:38 rillig Exp $ +$NetBSD: distinfo,v 1.4 2011/11/24 14:07:12 joerg Exp $ SHA1 (six-0.5.3.tar.gz) = 4e6281ea0bd420e941909206df381a283e77d149 RMD160 (six-0.5.3.tar.gz) = 3894ebdabe368a918efd4359ba9e2ed7e0d32279 Size (six-0.5.3.tar.gz) = 883013 bytes SHA1 (patch-batchh) = 2b46c2f8df4cdb046464bf0faf25f735df43b411 SHA1 (patch-lssolvecpp) = 7d4e6a82104fc55294ec4538c194c9af7f5a45ce +SHA1 (patch-six_carrier.h) = 8dec63519690149c6764744c236e8727e54909be +SHA1 (patch-six_hexgame.cpp) = 8583f5d034ed3cce5e3ed0ef3d416564ea2611c9 +SHA1 (patch-six_main.cpp) = ce1014045ab1ddb26eb654fbf682b65b2c4f60d5 diff --git a/games/six/patches/patch-six_carrier.h b/games/six/patches/patch-six_carrier.h new file mode 100644 index 00000000000..0a4509e21d2 --- /dev/null +++ b/games/six/patches/patch-six_carrier.h @@ -0,0 +1,12 @@ +$NetBSD: patch-six_carrier.h,v 1.1 2011/11/24 14:07:12 joerg Exp $ + +--- six/carrier.h.orig 2011-11-24 03:21:28.000000000 +0000 ++++ six/carrier.h +@@ -4,6 +4,7 @@ + + #include <iostream> + #include <vector> ++#include <cstring> + + using std::vector; + using std::istream; diff --git a/games/six/patches/patch-six_hexgame.cpp b/games/six/patches/patch-six_hexgame.cpp new file mode 100644 index 00000000000..45d27a7cb97 --- /dev/null +++ b/games/six/patches/patch-six_hexgame.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-six_hexgame.cpp,v 1.1 2011/11/24 14:07:12 joerg Exp $ + +--- six/hexgame.cpp.orig 2011-11-24 03:16:35.000000000 +0000 ++++ six/hexgame.cpp +@@ -3,6 +3,7 @@ + #include <cassert> + #include <cctype> + #include <cstdio> ++#include <cstdlib> + + #include <string> + diff --git a/games/six/patches/patch-six_main.cpp b/games/six/patches/patch-six_main.cpp new file mode 100644 index 00000000000..c2ad441ad54 --- /dev/null +++ b/games/six/patches/patch-six_main.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-six_main.cpp,v 1.1 2011/11/24 14:07:12 joerg Exp $ + +--- six/main.cpp.orig 2011-11-24 03:21:53.000000000 +0000 ++++ six/main.cpp +@@ -11,6 +11,7 @@ + #include <klocale.h> + #include <kmessagebox.h> + #include <qfile.h> ++#include <cstdlib> + + using std::cin; + |