Debian Codegraph @

debian/patches/0005-fix-build-with-libdraw-0.21.patch

raw symbols SCIP
1 Descriptionscip-debian debian deepin-image-viewer 5.8.2-4.1 deepin-image-viewer/patches/`0005-fix-build-with-libdraw-0.21.patch`#Description.: Fix build with libdraw 0.21.
2 Authorscip-debian debian deepin-image-viewer 5.8.2-4.1 deepin-image-viewer/patches/`0005-fix-build-with-libdraw-0.21.patch`#Author.: Arun Kumar Pariyar <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Last-Updatescip-debian debian deepin-image-viewer 5.8.2-4.1 deepin-image-viewer/patches/`0005-fix-build-with-libdraw-0.21.patch`#Last-Update.: 2023-07-06
4 ---
5
6 Index: deepin-image-viewer/qimage-plugins/libraw/rawiohandler.cppscip-debian debian deepin-image-viewer 5.8.2-4.1 deepin-image-viewer/upstream/`deepin-image-viewer/qimage-plugins/libraw/rawiohandler.cpp`:
7 ===================================================================
8 --- deepin-image-viewer.orig/qimage-plugins/libraw/rawiohandler.cppscip-debian debian deepin-image-viewer 5.8.2-4.1 deepin-image-viewer/upstream/`deepin-image-viewer.orig/qimage-plugins/libraw/rawiohandler.cpp`: 2023-07-06 17:25:08.071177279 +0545
9 +++ deepin-image-viewer/qimage-plugins/libraw/rawiohandler.cpp 2023-07-06 17:25:17.374839300 +0545
10 @@ -84,7 +84,13 @@
11
12 stream = new Datastream(device);
13 raw = new LibRaw;
14 - raw->imgdata.params.use_rawspeed = 1;
15 +
16 + #if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
17 + raw->imgdata.rawparams.use_rawspeed = 1;
18 + #else
19 + raw->imgdata.params.use_rawspeed = 1;
20 + #endif
21 +
22 if (raw->open_datastream(stream) != LIBRAW_SUCCESS) {
23 delete raw;
24 raw = nullptr;