forked from pool/python3-espressomd
Accepting request 905957 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/905957 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-espressomd?expand=0&rev=12
This commit is contained in:
commit
1b4b66bd4a
25
missing_size_t.patch
Normal file
25
missing_size_t.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/src/config/config.hpp b/src/config/config.hpp
|
||||
index 78ec14b78..139c1f97a 100644
|
||||
--- a/src/config/config.hpp
|
||||
+++ b/src/config/config.hpp
|
||||
@@ -37,6 +37,8 @@
|
||||
#define MPICH_SKIP_MPICXX
|
||||
#endif
|
||||
|
||||
+#include <cstddef>
|
||||
+
|
||||
#include "config-features.hpp"
|
||||
|
||||
/** P3M: Default for number of interpolation points of the charge
|
||||
diff --git a/src/utils/include/utils/NumeratedContainer.hpp b/src/utils/include/utils/NumeratedContainer.hpp
|
||||
index 1d99098f0..36602b203 100644
|
||||
--- a/src/utils/include/utils/NumeratedContainer.hpp
|
||||
+++ b/src/utils/include/utils/NumeratedContainer.hpp
|
||||
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
+#include <cstddef>
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 22:24:29 UTC 2021 - Christoph Junghans <junghans@votca.org>
|
||||
|
||||
- added missing_size_t.patch, to workaround missing size_t (see
|
||||
gh#espressomd/espresso#4274)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 11 09:29:24 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -44,6 +44,8 @@ URL: http://espressomd.org
|
||||
Source: https://github.com/%{modname}/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM boost-1.74.patch gh#espressomd/espresso#3864
|
||||
Patch0: boost-1.74.patch
|
||||
# PATCH-FIX-OPENSUSE missing_size_t.patch gh#espressomd/espresso#4274
|
||||
Patch1: missing_size_t.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: gcc-c++
|
||||
@ -82,6 +84,7 @@ systems, for example DNA and lipid membranes.
|
||||
%prep
|
||||
%setup -q -n %{pkgname}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
||||
|
Loading…
Reference in New Issue
Block a user