diff --git a/0004-fix-for-boost-1.69.patch b/0004-fix-for-boost-1.69.patch new file mode 100644 index 0000000..2372c8c --- /dev/null +++ b/0004-fix-for-boost-1.69.patch @@ -0,0 +1,24 @@ +From c1ac1fb93dace81b2a60f9d1f5d6d20298c8b9bb Mon Sep 17 00:00:00 2001 +From: Fabrice Bellet +Date: Fri, 1 Feb 2019 09:29:40 +0100 +Subject: [PATCH] fix for boost 1.69 + +--- + simgear/nasal/cppbind/NasalHash.hxx | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/simgear/nasal/cppbind/NasalHash.hxx b/simgear/nasal/cppbind/NasalHash.hxx +index aac672fd..2ee7d044 100644 +--- a/simgear/nasal/cppbind/NasalHash.hxx ++++ b/simgear/nasal/cppbind/NasalHash.hxx +@@ -23,6 +23,7 @@ + #include "to_nasal.hxx" + + #include ++#include + #include + + namespace nasal +-- +2.20.1 + diff --git a/SimGear.spec b/SimGear.spec index 06837e3..4a91303 100644 --- a/SimGear.spec +++ b/SimGear.spec @@ -1,6 +1,6 @@ Name: SimGear Version: 2018.3.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Summary: Simulation library components URL: http://simgear.sourceforge.net @@ -8,6 +8,7 @@ Source0: https://sourceforge.net/projects/flightgear/files/release-2018.3 Patch1: 0001-remove-unneeded-header.patch Patch2: 0002-check-to-be-sure-that-n-is-not-being-set-as-format-t.patch Patch3: 0003-fix-support-for-aarch64.patch +Patch4: 0004-fix-for-boost-1.69.patch BuildRequires: gcc-c++ BuildRequires: openal-soft-devel BuildRequires: OpenSceneGraph-devel >= 3.2.0 @@ -37,6 +38,7 @@ SimGear. %setup -q -n simgear-%{version} %patch2 -p1 -b .checkforn %patch3 -p1 -b .aarch64 +%patch4 -p1 -b .boost169 # makes rpmlint happy find -name \*.cxx -o -name \*.hxx | xargs chmod -x @@ -76,6 +78,9 @@ patch -p2 < %{PATCH1} %{_libdir}/cmake/SimGear %changelog +* Fri Feb 01 2019 Fabrice Bellet - 2018.3.2-2 +- fix for boost 1.69 + * Thu Jan 31 2019 Fabrice Bellet - 2018.3.2-1 - new upstream release