public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/freeimage] epel10: patch for api change
Date: Tue, 17 Nov 2026 23:57:14 GMT	[thread overview]
Message-ID: <179495983473.1.2708928713562932092.rpms-freeimage-736b3a1d3a10@fedoraproject.org> (raw)

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.

                 reply	other threads:[~2026-11-17 23:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179495983473.1.2708928713562932092.rpms-freeimage-736b3a1d3a10@fedoraproject.org \
    --to=gwync@protonmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox