mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
games/openspades: Patched to fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
ecfd131936
commit
f53a4f0e29
2 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,49 @@
|
|||
From 0ac59fdbae2c6e496b28b4fc01b52a02622e8146 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Walladge <samuel@swalladge.id.au>
|
||||
Date: Mon, 7 Mar 2016 09:37:15 +1030
|
||||
Subject: [PATCH] fixed isnan not declared
|
||||
|
||||
---
|
||||
Sources/Client/Client_Input.cpp | 1 +
|
||||
Sources/Client/Corpse.cpp | 2 ++
|
||||
Sources/Draw/SWMapRenderer.cpp | 2 ++
|
||||
3 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/Sources/Client/Client_Input.cpp b/Sources/Client/Client_Input.cpp
|
||||
index d30861b..917719e 100644
|
||||
--- a/Sources/Client/Client_Input.cpp
|
||||
+++ b/Sources/Client/Client_Input.cpp
|
||||
@@ -38,6 +38,7 @@
|
||||
|
||||
#include "NetClient.h"
|
||||
|
||||
+using namespace std;
|
||||
|
||||
SPADES_SETTING(cg_mouseSensitivity, "1");
|
||||
SPADES_SETTING(cg_zoomedMouseSensScale, "0.6");
|
||||
diff --git a/Sources/Client/Corpse.cpp b/Sources/Client/Corpse.cpp
|
||||
index 1376926..b3eb455 100644
|
||||
--- a/Sources/Client/Corpse.cpp
|
||||
+++ b/Sources/Client/Corpse.cpp
|
||||
@@ -27,6 +27,8 @@
|
||||
#include "../Core/Debug.h"
|
||||
#include "../Core/Settings.h"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
SPADES_SETTING(r_corpseLineCollision, "1");
|
||||
|
||||
namespace spades {
|
||||
diff --git a/Sources/Draw/SWMapRenderer.cpp b/Sources/Draw/SWMapRenderer.cpp
|
||||
index c2e310b..0e47b7b 100644
|
||||
--- a/Sources/Draw/SWMapRenderer.cpp
|
||||
+++ b/Sources/Draw/SWMapRenderer.cpp
|
||||
@@ -31,6 +31,8 @@
|
||||
#include "SWUtils.h"
|
||||
#include <cstdint>
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
SPADES_SETTING(r_swUndersampling, "0");
|
||||
|
||||
namespace spades {
|
|
@ -69,6 +69,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# https://github.com/yvt/openspades/pull/388
|
||||
patch -p1 < $CWD/86de4031c6c647b4d74196181f6754486ad1c340.patch
|
||||
|
||||
# copy develompent packs
|
||||
mkdir -p build/Resources
|
||||
cp $CWD/DevPaks27.zip build/Resources
|
||||
|
|
Loading…
Reference in a new issue