podio: apply patch for gcc 14 builds (#45854)

* 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 https://github.com/AIDASoft/podio/pull/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.

* Style

* Style 2

* Fixes

* Add comment:

* Add sha256
This commit is contained in:
Stephen Nicholas Swatman 2024-08-31 20:42:02 +02:00 committed by GitHub
parent d226ef31bd
commit 412f22b76a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,13 @@ class Podio(CMakePackage):
conflicts("+rntuple", when="@:0.16", msg="rntuple support requires at least podio@0.17")
# See https://github.com/AIDASoft/podio/pull/600
patch(
"https://github.com/AIDASoft/podio/commit/0222a077aaff817b21a46a590af0f8329dd27d67.patch?full_index=1",
when="@0.17:0.99",
sha256="9e42e0995634f2afdd358cd19383e882dc9143cce1b6afb0d2c4a1ec9add6e15",
)
# See https://github.com/AIDASoft/podio/pull/599 that landed after 0.99
extends("python", when="@1.0:")