gnu: OpenColorIO: Fix build with GCC 11.

* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image-processing.scm (opencolorio)[source]: Use it.
This commit is contained in:
Leo Famulari 2023-04-23 18:09:08 -04:00
parent 2a8e92f2d9
commit 186e516400
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
3 changed files with 39 additions and 0 deletions

View file

@ -262,6 +262,7 @@ of external libraries that provide additional functionality.")
(uri (git-reference
(url "https://github.com/AcademySoftwareFoundation/OpenColorIO")
(commit (string-append "v" version))))
(patches (search-patches "opencolorio-fix-build-with-gcc11.patch"))
(sha256
(base32 "12srvxca51czpfjl0gabpidj9n84mw78ivxy5w75qhq2mmc798sb"))
(file-name (git-file-name name version))