summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-04-18 23:16:23 -0400
committerMatt Turner <mattst88@gentoo.org>2021-04-18 23:16:37 -0400
commitdd9edb33d1b4949330bb07661f39d76df84519f3 (patch)
tree6b48b17ed65fdc1c2ada79acebdaff39c62d0aca /media-gfx
parentgnome-base/gvfs: Version bump to 1.48.0 (diff)
downloadgentoo-dd9edb33d1b4949330bb07661f39d76df84519f3.tar.gz
gentoo-dd9edb33d1b4949330bb07661f39d76df84519f3.tar.bz2
gentoo-dd9edb33d1b4949330bb07661f39d76df84519f3.zip
media-gfx/ufraw: Fix build with glib-2.68
Closes: https://bugs.gentoo.org/777534 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/ufraw/files/ufraw-0.22-glib-2.68.patch19
-rw-r--r--media-gfx/ufraw/ufraw-0.22-r4.ebuild1
2 files changed, 20 insertions, 0 deletions
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 <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 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() {