--- operations/external/raw-load.c.orig 2023-02-26 13:50:35 +++ operations/external/raw-load.c 2023-02-26 13:51:43 @@ -97,7 +97,11 @@ g_warning ("raw-load: Error Initializing raw library"); else { +#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) + p->LibRaw->rawparams.shot_select = o->image_num; +#else p->LibRaw->params.shot_select = o->image_num; +#endif p->LibRaw->params.aber[0] = 1.0; p->LibRaw->params.aber[2] = 1.0;