From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/f2fs-tools/, sys-fs/f2fs-tools/files/
Date: Tue, 6 Mar 2018 08:34:17 +0000 (UTC) [thread overview]
Message-ID: <1520325252.cdfc6cdb46f30d5011c432a062260b056be09253.blueness@gentoo> (raw)
commit: cdfc6cdb46f30d5011c432a062260b056be09253
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 6 08:33:51 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 08:34:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfc6cdb
sys-fs/f2fs-tools: fix bug #649168 in 1.10.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild | 2 ++
.../files/f2fs-tools-1.10.0-fibmap-include-config_h.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild
index 94561df90d6..6d2be3599a8 100644
--- a/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild
+++ b/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild
@@ -17,6 +17,8 @@ RDEPEND="
selinux? ( sys-libs/libselinux )"
DEPEND="$RDEPEND"
+PATCHES=( "${FILESDIR}"/${P}-fibmap-include-config_h.patch )
+
src_configure() {
#This is required to install to /sbin, bug #481110
econf \
diff --git a/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch b/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
new file mode 100644
index 00000000000..df57412b74c
--- /dev/null
+++ b/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
@@ -0,0 +1,15 @@
+See https://bugs.gentoo.org/649168
+
+Patch by: Matt Whitlock <gentoo@mattwhitlock.name>
+
+diff -Naur a/tools/fibmap.c b/tools/fibmap.c
+--- a/tools/fibmap.c 2018-03-01 00:09:24.861919778 +0000
++++ b/tools/fibmap.c 2018-03-01 17:31:48.854604556 +0000
+@@ -15,6 +15,7 @@
+ #ifndef O_LARGEFILE
+ #define O_LARGEFILE 0
+ #endif
++#include "config.h"
+ #include <unistd.h>
+ #include <string.h>
+ #include <stdlib.h>
next reply other threads:[~2018-03-06 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 8:34 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-21 17:46 [gentoo-commits] repo/gentoo:master commit in: sys-fs/f2fs-tools/, sys-fs/f2fs-tools/files/ Sam James
2023-05-30 5:33 Viorel Munteanu
2018-12-03 14:12 Mikle Kolyada
2017-08-22 5:30 Anthony G. Basile
2016-04-18 22:22 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520325252.cdfc6cdb46f30d5011c432a062260b056be09253.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox