x11-misc/spacefm: Improve patch coverage wrt bug 603000
authorDaniel Campbell <zlg@gentoo.org>
Thu, 11 May 2017 23:23:21 +0000 (16:23 -0700)
committerDaniel Campbell <zlg@gentoo.org>
Thu, 11 May 2017 23:23:53 +0000 (16:23 -0700)
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

x11-misc/spacefm/files/spacefm-include-sysmacros.patch

index 153d7c28a25e50b396ecdb86394855b33fee139d..28bbfc7c40571d4e42c92a64618b975b29aa6be7 100644 (file)
@@ -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"