From b6cc50d4f6459a149cdba6f4e7063d39f07253bdfb1c1807f841a99f4db009d5 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sun, 7 Jun 2020 18:11:10 +0000 Subject: [PATCH] Accepting request 812108 from home:badshah400:branches:science Add diy-include-stdexcept.patch: Include a missing header flagged by GCC 10; patch taken from upstream commit. OBS-URL: https://build.opensuse.org/request/show/812108 OBS-URL: https://build.opensuse.org/package/show/science/diy?expand=0&rev=5 --- diy-include-stdexcept.patch | 22 ++++++++++++++++++++++ diy.changes | 6 ++++++ diy.spec | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 diy-include-stdexcept.patch diff --git a/diy-include-stdexcept.patch b/diy-include-stdexcept.patch new file mode 100644 index 0000000..72571b1 --- /dev/null +++ b/diy-include-stdexcept.patch @@ -0,0 +1,22 @@ +From 9e2377b7335299b03003d86ea97910958a646e69 Mon Sep 17 00:00:00 2001 +From: Dmitriy Morozov +Date: Sun, 24 May 2020 13:02:58 -0700 +Subject: [PATCH] Add missing to i/diy/mpi/io.hpp + +--- + include/diy/mpi/io.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/diy/mpi/io.hpp b/include/diy/mpi/io.hpp +index 38d156d1f..42885906b 100644 +--- a/include/diy/mpi/io.hpp ++++ b/include/diy/mpi/io.hpp +@@ -8,6 +8,7 @@ + + #include + #include ++#include + + namespace diy + { + diff --git a/diy.changes b/diy.changes index 01d3573..f8d3cdb 100644 --- a/diy.changes +++ b/diy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 6 21:23:45 UTC 2020 - Atri Bhattacharya + +- Add diy-include-stdexcept.patch: Include a missing header + flagged by GCC 10; patch taken from upstream commit. + ------------------------------------------------------------------- Fri May 15 13:33:42 UTC 2020 - Atri Bhattacharya diff --git a/diy.spec b/diy.spec index d135d04..c381540 100644 --- a/diy.spec +++ b/diy.spec @@ -58,6 +58,8 @@ URL: https://github.com/diatomic/diy Source: https://github.com/diatomic/diy/archive/%{version}.tar.gz#/%{pname}-%{version}.tar.gz # PATCH-FIX-UPSTREAM diy-disable-memory-heavy-tests.patch badshah400@gmail.com -- Disable a few tests requiring more than 10 GB memory Patch0: diy-disable-memory-heavy-tests.patch +# PATCH-FIX-UPSTREAM diy-include-stdexcept.patch badshah400@gmail.com -- Include a missing header flagged by GCC 10 +Patch1: diy-include-stdexcept.patch BuildRequires: cmake >= 3.2 BuildRequires: gcc-c++ %if %{with mpi}