pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/gdbm Fix compat #define to expand to somethi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f3b6e8ca9af
branches:  trunk
changeset: 367987:8f3b6e8ca9af
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Sep 09 17:13:50 2017 +0000

description:
Fix compat #define to expand to something that actually exists. Should
fix the build of clisp-gdbm and maybe others. PKGREVISION -> 1.

diffstat:

 databases/gdbm/Makefile                    |   3 ++-
 databases/gdbm/distinfo                    |   3 ++-
 databases/gdbm/patches/patch-src_gdbm.h.in |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 42e4bf0e8021 -r 8f3b6e8ca9af databases/gdbm/Makefile
--- a/databases/gdbm/Makefile   Sat Sep 09 17:06:51 2017 +0000
+++ b/databases/gdbm/Makefile   Sat Sep 09 17:13:50 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.52 2017/03/20 06:02:26 adam Exp $
+# $NetBSD: Makefile,v 1.53 2017/09/09 17:13:50 dholland Exp $
 
 .include "Makefile.common"
 
+PKGREVISION=   1
 COMMENT=       The GNU database manager
 
 INFO_FILES=            yes
diff -r 42e4bf0e8021 -r 8f3b6e8ca9af databases/gdbm/distinfo
--- a/databases/gdbm/distinfo   Sat Sep 09 17:06:51 2017 +0000
+++ b/databases/gdbm/distinfo   Sat Sep 09 17:13:50 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2017/03/20 06:02:26 adam Exp $
+$NetBSD: distinfo,v 1.13 2017/09/09 17:13:50 dholland Exp $
 
 SHA1 (gdbm-1.13.tar.gz) = 7f2a8301497bbcac91808b011ca533380914fd21
 RMD160 (gdbm-1.13.tar.gz) = ad3d3258d3ae82eb16237051ea0e981178d6e93e
 SHA512 (gdbm-1.13.tar.gz) = fdb777f5b415b0578ea46b4a6fc70151a04a3568e2f2c8c0219ccad8c0d34abb773d80d5d7a06462ad1a3d6c1f3b5b7ab25f9de4f43ccf05c58db05f9a2906ad
 Size (gdbm-1.13.tar.gz) = 891987 bytes
 SHA1 (patch-src_Makefile.in) = 52b47f3dcd381143d1cdae40f1972bd989dcce1f
+SHA1 (patch-src_gdbm.h.in) = 4bf48f2bd6bf28215dfca704b01f2b5302fe69c8
diff -r 42e4bf0e8021 -r 8f3b6e8ca9af databases/gdbm/patches/patch-src_gdbm.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/gdbm/patches/patch-src_gdbm.h.in        Sat Sep 09 17:13:50 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_gdbm.h.in,v 1.1 2017/09/09 17:13:50 dholland Exp $
+
+Fix the compat define for GDBM_UNKNOWN_UPDATE to expand to something
+that actually exists.
+
+--- src/gdbm.h.in~     2017-01-02 11:51:49.000000000 +0000
++++ src/gdbm.h.in
+@@ -224,7 +224,7 @@ extern int gdbm_copy_meta (GDBM_FILE dst
+ # define _GDBM_MAX_ERRNO      GDBM_DIR_OVERFLOW
+ 
+ /* This one was never used and will be removed in the future */
+-# define GDBM_UNKNOWN_UPDATE GDBM_ERR_UNKNOWN_ERROR
++# define GDBM_UNKNOWN_UPDATE GDBM_UNKNOWN_ERROR
+   
+ typedef int gdbm_error;
+ extern gdbm_error gdbm_errno;



Home | Main Index | Thread Index | Old Index