From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0B641382C5 for ; Tue, 6 Mar 2018 08:34:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCFA6E0848; Tue, 6 Mar 2018 08:34:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDCBCE0848 for ; Tue, 6 Mar 2018 08:34:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D386335C36 for ; Tue, 6 Mar 2018 08:34:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09ACE1EB for ; Tue, 6 Mar 2018 08:34:17 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1520325252.cdfc6cdb46f30d5011c432a062260b056be09253.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/f2fs-tools/, sys-fs/f2fs-tools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch X-VCS-Directories: sys-fs/f2fs-tools/files/ sys-fs/f2fs-tools/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: cdfc6cdb46f30d5011c432a062260b056be09253 X-VCS-Branch: master Date: Tue, 6 Mar 2018 08:34:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fd0982b7-ca2e-4d09-9375-e48d444b2a25 X-Archives-Hash: 049311c4351d5e2ad6595c1f46076bfc commit: cdfc6cdb46f30d5011c432a062260b056be09253 Author: Anthony G. Basile gentoo org> AuthorDate: Tue Mar 6 08:33:51 2018 +0000 Commit: Anthony G. Basile gentoo 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 + +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 + #include + #include