Compile breaks when building against libraw
GEGL no longer compiles against libraw
version 0.21.x
.
There is a breaking ABI change which separates params
into params
and rawparams
.
https://github.com/LibRaw/LibRaw/compare/0.20.2...0.21.0 and look for rawparams
.
The date of the change is 2021-09-14
, so was done some time ago.
This is the error:
FAILED: operations/external/raw-load.dylib.p/raw-load.c.o
/usr/bin/clang -Ioperations/external/raw-load.dylib.p -Ioperations/external -I../gegl-0.4.40/operations/external -I. -I../gegl-0.4.40 -Igegl -I../gegl-0.4.40/gegl -Igegl/buffer -I../gegl-0.4.40/gegl/buffer -Igegl/graph -I../gegl-0.4.40/gegl/graph -Igegl/module -I../gegl-0.4.40/gegl/module -Igegl/opencl -I../gegl-0.4.40/gegl/opencl -Igegl/operation -I../gegl-0.4.40/gegl/operation -Igegl/process -I../gegl-0.4.40/gegl/process -Igegl/property-types -I../gegl-0.4.40/gegl/property-types -I/opt/local/include/babl-0.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/libraw -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu11 -O2 -g -DHAVE_CONFIG_H -Ofast -DGEGL_ENABLE_DEBUG -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -ftree-vectorize -Wmissing-prototypes -Wold-style-definition -pipe -Os -g -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk -arch x86_64 -g -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk -MD -MQ operations/external/raw-load.dylib.p/raw-load.c.o -MF operations/external/raw-load.dylib.p/raw-load.c.o.d -o operations/external/raw-load.dylib.p/raw-load.c.o -c ../gegl-0.4.40/operations/external/raw-load.c
../gegl-0.4.40/operations/external/raw-load.c:117:29: error: no member named 'shot_select' in 'libraw_output_params_t'
p->LibRaw->params.shot_select = o->image_num;
~~~~~~~~~~~~~~~~~ ^
1 error generated.