commit:     d71a2a9f5769614d4654777fbf08ece4b9aed68a
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Oct 20 13:05:58 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 16:46:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d71a2a9f

sci-physics/thepeg: add missing include

Closes: https://bugs.gentoo.org/941477
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/39054
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/thepeg/files/thepeg-2.3.0-functional.patch | 10 ++++++++++
 sci-physics/thepeg/thepeg-2.3.0.ebuild                 |  1 +
 2 files changed, 11 insertions(+)

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() {

Reply via email to