public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/, sys-libs/gdbm/files/
Date: Mon,  6 Aug 2018 09:36:30 +0000 (UTC)	[thread overview]
Message-ID: <1533548045.69c474500c921c4097c38479674ef6deb83ccfd7.amadio@gentoo> (raw)

commit:     69c474500c921c4097c38479674ef6deb83ccfd7
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  6 07:46:38 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> 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


             reply	other threads:[~2018-08-06  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06  9:36 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-25  3:45 [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/, sys-libs/gdbm/files/ Sam James
2021-12-31 23:02 David Seifert
2021-06-06 15:42 David Seifert
2020-05-02 11:46 Sergei Trofimovich
2018-01-02 22:11 Thomas Deutschmann
2017-10-13 12:17 Thomas Deutschmann

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=1533548045.69c474500c921c4097c38479674ef6deb83ccfd7.amadio@gentoo \
    --to=amadio@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