Accepting request 812277 from science

OBS-URL: https://build.opensuse.org/request/show/812277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diy?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-06-07 19:39:47 +00:00 committed by Git OBS Bridge
commit 20c60fc8c6
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From 9e2377b7335299b03003d86ea97910958a646e69 Mon Sep 17 00:00:00 2001
From: Dmitriy Morozov <dmitriy@mrzv.org>
Date: Sun, 24 May 2020 13:02:58 -0700
Subject: [PATCH] Add missing <stdexcept> 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 <vector>
#include <string>
+#include <stdexcept>
namespace diy
{

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 6 21:23:45 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <badshah400@gmail.com>

View File

@ -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}