dev-python/iminuit: fix building with gcc-13

Closes: https://bugs.gentoo.org/895228
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
This commit is contained in:
Andrey Grozin
2023-05-06 11:58:25 +07:00
parent d39392eff9
commit a142e0faff
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
From c26e9b3882d68fbef471bd67c7ea0eeb5a26c481 Mon Sep 17 00:00:00 2001
From: andriish <andriish@users.noreply.github.com>
Date: Thu, 4 May 2023 19:08:37 +0200
Subject: [PATCH] Update fcn.hpp
---
src/fcn.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/fcn.hpp b/src/fcn.hpp
index 3e2ff80c..0c53e1be 100644
--- a/src/fcn.hpp
+++ b/src/fcn.hpp
@@ -1,6 +1,7 @@
#include <Minuit2/FCNGradientBase.h>
#include <pybind11/pytypes.h>
#include <vector>
+#include <cstdint>
namespace py = pybind11;

View File

@@ -31,6 +31,8 @@ BDEPEND="
)
"
PATCHES=( "${FILESDIR}"/${P}-gcc-13.patch )
distutils_enable_tests pytest
src_test() {