mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/rlvm: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
df5628d077
commit
3e3a690d32
2 changed files with 27 additions and 0 deletions
24
games/rlvm/gcc.patch
Normal file
24
games/rlvm/gcc.patch
Normal file
|
@ -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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue