Browse Source

gdbm: Update from 1.16 to 1.17

android-5
Fredrik Fornwall 6 years ago
parent
commit
258630a47f
  1. 4
      packages/gdbm/build.sh
  2. 16
      packages/gdbm/src-gdbmsync.c.patch

4
packages/gdbm/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org.ua/software/gdbm/
TERMUX_PKG_DESCRIPTION="Library of database functions that use extensible hashing"
TERMUX_PKG_VERSION=1.16
TERMUX_PKG_SHA256=c8a18bc6259da0c3eefefb018f8aa298fddc6f86c6fc0f0dec73270896ab512f
TERMUX_PKG_VERSION=1.17
TERMUX_PKG_SHA256=7cd8cc2e35b1aaede6084ea57cc9447752f498daaea854100a4bad567614977d
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gdbm/gdbm-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-readline"

16
packages/gdbm/src-gdbmsync.c.patch

@ -0,0 +1,16 @@
http://git.gnu.org.ua/cgit/gdbm.git/commit/?id=1059526e357da1aa92e5c020332f4b39ceb37503
diff --git a/src/gdbmsync.c b/src/gdbmsync.c
index a8d1002..a75952b 100644
--- a/src/gdbmsync.c
+++ b/src/gdbmsync.c
@@ -28,7 +28,7 @@ int
gdbm_sync (GDBM_FILE dbf)
{
/* Return immediately if the database needs recovery */
- GDBM_ASSERT_CONSISTENCY (dbf, );
+ GDBM_ASSERT_CONSISTENCY (dbf, -1);
/* Initialize the gdbm_errno variable. */
gdbm_set_errno (dbf, GDBM_NO_ERROR, FALSE);
Loading…
Cancel
Save