summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2021-06-06 11:00:48 +0300
committerSam James <sam@gentoo.org>2021-06-09 21:33:57 +0000
commitaa48d2b8434c6b1b5e68039270c001e5552e2028 (patch)
tree7d2acc57ac61a77fc17563290e61b9562296a177 /media-libs/gegl/files
parentdev-ml/labltk: add 8.06.10 (diff)
downloadgentoo-aa48d2b8434c6b1b5e68039270c001e5552e2028.tar.gz
gentoo-aa48d2b8434c6b1b5e68039270c001e5552e2028.tar.bz2
gentoo-aa48d2b8434c6b1b5e68039270c001e5552e2028.zip
media-libs/gegl: fix USE="openexr" build against >=dev-libs/glib-2.67.3
Closes: https://bugs.gentoo.org/793998 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/gegl/files')
-rw-r--r--media-libs/gegl/files/gegl-0.4.26-fix-build-glib-2.67.3.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/gegl/files/gegl-0.4.26-fix-build-glib-2.67.3.patch b/media-libs/gegl/files/gegl-0.4.26-fix-build-glib-2.67.3.patch
new file mode 100644
index 000000000000..00e1b8ab4845
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.4.26-fix-build-glib-2.67.3.patch
@@ -0,0 +1,24 @@
+From 130cd583530dc41adfdec76d6662302f833e6033 Mon Sep 17 00:00:00 2001
+From: Olivier Tilloy <olivier.tilloy@canonical.com>
+Date: Fri, 5 Mar 2021 12:58:18 +0100
+Subject: [PATCH] Fix build with glib 2.67.3 (see
+ https://gitlab.gnome.org/GNOME/glib/-/issues/2331).
+
+---
+ operations/external/exr-load.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/operations/external/exr-load.cpp b/operations/external/exr-load.cpp
+index e864f7e3e..28403639c 100644
+--- a/operations/external/exr-load.cpp
++++ b/operations/external/exr-load.cpp
+@@ -29,9 +29,7 @@ property_file_path (path, "File", "")
+ #define GEGL_OP_NAME exr_load
+ #define GEGL_OP_C_FILE "exr-load.cpp"
+
+-extern "C" {
+ #include "gegl-op.h"
+-}
+
+ #include <ImfInputFile.h>
+ #include <ImfChannelList.h>