diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-23 07:00:41 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:57:11 -0500 |
commit | 3e3a690d3250efb239c1c0b272e794172649111a (patch) | |
tree | 6bee09d09d5ee0e1b20336686b5ed821549bb019 /games/rlvm | |
parent | df5628d077ef0594859f3d8029605c0eaacdb027 (diff) |
games/rlvm: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/rlvm')
-rw-r--r-- | games/rlvm/gcc.patch | 24 | ||||
-rw-r--r-- | games/rlvm/rlvm.SlackBuild | 3 |
2 files changed, 27 insertions, 0 deletions
diff --git a/games/rlvm/gcc.patch b/games/rlvm/gcc.patch new file mode 100644 index 000000000000..fc4bedfb6902 --- /dev/null +++ b/games/rlvm/gcc.patch @@ -0,0 +1,24 @@ +From 668863d2222b962ee8e7d9829e972ef05c990302 Mon Sep 17 00:00:00 2001 +From: Elliot Glaysher <glaysher@umich.edu> +Date: Sun, 22 May 2016 10:29:27 -0700 +Subject: [PATCH] Theoretical compile fix for gcc 4 series. + +Adds <iostream> to GraphicsObject. + +Closes #76. +--- + src/systems/base/graphics_object.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/systems/base/graphics_object.cc b/src/systems/base/graphics_object.cc +index 9490b3b0..af22177d 100644 +--- a/src/systems/base/graphics_object.cc ++++ b/src/systems/base/graphics_object.cc +@@ -36,6 +36,7 @@ + #include <boost/serialization/shared_ptr.hpp> + + #include <algorithm> ++#include <iostream> + #include <numeric> + #include <sstream> + #include <string> diff --git a/games/rlvm/rlvm.SlackBuild b/games/rlvm/rlvm.SlackBuild index cce10004ed62..b4561a4ddde6 100644 --- a/games/rlvm/rlvm.SlackBuild +++ b/games/rlvm/rlvm.SlackBuild @@ -59,6 +59,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 {} \; +# From upstream +patch -p1 < $CWD/gcc.patch + scons --release mkdir -p ${PKG}/usr/games ${PKG}/usr/bin |