1
0

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:
Dominique Leuenberger 2021-07-13 20:37:19 +00:00 committed by Git OBS Bridge
commit 1b4b66bd4a
3 changed files with 34 additions and 0 deletions

25
missing_size_t.patch Normal file
View 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>

View File

@ -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> Tue May 11 09:29:24 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -44,6 +44,8 @@ URL: http://espressomd.org
Source: https://github.com/%{modname}/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz Source: https://github.com/%{modname}/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM boost-1.74.patch gh#espressomd/espresso#3864 # PATCH-FIX-UPSTREAM boost-1.74.patch gh#espressomd/espresso#3864
Patch0: boost-1.74.patch Patch0: boost-1.74.patch
# PATCH-FIX-OPENSUSE missing_size_t.patch gh#espressomd/espresso#4274
Patch1: missing_size_t.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fftw3-devel BuildRequires: fftw3-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -82,6 +84,7 @@ systems, for example DNA and lipid membranes.
%prep %prep
%setup -q -n %{pkgname} %setup -q -n %{pkgname}
%patch0 -p1 %patch0 -p1
%patch1 -p1
%build %build
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh