Subject: bug#72046: [core-updates] OpenImageIO fails to build

From: Zheng Junjie <[email-masked]>
Date: Thu, 11 Jul 2024 23:25:34 +0800

Leo Famulari <[email-masked]> writes:

> On Thu, Jul 11, 2024 at 02:29:59PM +0800, Zheng Junjie wrote:
>> see patch, as i known, because ours cmake too old, have a bug about zlib.
>
> So, it's a problem with cmake?
>
> Do you know if they've fixed it in later versions?

see https://gitlab.kitware.com/cmake/cmake/-/issues/25200

>
>> +           #:phases #~(modify-phases %standard-phases
>> +                        (add-after 'configure 'fix-zlib-version
>> +                          (lambda _
>> +                            (substitute* "include/imageio_pvt.h"
>> +                              (("#define ZLIB_VERSION \"1\\.3\"")
>> +                               "")))))))
>
> Would this remove zlib support from openimageio?

no, just fix macro OIIO_ALL_BUILD_DEPS_FOUND to a right string.