head 1.2; access; symbols pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2023.08.03.03.47.46; author markd; state dead; branches; next 1.1; commitid 65Nm5Af01L509izE; 1.1 date 2023.03.18.05.55.11; author wiz; state Exp; branches; next ; commitid f8TXS1KCU9nOhzhE; desc @@ 1.2 log @libkdcraw: KDE Gear update to 23.04.3 10 months of development @ text @$NetBSD: patch-src_kdcraw.cpp,v 1.1 2023/03/18 05:55:11 wiz Exp $ Fix build with libraw-0.21. --- src/kdcraw.cpp.orig 2022-07-13 12:24:57.000000000 +0000 +++ src/kdcraw.cpp @@@@ -357,7 +357,11 @@@@ bool KDcraw::extractRAWData(const QStrin d->setProgress(0.3); raw.imgdata.params.output_bps = 16; +#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) + raw.imgdata.rawparams.shot_select = shotSelect; +#else raw.imgdata.params.shot_select = shotSelect; +#endif ret = raw.unpack(); if (ret != LIBRAW_SUCCESS) @ 1.1 log @libkdcraw: fix build with libraw-0.21 @ text @d1 1 a1 1 $NetBSD$ @