After the Qt 5.15.8 and friends stabilisation from https://bugs.gentoo.org/888946 media-gfx/photoqt-2.9.1-r1 failed to rebuild: /var/tmp/portage/media-gfx/photoqt-2.9.1-r1/work/photoqt-2.9.1/cplusplus/imageprovider/loader/loadimage_raw.cpp: In member function ‘QImage PQLoadImageRAW::load(QString, QSize, QSize&, bool)’: /var/tmp/portage/media-gfx/photoqt-2.9.1-r1/work/photoqt-2.9.1/cplusplus/imageprovider/loader/loadimage_raw.cpp:60:24: error: ‘struct libraw_output_params_t’ has no member named ‘use_rawspeed’ 60 | raw.imgdata.params.use_rawspeed = 1; | The following upstream Patch worked for me: [PQLoadImageRAW] make raw loader work when libraw is compiled without rawspeed... https://gitlab.com/lspies/photoqt/-/commit/a8908dbfac01886204a5d911106208bd0f15b467?view=inline Reproducible: Always
Thanks Frank!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c728871c7314838f496f516e46a2d7a528572927 commit c728871c7314838f496f516e46a2d7a528572927 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-18 22:58:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-18 22:58:06 +0000 media-gfx/photoqt: fix build w/ libraw 0.21 Closes: https://bugs.gentoo.org/891325 Signed-off-by: Sam James <sam@gentoo.org> .../photoqt/files/photoqt-2.9.1-libraw-0.21.patch | 22 +++++++ media-gfx/photoqt/photoqt-2.9.1-r2.ebuild | 77 ++++++++++++++++++++++ 2 files changed, 99 insertions(+)