libraw_init is called with flag LIBRAW_OPIONS_NO_MEMERR_CALLBACK that is no longer available. In extensions/raw_files, gth-metadata-provider-raw.c and main.c are affected. Removing LIBRAW_OPIONS_NO_MEMERR_CALLBACK allows gthumb to compile. ../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c: In function ‘gth_metadata_provider_raw_read’: ../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c:65:33: error: ‘LIBRAW_OPIONS_NO_MEMERR_CALLBACK’ undeclared (first use in this function); did you mean ‘LIBRAW_OPIONS_NO_DATAERR_CALLBACK’? 65 | raw_data = libraw_init (LIBRAW_OPIONS_NO_MEMERR_CALLBACK | LIBRAW_OPIONS_NO_DATAERR_CALLBACK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | LIBRAW_OPIONS_NO_DATAERR_CALLBACK ../gthumb-3.12.2/extensions/raw_files/gth-metadata-provider-raw.c:65:33: note: each undeclared identifier is reported only once for each function it appears in Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1693061313af2aabb5c987deb1b7670b5c67ffb2 commit 1693061313af2aabb5c987deb1b7670b5c67ffb2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-21 23:49:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-21 23:52:00 +0000 media-gfx/gthumb: fix build w/ libraw-0.21 Closes: https://bugs.gentoo.org/887769 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/gthumb/files/3.12.2-libraw-0.21.patch | 55 +++++++++++++++++++++++++ media-gfx/gthumb/gthumb-3.12.2-r4.ebuild | 1 + 2 files changed, 56 insertions(+)