Unbreak build with LibRaw-0.21.0, patches from upstrea
This commit is contained in:
parent
7050cbe60d
commit
560240df93
|
@ -4,6 +4,7 @@ V= 0.4.40
|
|||
DISTNAME= gegl-${V}
|
||||
PKGNAME= gegl04-${V}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += gegl-0.4 0.5 # 0.439.1
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/133
|
||||
Index: operations/external/raw-load.c
|
||||
--- operations/external/raw-load.c.orig
|
||||
+++ operations/external/raw-load.c
|
||||
@@ -114,8 +114,12 @@ prepare (GeglOperation *operation)
|
||||
g_warning ("raw-load: Error Initializing raw library");
|
||||
else
|
||||
{
|
||||
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
|
||||
+ p->LibRaw->rawparams.shot_select = o->image_num;
|
||||
+#else
|
||||
p->LibRaw->params.shot_select = o->image_num;
|
||||
|
||||
+#endif
|
||||
p->LibRaw->params.aber[0] = 1.0;
|
||||
p->LibRaw->params.aber[2] = 1.0;
|
||||
//p->LibRaw->params.gamm[0] = 1.0 / 2.4;
|
Loading…
Reference in New Issue