From c849de6e0f8c8ffd026b58af2634a42ea060c677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 5 Sep 2020 07:48:57 +0200 Subject: [PATCH] endless-sky: fix build w/ gcc10; remove archs=noarch --- srcpkgs/endless-sky/patches/string.patch | 10 ++++++++++ srcpkgs/endless-sky/template | 3 +-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/endless-sky/patches/string.patch diff --git a/srcpkgs/endless-sky/patches/string.patch b/srcpkgs/endless-sky/patches/string.patch new file mode 100644 index 0000000000..68e7a9e055 --- /dev/null +++ b/srcpkgs/endless-sky/patches/string.patch @@ -0,0 +1,10 @@ +--- source/Panel.h 2020-05-01 21:02:38.000000000 +0200 ++++ source/Panel.h 2020-09-05 07:34:01.667091079 +0200 +@@ -15,6 +15,7 @@ + + #include "Rectangle.h" + ++#include + #include + #include + diff --git a/srcpkgs/endless-sky/template b/srcpkgs/endless-sky/template index 829bdf28df..be7745631f 100644 --- a/srcpkgs/endless-sky/template +++ b/srcpkgs/endless-sky/template @@ -1,7 +1,7 @@ # Template file for 'endless-sky' pkgname=endless-sky version=0.9.12 -revision=1 +revision=2 build_style=scons makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel libopenal-devel libpng-devel" @@ -15,7 +15,6 @@ checksum=31f76ac11666415478678d924174d43a620a7fd1093e95131776aed12b912eb4 endless-sky-data_package() { short_desc+=" - data files" - archs=noarch pkg_install() { vmove usr/share/games/endless-sky }