From 45bde4d181430ef40888fc7b8d52bdafac72f822 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 11 Sep 2012 07:15:38 +0200 Subject: games/Scorched3D: Added a patch for the newer toolchain. Signed-off-by: Matteo Bernardini Signed-off-by: Robby Workman --- games/Scorched3D/Scorched3D.SlackBuild | 5 ++++- games/Scorched3D/scorched-svn_glibc-2.15_fix.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 games/Scorched3D/scorched-svn_glibc-2.15_fix.patch diff --git a/games/Scorched3D/Scorched3D.SlackBuild b/games/Scorched3D/Scorched3D.SlackBuild index 5d2b87b761..d1d23ab030 100644 --- a/games/Scorched3D/Scorched3D.SlackBuild +++ b/games/Scorched3D/Scorched3D.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=Scorched3D VERSION=43.1c -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,9 @@ patch -p1 -i $CWD/scorched3d-42.1-fixups.patch #fix building with libpng14 patch -p0 -i $CWD/scorched3d-43.1c-libpng14.patch +#fix for glibc-2.15 http://www.scorched3d.co.uk/mantisbt/view.php?id=156 +patch -p1 -i $CWD/scorched-svn_glibc-2.15_fix.patch + chmod +x ./autogen.sh ./autogen.sh diff --git a/games/Scorched3D/scorched-svn_glibc-2.15_fix.patch b/games/Scorched3D/scorched-svn_glibc-2.15_fix.patch new file mode 100644 index 0000000000..690d51f074 --- /dev/null +++ b/games/Scorched3D/scorched-svn_glibc-2.15_fix.patch @@ -0,0 +1,12 @@ +Index: scorched/src/client/client/SecureID.cpp +=================================================================== +--- scorched/src/client/client/SecureID.cpp (revision 549) ++++ scorched/src/client/client/SecureID.cpp (working copy) +@@ -75,6 +75,7 @@ + + #include + #include ++#include + + std::string SecureID::GetPrivateKey(void) + { -- cgit v1.2.3