[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-gdbm doesn't work with gdbm-1.14
From: |
Ludovic Courtès |
Subject: |
Re: guile-gdbm doesn't work with gdbm-1.14 |
Date: |
Mon, 19 Mar 2018 17:47:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Mark H Weaver <address@hidden> skribis:
> address@hidden (宋文武) writes:
>
>> Hello, since version 1.14, gdbm doesn't export "gdbm_errno" anymore [1],
>> so the guile-gdbm ffi binding code [2] need updates now (I'm not
>> confident to do it myself...).
Thanks, Mark for the quick fix.
> --- /dev/null
> +++ b/gnu/packages/patches/guile-gdbm-ffi-support-gdbm-1.14.patch
> @@ -0,0 +1,53 @@
> +From 1da99396dc65993ba34ac0370ca5d6acda6a3322 Mon Sep 17 00:00:00 2001
> +From: Mark H Weaver <address@hidden>
> +Date: Sun, 18 Mar 2018 07:02:37 -0400
> +Subject: [PATCH] Add support for gdbm-1.14.
> +
> +As of gdbm-1.14, 'gdbm_errno' no longer exists as a binary interface.
> +It has been replaced by 'gdbm_errno_location', a function that returns
> +int*. We now use this new interface if it's available.
Ian, could you consider applying this patch upstream?
Thanks!
Ludo’.