diff options
Diffstat (limited to 'sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch')
-rw-r--r-- | sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch b/sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch new file mode 100644 index 000000000000..cf478d52cb67 --- /dev/null +++ b/sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch @@ -0,0 +1,38 @@ +From 053286ff0bfb88db5c158f5f68017c4bb5d9496a Mon Sep 17 00:00:00 2001 +From: Christoph Junghans <junghans@votca.org> +Date: Wed, 28 Apr 2021 19:44:09 -0600 +Subject: [PATCH] fix build on F34 + +see https://gitlab.com/gromacs/gromacs/-/merge_requests/1524 +--- + src/gromacs/awh/biasparams.cpp | 1 + + src/gromacs/mdrun/minimize.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/gromacs/awh/biasparams.cpp b/src/gromacs/awh/biasparams.cpp +index f4db497002..e762ea084a 100644 +--- a/src/gromacs/awh/biasparams.cpp ++++ b/src/gromacs/awh/biasparams.cpp +@@ -49,6 +49,7 @@ + #include <cmath> + + #include <algorithm> ++#include <limits> + + #include "gromacs/math/functions.h" + #include "gromacs/mdtypes/awh-params.h" +diff --git a/src/gromacs/mdrun/minimize.cpp b/src/gromacs/mdrun/minimize.cpp +index 8550271325..495bcfdda0 100644 +--- a/src/gromacs/mdrun/minimize.cpp ++++ b/src/gromacs/mdrun/minimize.cpp +@@ -51,6 +51,7 @@ + #include <ctime> + + #include <algorithm> ++#include <limits> + #include <vector> + + #include "gromacs/commandline/filenm.h" +-- +GitLab + |