forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
podio: apply patch for gcc 14 builds
Podio versions after 0.17.0 but before 1.0.0 are broken when using gcc 14 because of a missing include, which is addressed in the podio pull request at AIDASoft/podio#600. This commit patches pre-1.0.0 versions of Podio so they can be compiled with gcc 14, which is important for building Acts.
- Loading branch information
1 parent
34df21b
commit eec63cc
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
var/spack/repos/builtin/packages/podio/fix_missing_algorithm_include.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
From 0222a077aaff817b21a46a590af0f8329dd27d67 Mon Sep 17 00:00:00 2001 | ||
From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | ||
Date: Mon, 13 May 2024 14:04:08 +0200 | ||
Subject: [PATCH] Add include to fix building with GCC 14 (#600) | ||
|
||
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com> | ||
--- | ||
src/DatamodelRegistryIOHelpers.cc | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/DatamodelRegistryIOHelpers.cc b/src/DatamodelRegistryIOHelpers.cc | ||
index 901dbb113..1e7573a1f 100644 | ||
--- a/src/DatamodelRegistryIOHelpers.cc | ||
+++ b/src/DatamodelRegistryIOHelpers.cc | ||
@@ -1,4 +1,5 @@ | ||
#include "podio/utilities/DatamodelRegistryIOHelpers.h" | ||
+#include <algorithm> | ||
#include <iterator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters