summary refs log tree commit diff
path: root/gnu/packages/dbm.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-12-15 23:10:29 +0100
committerMarius Bakke <marius@gnu.org>2020-12-17 00:15:48 +0100
commit420ddd0a91d50b3d37003638af8dc19bbef02c01 (patch)
tree7495bc48541928cd6745dea1a5c066b379e18a6a /gnu/packages/dbm.scm
parent04496dc5743d54134405c604ca863ce913283a0e (diff)
downloadguix-420ddd0a91d50b3d37003638af8dc19bbef02c01.tar.gz
gnu: gdbm: Fix build with GCC 10.
* gnu/packages/patches/gdbm-gcc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/dbm.scm (gdbm)[source](patches): New field.
Diffstat (limited to 'gnu/packages/dbm.scm')
-rw-r--r--gnu/packages/dbm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 6610a705a7..8059d95628 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -139,6 +139,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
               (method url-fetch)
               (uri (string-append "mirror://gnu/gdbm/gdbm-"
                                   version ".tar.gz"))
+              (patches (search-patches "gdbm-gcc-compat.patch"))
               (sha256
                (base32
                 "1p4ibds6z3ccy65lkmd6lm7js0kwifvl53r0fd759fjxgr917rl6"))))