commit:     894081443de3d5228553341afcaf5a2ed5c350f4
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Jan 12 16:30:20 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 10:18:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89408144

sci-physics/yoda: add yamlcpp patch

Closes: https://bugs.gentoo.org/937405
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/40106
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sci-physics/yoda/files/yoda-2.0.2-yamlcpp.patch | 22 ++++++++++++++++++++++
 sci-physics/yoda/yoda-2.0.2.ebuild              |  4 ++++
 2 files changed, 26 insertions(+)

diff --git a/sci-physics/yoda/files/yoda-2.0.2-yamlcpp.patch 
b/sci-physics/yoda/files/yoda-2.0.2-yamlcpp.patch
new file mode 100644
index 000000000000..ad20bc717f7c
--- /dev/null
+++ b/sci-physics/yoda/files/yoda-2.0.2-yamlcpp.patch
@@ -0,0 +1,22 @@
+From 3e74499ba8bbbd6a872e0563625193505c14df90 Mon Sep 17 00:00:00 2001
+From: Christian Gutschow <chri...@cern.ch>
+Date: Wed, 11 Dec 2024 19:10:11 +0000
+Subject: [PATCH] add missing header
+
+---
+ src/yamlcpp/emitterutils.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/yamlcpp/emitterutils.cpp b/src/yamlcpp/emitterutils.cpp
+index 5e5f00ea..78615970 100644
+--- a/src/yamlcpp/emitterutils.cpp
++++ b/src/yamlcpp/emitterutils.cpp
+@@ -1,4 +1,5 @@
+ #include <algorithm>
++#include <cstdint>
+ #include <iomanip>
+ #include <sstream>
+ 
+-- 
+GitLab
+

diff --git a/sci-physics/yoda/yoda-2.0.2.ebuild 
b/sci-physics/yoda/yoda-2.0.2.ebuild
index a30645a6388d..68a18612638b 100644
--- a/sci-physics/yoda/yoda-2.0.2.ebuild
+++ b/sci-physics/yoda/yoda-2.0.2.ebuild
@@ -45,6 +45,10 @@ BDEPEND="
        )
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-yamlcpp.patch # 937405
+)
+
 pkg_setup() {
        use python && python-single-r1_pkg_setup
 }

Reply via email to