summaryrefslogtreecommitdiffstats
path: root/games/crrcsim/fix_bug.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-12-08 16:01:49 +0100
committer Robby Workman2021-04-18 06:16:32 +0200
commit117686d1059545db7f5bf727e5010cf1b2c36edf (patch)
tree1b8ca8f15d3db32323004600f358a9cdefda2a02 /games/crrcsim/fix_bug.patch
parent04480e741826ed844379f32b99a111a26d2e7544 (diff)
downloadslackbuilds-117686d1059545db7f5bf727e5010cf1b2c36edf.tar.gz
games/crrcsim: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/crrcsim/fix_bug.patch')
-rw-r--r--games/crrcsim/fix_bug.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/crrcsim/fix_bug.patch b/games/crrcsim/fix_bug.patch
new file mode 100644
index 0000000000..b8eadeece9
--- /dev/null
+++ b/games/crrcsim/fix_bug.patch
@@ -0,0 +1,12 @@
+diff -ru crrcsim-0.9.13.old/src/mod_video/crrc_animation.cpp crrcsim-0.9.13/src/mod_video/crrc_animation.cpp
+--- crrcsim-0.9.13.old/src/mod_video/crrc_animation.cpp 2016-04-10 09:57:14.000000000 -0700
++++ crrcsim-0.9.13/src/mod_video/crrc_animation.cpp 2018-10-30 16:13:09.055770007 -0700
+@@ -84,7 +84,7 @@
+ else
+ {
+ std::cerr << "createAnimation: unknown animation type \'"
+- << type << "\'" << std::cerr;
++ << type << "\'" << std::endl;
+ }
+
+ if (anim != NULL)