diff options
Diffstat (limited to 'sci-physics/espresso/files/espresso-4.1.3-gcc-11.patch')
-rw-r--r-- | sci-physics/espresso/files/espresso-4.1.3-gcc-11.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-physics/espresso/files/espresso-4.1.3-gcc-11.patch b/sci-physics/espresso/files/espresso-4.1.3-gcc-11.patch new file mode 100644 index 000000000000..fcda88e9b8b8 --- /dev/null +++ b/sci-physics/espresso/files/espresso-4.1.3-gcc-11.patch @@ -0,0 +1,37 @@ +https://src.fedoraproject.org/rpms/espresso/blob/f34/f/espresso-gcc11.patch +--- a/src/core/communication.hpp ++++ b/src/core/communication.hpp +@@ -49,6 +49,8 @@ + * to \ref CALLBACK_LIST. + */ + ++#include <cstddef> ++ + #include "MpiCallbacks.hpp" + + /* Includes needed by callbacks. */ +diff --git a/src/script_interface/ParallelScriptInterface.hpp b/src/script_interface/ParallelScriptInterface.hpp +index c33e67d..02ad815 100644 +--- a/src/script_interface/ParallelScriptInterface.hpp ++++ b/src/script_interface/ParallelScriptInterface.hpp +@@ -23,6 +23,7 @@ + #define SCRIPT_INTERFACE_PARALLEL_SCRIPT_INTERFACE_HPP + + #include <utility> ++#include <limits> + + #include "MpiCallbacks.hpp" + #include "ScriptInterface.hpp" +diff --git a/src/utils/include/utils/NumeratedContainer.hpp b/src/utils/include/utils/NumeratedContainer.hpp +index 1d99098..1191a79 100644 +--- a/src/utils/include/utils/NumeratedContainer.hpp ++++ b/src/utils/include/utils/NumeratedContainer.hpp +@@ -24,6 +24,7 @@ + * Keep an enumerated list of T objects, managed by the class. + */ + ++#include <cstddef> + #include <cassert> + #include <set> + #include <unordered_map> + |