summaryrefslogtreecommitdiff
path: root/sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch')
-rw-r--r--sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch b/sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch
new file mode 100644
index 000000000000..5952aa3dd8e8
--- /dev/null
+++ b/sci-chemistry/gromacs/files/gromacs-2021-cstdint-include.patch
@@ -0,0 +1,12 @@
+# https://bugs.gentoo.org/915694
+# Not needed for newer branches, that greatly refactored the code
+--- a/src/gromacs/utility/flags.h~ 2023-01-31 12:45:46.000000000 +0100
++++ b/src/gromacs/utility/flags.h 2023-10-16 10:15:24.087340444 +0200
+@@ -42,7 +42,7 @@
+ */
+ #ifndef GMX_UTILITY_FLAGS_H
+ #define GMX_UTILITY_FLAGS_H
+-
++#include <cstdint>
+ namespace gmx
+ {