From 1821d2f44d4b584a3d710bcb5c2d9a405ec717fb Mon Sep 17 00:00:00 2001 From: sagitter Date: Oct 25 2016 10:25:57 +0000 Subject: 'sed' patch for AARCH64 builds --- diff --git a/pioneer.spec b/pioneer.spec index 3d8dbb1..24dedec 100644 --- a/pioneer.spec +++ b/pioneer.spec @@ -8,7 +8,7 @@ Name: pioneer Summary: A game of lonely space adventure Version: 20161022 -Release: 1%{?dist} +Release: 2%{?dist} ## Main license: GPLv3 ## Dejavu font license: Bitstream Vera and Public Domain @@ -128,9 +128,10 @@ find . -type f -name "*.png" -exec convert {} -strip {} \; ## Set NaturalDocs name sed -e 's|naturaldocs|NaturalDocs|g' -i Makefile.am +# https://github.com/pioneerspacesim/pioneer/issues/3846 %ifarch aarch64 sed -e '/^SUBDIRS/s/ profiler//' -i.bak contrib/Makefile.am -sed -e '/libjson.a/s| \\|| ; /libprofiler.a/d' -i.p.bak src/Makefile.am +sed -e '/libprofiler.a/d; $$!N; /libprofiler.a$$/s| \\||; P; D' -i.p.bak src/Makefile.am sed -e '/contrib\/profiler/d' -i.p.bak configure.ac sed -e 's/defined(__arm__)/(& || defined(__aarch64__))/' -i.bak contrib/profiler/Profiler.h %endif @@ -264,6 +265,9 @@ fi %dir %{_fontdir} %changelog +* Tue Oct 25 2016 Antonio Trande 20161022-2 +- 'sed' patch for AARCH64 builds + * Mon Oct 24 2016 Jon Ciesla 20161022-1 - 20161022