games/Scorched3D: Added a patch for the newer toolchain.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
c9699ec40f
commit
45bde4d181
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
std::string SecureID::GetPrivateKey(void)
|
||||
{
|
Loading…
Reference in New Issue