root/root-Add-a-missing-include-to-RTensor.patch
Mattias Ellert 3487b3a060 Apply patches to fix build with gcc 15
Enable roofit-multiprocess for EPEL 10 (dependencies available)
Rebuild for pythia8 8.3.13
2025-01-31 13:22:57 +01:00

26 lines
796 B
Diff

From cfc922131c8a977e14c6611ed991f0889b0c47c8 Mon Sep 17 00:00:00 2001
From: Stephan Hageboeck <stephan.hageboeck@cern.ch>
Date: Fri, 17 Jan 2025 10:35:37 +0100
Subject: [PATCH 2/2] Add a missing include to RTensor.
In gcc-15, <cstdint> needs to be included to use fixed-size integer
types.
---
tmva/tmva/inc/TMVA/RTensor.hxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/tmva/tmva/inc/TMVA/RTensor.hxx b/tmva/tmva/inc/TMVA/RTensor.hxx
index ad152f219a..795cc70689 100644
--- a/tmva/tmva/inc/TMVA/RTensor.hxx
+++ b/tmva/tmva/inc/TMVA/RTensor.hxx
@@ -3,6 +3,7 @@
#include <vector>
#include <cstddef> // std::size_t
+#include <cstdint>
#include <stdexcept> // std::runtime_error
#include <sstream> // std::stringstream
#include <memory> // std::shared_ptr
--
2.48.0