gnu: openexr-2: Fix build with gcc-14.

* gnu/packages/patches/openexr-2-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/graphics.scm (openexr-2)[source]: Use it.

Change-Id: I050731f989581a8a6255ad46a4ede5493e2bed87
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-01 15:12:25 +01:00 committed by Andreas Enge
parent 35a2abb35a
commit 7f32a25e06
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 36 additions and 0 deletions

View file

@ -1578,6 +1578,8 @@ with strong support for multi-part, multi-channel use cases.")
(version (package-version ilmbase))
(source (origin
(inherit (package-source ilmbase))
(patches (append (origin-patches (package-source ilmbase))
(search-patches "openexr-2-gcc-14.patch")))
(file-name (git-file-name "openexr" version))))
(build-system cmake-build-system)
(arguments