summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-03 20:30:37 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-05 01:02:59 +0200
commite72a525503c4714cb04624df5d320971ff0c45cd (patch)
treed7f767c6fcca48b5d7f3ce7e633c7f7fd058fae1 /x11-misc/spacefm
parentx11-misc/spacefm: drop old (diff)
downloadgentoo-e72a525503c4714cb04624df5d320971ff0c45cd.tar.gz
gentoo-e72a525503c4714cb04624df5d320971ff0c45cd.tar.bz2
gentoo-e72a525503c4714cb04624df5d320971ff0c45cd.zip
x11-misc/spacefm: fixed compilation
Similar bug as #603000, just needed to adjust the patch. Package-Manager: Portage-2.3.27, Repoman-2.3.9
Diffstat (limited to 'x11-misc/spacefm')
-rw-r--r--x11-misc/spacefm/files/spacefm-9999-include-sysmacros.patch11
-rw-r--r--x11-misc/spacefm/spacefm-9999.ebuild4
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/spacefm/files/spacefm-9999-include-sysmacros.patch b/x11-misc/spacefm/files/spacefm-9999-include-sysmacros.patch
new file mode 100644
index 000000000000..3a586bba4395
--- /dev/null
+++ b/x11-misc/spacefm/files/spacefm-9999-include-sysmacros.patch
@@ -0,0 +1,11 @@
+--- 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"
diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-9999.ebuild
index 4bc9c19d81a0..fefb9fc512af 100644
--- a/x11-misc/spacefm/spacefm-9999.ebuild
+++ b/x11-misc/spacefm/spacefm-9999.ebuild
@@ -38,6 +38,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
+PATCHES=(
+ "${FILESDIR}"/${PN}-9999-include-sysmacros.patch
+)
+
src_configure() {
econf \
--htmldir=/usr/share/doc/${PF}/html \