From 9da828aac0fdfcff951e29587a24dd94debcc34f Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 23 Nov 2011 23:29:45 +0000 Subject: Fix build with newer GCC --- games/asc/distinfo | 7 ++++++- games/asc/patches/patch-source_ASCStringHelpers.h | 12 ++++++++++++ games/asc/patches/patch-source_Property.cpp | 12 ++++++++++++ games/asc/patches/patch-source_password.cpp | 12 ++++++++++++ games/asc/patches/patch-source_strtmesg.cpp | 13 +++++++++++++ games/asc/patches/patch-source_tools_lib_errorout.cpp | 12 ++++++++++++ 6 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 games/asc/patches/patch-source_ASCStringHelpers.h create mode 100644 games/asc/patches/patch-source_Property.cpp create mode 100644 games/asc/patches/patch-source_password.cpp create mode 100644 games/asc/patches/patch-source_strtmesg.cpp create mode 100644 games/asc/patches/patch-source_tools_lib_errorout.cpp (limited to 'games/asc') diff --git a/games/asc/distinfo b/games/asc/distinfo index 2fd963b60a4..cedae67c877 100644 --- a/games/asc/distinfo +++ b/games/asc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2007/03/10 17:08:18 wiz Exp $ +$NetBSD: distinfo,v 1.10 2011/11/23 23:29:45 joerg Exp $ SHA1 (asc/asc-source-1.16.4.0.tar.bz2) = 338081823943e08848325e6f2126e5c533517ae9 RMD160 (asc/asc-source-1.16.4.0.tar.bz2) = a4de675628875cc36f30b39d1fb1ef3ac879e369 @@ -12,3 +12,8 @@ Size (asc/machine_wars.mp3) = 2905989 bytes SHA1 (asc/time_to_strike.mp3) = 76abf03155d9a21584f30c20370db0a93449c78a RMD160 (asc/time_to_strike.mp3) = a402a00e490f7aca0871b52165d63f3bde3b3bff Size (asc/time_to_strike.mp3) = 3242969 bytes +SHA1 (patch-source_ASCStringHelpers.h) = e13e259fb2ce8ca674692b928e536594f243c0be +SHA1 (patch-source_Property.cpp) = a8a8e154f8aa5a884cb9fe0e74c806dcaf3020b2 +SHA1 (patch-source_password.cpp) = fa56110a045e111f772f09b9e9998d84a76e7d5a +SHA1 (patch-source_strtmesg.cpp) = 3aa86f7e739983294a86c9ab5a8c0c4a6007c449 +SHA1 (patch-source_tools_lib_errorout.cpp) = 9ccfa2d4447a3606fe72c9a60e79881fdfc1b080 diff --git a/games/asc/patches/patch-source_ASCStringHelpers.h b/games/asc/patches/patch-source_ASCStringHelpers.h new file mode 100644 index 00000000000..97d034e7c46 --- /dev/null +++ b/games/asc/patches/patch-source_ASCStringHelpers.h @@ -0,0 +1,12 @@ +$NetBSD: patch-source_ASCStringHelpers.h,v 1.1 2011/11/23 23:29:45 joerg Exp $ + +--- source/ASCStringHelpers.h.orig 2011-11-23 16:20:40.000000000 +0000 ++++ source/ASCStringHelpers.h +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + using std::auto_ptr; + using std::string; diff --git a/games/asc/patches/patch-source_Property.cpp b/games/asc/patches/patch-source_Property.cpp new file mode 100644 index 00000000000..8135213ad72 --- /dev/null +++ b/games/asc/patches/patch-source_Property.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-source_Property.cpp,v 1.1 2011/11/23 23:29:45 joerg Exp $ + +--- source/Property.cpp.orig 2011-11-23 16:22:56.000000000 +0000 ++++ source/Property.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/ + + #include ++#include + #include "Property.h" + + TextProperty::TextProperty() diff --git a/games/asc/patches/patch-source_password.cpp b/games/asc/patches/patch-source_password.cpp new file mode 100644 index 00000000000..9a1d22992f2 --- /dev/null +++ b/games/asc/patches/patch-source_password.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-source_password.cpp,v 1.1 2011/11/23 23:29:45 joerg Exp $ + +--- source/password.cpp.orig 2011-11-23 16:24:05.000000000 +0000 ++++ source/password.cpp +@@ -20,6 +20,7 @@ + * * + ***************************************************************************/ + ++#include + #include "password.h" + #include "misc.h" + diff --git a/games/asc/patches/patch-source_strtmesg.cpp b/games/asc/patches/patch-source_strtmesg.cpp new file mode 100644 index 00000000000..6c37abc6035 --- /dev/null +++ b/games/asc/patches/patch-source_strtmesg.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-source_strtmesg.cpp,v 1.1 2011/11/23 23:29:45 joerg Exp $ + +--- source/strtmesg.cpp.orig 2011-11-23 16:19:17.000000000 +0000 ++++ source/strtmesg.cpp +@@ -25,6 +25,8 @@ + const char* asc_release="ASC1.16.4.0"; + + #include ++#include ++#include + #include "strtmesg.h" + #include "stringtokenizer.h" + #include "misc.h" diff --git a/games/asc/patches/patch-source_tools_lib_errorout.cpp b/games/asc/patches/patch-source_tools_lib_errorout.cpp new file mode 100644 index 00000000000..7c1187fe6e8 --- /dev/null +++ b/games/asc/patches/patch-source_tools_lib_errorout.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-source_tools_lib_errorout.cpp,v 1.1 2011/11/23 23:29:45 joerg Exp $ + +--- source/tools/lib/errorout.cpp.orig 2011-11-23 16:28:24.000000000 +0000 ++++ source/tools/lib/errorout.cpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + #ifdef _WIN32_ + # include -- cgit v1.2.3