summaryrefslogtreecommitdiff
path: root/app-crypt/heimdal/files/heimdal_fix-db60.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
commiteccb70a7f91b2d22582587f26d1a28bb31408b45 (patch)
tree3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /app-crypt/heimdal/files/heimdal_fix-db60.patch
parenta2810985afabcc31d3eace5e61d8ea25b852ba17 (diff)
gentoo resync : 18.05.2019
Diffstat (limited to 'app-crypt/heimdal/files/heimdal_fix-db60.patch')
-rw-r--r--app-crypt/heimdal/files/heimdal_fix-db60.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-crypt/heimdal/files/heimdal_fix-db60.patch b/app-crypt/heimdal/files/heimdal_fix-db60.patch
new file mode 100644
index 000000000000..7f012007e1ed
--- /dev/null
+++ b/app-crypt/heimdal/files/heimdal_fix-db60.patch
@@ -0,0 +1,11 @@
+--- a/lib/roken/ndbm_wrap.c 2016-12-20 17:23:06.000000000 +0300
++++ b/lib/roken/ndbm_wrap.c 2019-05-17 10:00:00.107905769 +0300
+@@ -175,7 +175,7 @@
+ return NULL;
+ }
+
+-#if (DB_VERSION_MAJOR > 3) && (DB_VERSION_MINOR > 0)
++#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR > 3 && DB_VERSION_MINOR > 0)
+ if(db->open(db, NULL, fn, NULL, DB_BTREE, myflags, mode) != 0) {
+ #else
+ if(db->open(db, fn, NULL, DB_BTREE, myflags, mode) != 0) {