commit: e72a525503c4714cb04624df5d320971ff0c45cd Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com> AuthorDate: Wed Apr 4 01:30:37 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Apr 4 23:02:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72a5255
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 x11-misc/spacefm/files/spacefm-9999-include-sysmacros.patch | 11 +++++++++++ x11-misc/spacefm/spacefm-9999.ebuild | 4 ++++ 2 files changed, 15 insertions(+) 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 00000000000..3a586bba439 --- /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 4bc9c19d81a..fefb9fc512a 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 \