From 2d11c53e87eb3976889ca2f3226a374d6dbdf47d Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Tue, 22 Aug 2017 00:44:47 -0400 Subject: sys-fs/f2fs-tools: fix bug #623660 for version 1.8.0 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- sys-fs/f2fs-tools/f2fs-tools-1.8.0.ebuild | 4 ++++ sys-fs/f2fs-tools/files/f2fs-tools-1.8.0-sysmacros.patch | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 sys-fs/f2fs-tools/files/f2fs-tools-1.8.0-sysmacros.patch (limited to 'sys-fs/f2fs-tools') diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.8.0.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.8.0.ebuild index 11d3ad95aa05..fe85240c1de3 100644 --- a/sys-fs/f2fs-tools/f2fs-tools-1.8.0.ebuild +++ b/sys-fs/f2fs-tools/f2fs-tools-1.8.0.ebuild @@ -17,6 +17,10 @@ RDEPEND=" selinux? ( sys-libs/libselinux )" DEPEND="$RDEPEND" +PATCHES=( + "${FILESDIR}"/${P}-sysmacros.patch #623660 +) + src_configure() { #This is required to install to /sbin, bug #481110 econf \ diff --git a/sys-fs/f2fs-tools/files/f2fs-tools-1.8.0-sysmacros.patch b/sys-fs/f2fs-tools/files/f2fs-tools-1.8.0-sysmacros.patch new file mode 100644 index 000000000000..7ca70222fd5a --- /dev/null +++ b/sys-fs/f2fs-tools/files/f2fs-tools-1.8.0-sysmacros.patch @@ -0,0 +1,10 @@ +--- f2fs-tools-1.8.0/lib/libf2fs.c.orig 2017-07-03 03:01:53.000000000 +0600 ++++ f2fs-tools-1.8.0/lib/libf2fs.c 2017-08-17 00:45:01.638979885 +0600 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.3-65-gdbad