From aa48d2b8434c6b1b5e68039270c001e5552e2028 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sun, 6 Jun 2021 11:00:48 +0300 Subject: 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 Signed-off-by: Sam James --- .../files/gegl-0.4.26-fix-build-glib-2.67.3.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 media-libs/gegl/files/gegl-0.4.26-fix-build-glib-2.67.3.patch (limited to 'media-libs/gegl/files') 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 +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 + #include -- cgit v1.2.3-65-gdbad