diff options
author | dholland <dholland@pkgsrc.org> | 2017-09-09 17:13:50 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2017-09-09 17:13:50 +0000 |
commit | 6d589f26ebdfeee9d20cc2381e1dc690e93a0d21 (patch) | |
tree | 53781e2f06bf5ee88a077bf5fbebb33e5aa2e3e2 | |
parent | 6c7958ff6656fbe0ec7fdae3a6fc0dd72259c086 (diff) | |
download | pkgsrc-6d589f26ebdfeee9d20cc2381e1dc690e93a0d21.tar.gz |
Fix compat #define to expand to something that actually exists. Should
fix the build of clisp-gdbm and maybe others. PKGREVISION -> 1.
-rw-r--r-- | databases/gdbm/Makefile | 3 | ||||
-rw-r--r-- | databases/gdbm/distinfo | 3 | ||||
-rw-r--r-- | databases/gdbm/patches/patch-src_gdbm.h.in | 16 |
3 files changed, 20 insertions, 2 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile index 980b49ac6ce..17a29791df3 100644 --- a/databases/gdbm/Makefile +++ b/databases/gdbm/Makefile @@ -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 --git a/databases/gdbm/distinfo b/databases/gdbm/distinfo index 1c3e111ee63..2be43840038 100644 --- a/databases/gdbm/distinfo +++ b/databases/gdbm/distinfo @@ -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 --git a/databases/gdbm/patches/patch-src_gdbm.h.in b/databases/gdbm/patches/patch-src_gdbm.h.in new file mode 100644 index 00000000000..570bf5823ff --- /dev/null +++ b/databases/gdbm/patches/patch-src_gdbm.h.in @@ -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; |