diff options
Diffstat (limited to 'source/l/gegl')
-rw-r--r-- | source/l/gegl/gegl.LibRaw-0.21.x.diff | 11 | ||||
-rwxr-xr-x | source/l/gegl/gegl.SlackBuild | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/source/l/gegl/gegl.LibRaw-0.21.x.diff b/source/l/gegl/gegl.LibRaw-0.21.x.diff new file mode 100644 index 000000000..940895474 --- /dev/null +++ b/source/l/gegl/gegl.LibRaw-0.21.x.diff @@ -0,0 +1,11 @@ +--- ./operations/external/raw-load.c.orig 2022-11-13 08:56:59.000000000 -0600 ++++ ./operations/external/raw-load.c 2023-01-30 13:46:30.701021311 -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; diff --git a/source/l/gegl/gegl.SlackBuild b/source/l/gegl/gegl.SlackBuild index 8f17c84aa..f408b0af7 100755 --- a/source/l/gegl/gegl.SlackBuild +++ b/source/l/gegl/gegl.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gegl VERSION=${VERSION:-$(echo gegl-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -82,6 +82,9 @@ find . \ # later if it causes any unwanted side effects. zcat $CWD/gegl.no.runtime.dot.check.diff.gz | patch -p1 --verbose || exit 1 +# Patch for LibRaw-0.21.x ABI change: +zcat $CWD/gegl.LibRaw-0.21.x.diff.gz | patch -p1 --verbose || exit 1 + # Configure, build, and install: export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" |