public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freeimage] epel10: patch for api change
@ 2026-11-17 23:57 Gwyn Ciesla
0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-11-17 23:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/freeimage
Branch : epel10
Commit : 736b3a1d3a101319a244318191e9373895997a48
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2022-12-20T14:12:11-06:00
Stats : +13/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/freeimage/c/736b3a1d3a101319a244318191e9373895997a48?branch=epel10
Log:
patch for api change
---
diff --git a/freeimage.spec b/freeimage.spec
index b9d856b..2cbaa60 100644
--- a/freeimage.spec
+++ b/freeimage.spec
@@ -28,6 +28,8 @@ Patch1: FreeImage_doxygen.patch
Patch2: freeimage-openexr3.patch
# Patch for libtiff-4.4.0 compatibility
Patch3: freeimage-libtiff44.patch
+# Patch for LibRaw 0.21.0 compatibility
+Patch4: libraw.patch
BuildRequires: doxygen
BuildRequires: gcc-c++
diff --git a/libraw.patch b/libraw.patch
new file mode 100644
index 0000000..4b7a059
--- /dev/null
+++ b/libraw.patch
@@ -0,0 +1,11 @@
+--- 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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-17 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17 23:57 [rpms/freeimage] epel10: patch for api change Gwyn Ciesla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox