Fails to build with libjxl 0.9 (unless -Dlibjxl=false)
Regressed by https://github.com/libjxl/libjxl/commit/b08a704978d5
extensions/cairo_io/cairo-image-surface-jxl.c:237:94: error: too many arguments to function call, expected 3, have 4
if (JxlDecoderGetColorAsEncodedProfile(dec, &pixel_format, JXL_COLOR_PROFILE_TARGET_DATA, NULL) == JXL_DEC_SUCCESS)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/include/jxl/decode.h:749:29: note: 'JxlDecoderGetColorAsEncodedProfile' declared here
JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsEncodedProfile(
^
extensions/cairo_io/cairo-image-surface-jxl.c:242:88: error: too many arguments to function call, expected 3, have 4
if (JxlDecoderGetICCProfileSize(dec, &pixel_format, JXL_COLOR_PROFILE_TARGET_DATA, &profile_size) > 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/usr/include/jxl/decode.h:775:29: note: 'JxlDecoderGetICCProfileSize' declared here
JXL_EXPORT JxlDecoderStatus JxlDecoderGetICCProfileSize(
^
extensions/cairo_io/cairo-image-surface-jxl.c:248:105: error: too many arguments to function call, expected 4, have 5
if (JxlDecoderGetColorAsICCProfile(dec, &pixel_format, JXL_COLOR_PROFILE_TARGET_DATA, profile_data, profile_size) > 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/usr/include/jxl/decode.h:793:29: note: 'JxlDecoderGetColorAsICCProfile' declared here
JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsICCProfile(
^