Patch to fix FTBFS on ppc64le

This commit is contained in:
Link Dupont 2016-11-01 07:41:55 -07:00
parent 119344b96b
commit 1fd8a1dc86
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- SConstruct.orig2 2016-10-04 05:44:52.000000000 -0700
+++ SConstruct 2016-10-31 23:09:20.880648829 -0700
@@ -22,7 +22,7 @@
Help(opts.GenerateHelpText(env))
-flags = ["-std=c++11", "-Wall"]
+flags = ["-std=gnu++11", "-Wall"]
if env["mode"] != "debug":
flags += ["-O3"]
if env["mode"] == "debug":

View File

@ -13,6 +13,9 @@ Source0: https://github.com/%{name}/%{name}/archive/%{gittag0}.tar.gz#/%{name}-%
# Patch not submitted upstream. Upstream conforms to Debian packaging
# standards where the use of /usr/games is acceptable.
Patch0: endless-sky-0.8.10-remove-games-path.patch
# Use gnu++11 standard instead of c++11. Fixes a FTBFS issue on ppc64le.
# https://github.com/endless-sky/endless-sky/pull/1804
Patch1: endless-sky-0.9.4-std-gnu++11.patch
Requires: %{name}-data = %{version}-%{release}
BuildRequires: scons