File libraw_0_21.patch of Package freeimage

--- a/Source/FreeImage/PluginRAW.cpp~	2022-12-20 13:57:10.388936102 -0600
+++ a/Source/FreeImage/PluginRAW.cpp	2022-12-20 13:58:37.776557876 -0600
@@ -701,7 +701,7 @@
 		// --------------------------------------------
 
 		// (-s [0..N-1]) Select one raw image from input file
-		RawProcessor->imgdata.params.shot_select = 0;
+		RawProcessor->imgdata.rawparams.shot_select = 0;
 		// (-w) Use camera white balance, if possible (otherwise, fallback to auto_wb)
 		RawProcessor->imgdata.params.use_camera_wb = 1;
 		// (-M) Use any color matrix from the camera metadata. This option only affects Olympus, Leaf, and Phase One cameras.

openSUSE Build Service is sponsored by