summaryrefslogtreecommitdiff
path: root/sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch')
-rw-r--r--sys-libs/gdbm/files/gdbm-1.17-fix-gdbmsync.patch11
1 files changed, 11 insertions, 0 deletions
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 000000000000..434aed59952b
--- /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);}