Patch for api change.

This commit is contained in:
Gwyn Ciesla 2022-12-20 14:26:06 -06:00
parent 74f77f9474
commit 5efd0c16a7
2 changed files with 12 additions and 0 deletions

View File

@ -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

11
libraw.patch Normal file
View File

@ -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;