sbcl 2.3.0 rebuild
[arch-packages.git] / gegl / repos / extra-x86_64 / gegl-libraw-0.21.patch
blobd85ec33e27c8fcc11eb7d41197d7c86862a1b684
1 diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
2 index 13eb661c2..7de2e232d 100644
3 --- a/operations/external/raw-load.c
4 +++ b/operations/external/raw-load.c
5 @@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
6 g_warning ("raw-load: Error Initializing raw library");
7 else
9 +#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
10 + p->LibRaw->rawparams.shot_select = o->image_num;
11 +#else
12 p->LibRaw->params.shot_select = o->image_num;
13 +#endif
15 p->LibRaw->params.aber[0] = 1.0;
16 p->LibRaw->params.aber[2] = 1.0;