From 5efd0c16a7b0e73abcaecc48af544ef027f4531b Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 20 Dec 2022 14:26:06 -0600 Subject: [PATCH] Patch for api change. --- gegl04.spec | 1 + libraw.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 libraw.patch diff --git a/gegl04.spec b/gegl04.spec index 939b04c..333c02a 100644 --- a/gegl04.spec +++ b/gegl04.spec @@ -13,6 +13,7 @@ Source0: http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar. Patch0: gegl04-openexr.patch Patch1: gegl04-gtk.patch +Patch2: libraw.patch BuildRequires: chrpath BuildRequires: enscript diff --git a/libraw.patch b/libraw.patch new file mode 100644 index 0000000..aa7c762 --- /dev/null +++ b/libraw.patch @@ -0,0 +1,11 @@ +--- a/operations/external/raw-load.c~ 2022-07-13 15:16:56.000000000 -0500 ++++ a/operations/external/raw-load.c 2022-12-20 14:14:23.878428728 -0600 +@@ -114,7 +114,7 @@ + g_warning ("raw-load: Error Initializing raw library"); + else + { +- p->LibRaw->params.shot_select = o->image_num; ++ p->LibRaw->rawparams.shot_select = o->image_num; + + p->LibRaw->params.aber[0] = 1.0; + p->LibRaw->params.aber[2] = 1.0;