mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
21
dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch
Normal file
21
dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch
Normal 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;
|
||||
|
||||
@@ -31,6 +31,8 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gcc-13.patch )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
|
||||
Reference in New Issue
Block a user