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 B1A2D138334 for ; Mon, 6 Aug 2018 09:36:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B315CE0839; Mon, 6 Aug 2018 09:36:34 +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 86446E0839 for ; Mon, 6 Aug 2018 09:36:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 55239335CA6 for ; Mon, 6 Aug 2018 09:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B70FE360 for ; Mon, 6 Aug 2018 09:36:30 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1533548045.69c474500c921c4097c38479674ef6deb83ccfd7.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/, sys-libs/gdbm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch sys-libs/gdbm/gdbm-1.17.ebuild X-VCS-Directories: sys-libs/gdbm/files/ sys-libs/gdbm/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 69c474500c921c4097c38479674ef6deb83ccfd7 X-VCS-Branch: master Date: Mon, 6 Aug 2018 09:36:30 +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: e911cd8c-fc46-4a5b-a7e5-a41db28af6df X-Archives-Hash: 947ba211f599e7331609299ae8a451cd commit: 69c474500c921c4097c38479674ef6deb83ccfd7 Author: Guilherme Amadio gentoo org> AuthorDate: Mon Aug 6 07:46:38 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Mon Aug 6 09:34:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c47450 sys-libs/gdbm: fix compilation with clang, bug #662840 Closes: https://bugs.gentoo.org/662840 Package-Manager: Portage-2.3.44, Repoman-2.3.10 sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch | 11 +++++++++++ sys-libs/gdbm/gdbm-1.17.ebuild | 2 ++ 2 files changed, 13 insertions(+) diff --git a/sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch b/sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch new file mode 100644 index 00000000000..434aed59952 --- /dev/null +++ b/sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch @@ -0,0 +1,11 @@ +--- /src/gdbmsync.c.orig 2018-08-05 14:37:18.000116786 +0200 ++++ /src/gdbmsync.c 2018-08-05 14:37:39.666117321 +0200 +@@ -28,7 +28,7 @@ + gdbm_sync (GDBM_FILE dbf) + { + /* Return immediately if the database needs recovery */ +- GDBM_ASSERT_CONSISTENCY (dbf, ); ++ GDBM_ASSERT_CONSISTENCY (dbf, GDBM_NEED_RECOVERY); + + /* Initialize the gdbm_errno variable. */ + gdbm_set_errno (dbf, GDBM_NO_ERROR, FALSE);} diff --git a/sys-libs/gdbm/gdbm-1.17.ebuild b/sys-libs/gdbm/gdbm-1.17.ebuild index fa77f1fe956..db39c5da570 100644 --- a/sys-libs/gdbm/gdbm-1.17.ebuild +++ b/sys-libs/gdbm/gdbm-1.17.ebuild @@ -19,6 +19,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/gdbm-1.17-fix-gdbmsync.patch ) + src_prepare() { default eautoreconf