summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2017-05-11 16:23:21 -0700
committerDaniel Campbell <zlg@gentoo.org>2017-05-11 16:23:53 -0700
commitde2db60f8afd411eb0340c6bf6ed833407e8d7a3 (patch)
tree7438c969d6f693f01aa3f5eb30b38d99307c0162 /x11-misc
parentprofiles: mask app-arch/undms and app-arch/unlzx for removal. (diff)
downloadgentoo-de2db60f8afd411eb0340c6bf6ed833407e8d7a3.tar.gz
gentoo-de2db60f8afd411eb0340c6bf6ed833407e8d7a3.tar.bz2
gentoo-de2db60f8afd411eb0340c6bf6ed833407e8d7a3.zip
x11-misc/spacefm: Improve patch coverage wrt bug 603000
Thanks to Polynomial-C for catching this. Gentoo-Bug: 603000 Gentoo-Bug-URL: https://bugs.gentoo.org/603000 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/spacefm/files/spacefm-include-sysmacros.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/spacefm/files/spacefm-include-sysmacros.patch b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
index 153d7c28a25e..28bbfc7c4057 100644
--- a/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
+++ b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
@@ -8,3 +8,14 @@
#ifdef HAVE_STATVFS
#include <sys/statvfs.h>
+--- a/src/main.c
++++ b/src/main.c
+@@ -30,6 +30,8 @@
+
+ #include <locale.h>
+
++#include <sys/sysmacros.h> /* for major/minor, dev_t */
++
+ #include "main-window.h"
+
+ #include "vfs-file-info.h"