summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-27 18:50:34 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-27 19:21:02 -0500
commitf9dae5d9bcf5eb2ac7e1c5ced41505588ac0a9ef (patch)
tree228b73b831e1bfe9457f68e4965109fd4439be78 /gnome-base/gvfs
parentsys-freebsd/freebsd-lib: fix Manifest. (diff)
downloadgentoo-f9dae5d9bcf5eb2ac7e1c5ced41505588ac0a9ef.tar.gz
gentoo-f9dae5d9bcf5eb2ac7e1c5ced41505588ac0a9ef.tar.bz2
gentoo-f9dae5d9bcf5eb2ac7e1c5ced41505588ac0a9ef.zip
gnome-base/gvfs: fix build w/newer glibc #580234
Diffstat (limited to 'gnome-base/gvfs')
-rw-r--r--gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch21
-rw-r--r--gnome-base/gvfs/gvfs-1.30.2.ebuild4
2 files changed, 25 insertions, 0 deletions
diff --git a/gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch b/gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch
new file mode 100644
index 000000000000..b2d2a91f5a76
--- /dev/null
+++ b/gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch
@@ -0,0 +1,21 @@
+https://bugzilla.gnome.org/show_bug.cgi?id=776532
+https://bugs.gentoo.org/580234
+
+--- a/metadata/meta-daemon.c
++++ b/metadata/meta-daemon.c
+@@ -27,6 +27,7 @@
+ #include <glib/gstdio.h>
+ #include <locale.h>
+ #include <stdlib.h>
++#include <sys/sysmacros.h>
+ #include "metatree.h"
+ #include "gvfsdaemonprotocol.h"
+ #include "metadata-dbus.h"
+--- a/metadata/metatree.c
++++ b/metadata/metatree.c
+@@ -1,4 +1,5 @@
+ #include "config.h"
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
diff --git a/gnome-base/gvfs/gvfs-1.30.2.ebuild b/gnome-base/gvfs/gvfs-1.30.2.ebuild
index e9821e23608d..d417818b9b73 100644
--- a/gnome-base/gvfs/gvfs-1.30.2.ebuild
+++ b/gnome-base/gvfs/gvfs-1.30.2.ebuild
@@ -81,6 +81,10 @@ DEPEND="${RDEPEND}
# https://bugzilla.gnome.org/700162
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.30.2-sysmacros.patch #580234
+)
+
src_prepare() {
if ! use udev; then
sed -e 's/gvfsd-burn/ /' \