commit: dd9edb33d1b4949330bb07661f39d76df84519f3 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Mon Apr 19 03:16:23 2021 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Mon Apr 19 03:16:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9edb33
media-gfx/ufraw: Fix build with glib-2.68 Closes: https://bugs.gentoo.org/777534 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> 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(+) 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 00000000000..c2499fa16bf --- /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 <glib.h> ++#include <glib/gstdio.h> ++ + #ifdef __cplusplus + extern "C" { + #endif + +-#include <glib.h> +-#include <glib/gstdio.h> +- + // 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 0400a1d39a7..1be3077ba8e 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() {