From dd9edb33d1b4949330bb07661f39d76df84519f3 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 18 Apr 2021 23:16:23 -0400 Subject: media-gfx/ufraw: Fix build with glib-2.68 Closes: https://bugs.gentoo.org/777534 Signed-off-by: Matt Turner --- media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch | 19 +++++++++++++++++++ media-gfx/ufraw/ufraw-0.22-r4.ebuild | 1 + 2 files changed, 20 insertions(+) create mode 100644 media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch (limited to 'media-gfx') diff --git a/media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch b/media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch new file mode 100644 index 000000000000..c2499fa16bf5 --- /dev/null +++ b/media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch @@ -0,0 +1,19 @@ +--- a/uf_glib.h 2021-04-18 23:14:11.346861061 -0400 ++++ b/uf_glib.h 2021-04-18 23:14:20.180520873 -0400 +@@ -13,13 +13,13 @@ + #ifndef _UF_GLIB_H + #define _UF_GLIB_H + ++#include ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif + +-#include +-#include +- + // g_win32_locale_filename_from_utf8 is needed only on win32 + #ifdef _WIN32 + #define uf_win32_locale_filename_from_utf8(__some_string__) \ diff --git a/media-gfx/ufraw/ufraw-0.22-r4.ebuild b/media-gfx/ufraw/ufraw-0.22-r4.ebuild index 0400a1d39a78..1be3077ba8ed 100644 --- a/media-gfx/ufraw/ufraw-0.22-r4.ebuild +++ b/media-gfx/ufraw/ufraw-0.22-r4.ebuild @@ -46,6 +46,7 @@ PATCHES=( "${FILESDIR}"/${P}-gcc9.patch "${FILESDIR}"/${P}-CVE-2015-8366.patch "${FILESDIR}"/${P}-CVE-2018-19655.patch + "${FILESDIR}"/${P}-glib-2.68.patch ) src_prepare() { -- cgit v1.2.3-65-gdbad