From bed1e1c08fd3f81ac0224f64b6b174ffcfff69b7723380dce5711f74620e0eb0 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 12 Jul 2021 23:15:45 +0000 Subject: [PATCH] Accepting request 905956 from home:cjunghans:branches:devel:languages:python:numeric - added missing_size_t.patch, to workaround missing size_t (see gh#espressomd/espresso#4274) OBS-URL: https://build.opensuse.org/request/show/905956 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python3-espressomd?expand=0&rev=29 --- missing_size_t.patch | 25 +++++++++++++++++++++++++ python3-espressomd.changes | 6 ++++++ python3-espressomd.spec | 3 +++ 3 files changed, 34 insertions(+) create mode 100644 missing_size_t.patch diff --git a/missing_size_t.patch b/missing_size_t.patch new file mode 100644 index 0000000..b69968b --- /dev/null +++ b/missing_size_t.patch @@ -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 ++ + #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 ++#include + #include + #include + diff --git a/python3-espressomd.changes b/python3-espressomd.changes index 78ba59b..7a5dcbd 100644 --- a/python3-espressomd.changes +++ b/python3-espressomd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 12 22:24:29 UTC 2021 - Christoph Junghans + +- 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 diff --git a/python3-espressomd.spec b/python3-espressomd.spec index 1643cd3..4016467 100644 --- a/python3-espressomd.spec +++ b/python3-espressomd.spec @@ -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