summaryrefslogtreecommitdiffstats
path: root/games/Scorched3D/gcc.patch
diff options
context:
space:
mode:
author David Spencer <idlemoor@slackbuilds.org>2017-07-09 14:45:05 +0100
committer David Spencer <idlemoor@slackbuilds.org>2017-07-12 16:39:16 +0100
commitbaf9ccc73e5eebde5cb72b6a79d7f6b63608c1e7 (patch)
treeb3a2f11b0ece13f369e6162aad3b39366d804d48 /games/Scorched3D/gcc.patch
parent2c41e9fb080b97b6aba3a1609221806321a6e54f (diff)
downloadslackbuilds-baf9ccc73e5eebde5cb72b6a79d7f6b63608c1e7.tar.gz
slackbuilds-baf9ccc73e5eebde5cb72b6a79d7f6b63608c1e7.tar.xz
games/Scorched3D: Fixed patch line endings.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/Scorched3D/gcc.patch')
-rw-r--r--games/Scorched3D/gcc.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/Scorched3D/gcc.patch b/games/Scorched3D/gcc.patch
index d97aeeb894..622c28a2fa 100644
--- a/games/Scorched3D/gcc.patch
+++ b/games/Scorched3D/gcc.patch
@@ -1,11 +1,11 @@
--- scorched/src/common/weapons/AccessoryStore.cpp.orig 2017-07-07 22:27:57.777261322 +0700
+++ scorched/src/common/weapons/AccessoryStore.cpp 2017-07-07 22:39:34.368313611 +0700
@@ -156,7 +156,7 @@
- Accessory *parent, XMLNode *currentNode)
- {
- XMLNode *typeNode = 0;
-- if (!currentNode->getNamedParameter("type", typeNode)) return false;
-+ if (!currentNode->getNamedParameter("type", typeNode)) return 0;
-
- AccessoryPart *accessoryPart =
- AccessoryMetaRegistration::getNewAccessory(typeNode->getContent(), this);
+ Accessory *parent, XMLNode *currentNode)
+ {
+ XMLNode *typeNode = 0;
+- if (!currentNode->getNamedParameter("type", typeNode)) return false;
++ if (!currentNode->getNamedParameter("type", typeNode)) return 0;
+
+ AccessoryPart *accessoryPart =
+ AccessoryMetaRegistration::getNewAccessory(typeNode->getContent(), this);