summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-10-20 15:05:58 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-10-20 18:46:50 +0200
commitd71a2a9f5769614d4654777fbf08ece4b9aed68a (patch)
treea86282513b1e041aecb49d8e5c46501f78e81bd4
parentsci-physics/pythia: add 8.3.12 (diff)
downloadgentoo-d71a2a9f5769614d4654777fbf08ece4b9aed68a.tar.gz
gentoo-d71a2a9f5769614d4654777fbf08ece4b9aed68a.tar.bz2
gentoo-d71a2a9f5769614d4654777fbf08ece4b9aed68a.zip
sci-physics/thepeg: add missing include
Closes: https://bugs.gentoo.org/941477 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/39054 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sci-physics/thepeg/files/thepeg-2.3.0-functional.patch10
-rw-r--r--sci-physics/thepeg/thepeg-2.3.0.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch b/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch
new file mode 100644
index 000000000000..4b25e3f2a188
--- /dev/null
+++ b/sci-physics/thepeg/files/thepeg-2.3.0-functional.patch
@@ -0,0 +1,10 @@
+--- a/Config/std.h 2024-10-20 14:58:16.121021570 +0200
++++ b/Config/std.h 2024-10-20 14:58:25.804498716 +0200
+@@ -37,6 +37,7 @@
+ #include <typeinfo>
+ #include <stdexcept>
+ #include <cmath>
++#include <functional>
+
+ namespace std {
+
diff --git a/sci-physics/thepeg/thepeg-2.3.0.ebuild b/sci-physics/thepeg/thepeg-2.3.0.ebuild
index f378565e51ca..19e2855c35cb 100644
--- a/sci-physics/thepeg/thepeg-2.3.0.ebuild
+++ b/sci-physics/thepeg/thepeg-2.3.0.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.3-java.patch
"${FILESDIR}"/${PN}-2.0.4-gcc6.patch
"${FILESDIR}"/${PN}-2.3.0-rivet.patch # properly support rivet/yoda weights in thepeg, reported to upstream by mail.
+ "${FILESDIR}"/${PN}-2.3.0-functional.patch # https://bugs.gentoo.org/941477
)
src_prepare() {