summaryrefslogtreecommitdiff
path: root/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch')
-rw-r--r--sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch b/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch
new file mode 100644
index 000000000000..c94fc5598f91
--- /dev/null
+++ b/sci-chemistry/gromacs/files/gromacs-2021-musl-stdint.patch
@@ -0,0 +1,25 @@
+From 8a38303c52fbca07c850e0c4cd03a783aabf9e49 Mon Sep 17 00:00:00 2001
+From: Paul Bauer <paul.bauer.q@gmail.com>
+Date: Mon, 21 Feb 2022 09:53:46 +0100
+Subject: [PATCH] Fix missing includes for musl libc
+
+Fixes #4404
+---
+ src/gromacs/math/vectypes.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/gromacs/math/vectypes.h b/src/gromacs/math/vectypes.h
+index d4d5211d11..bd9d31de20 100644
+--- a/src/gromacs/math/vectypes.h
++++ b/src/gromacs/math/vectypes.h
+@@ -40,6 +40,7 @@
+
+ #include <cassert>
+ #include <cmath>
++#include <cstdint>
+
+ #include <algorithm>
+ #include <type_traits>
+--
+2.35.1
+