From d3e34aeb2cf5f549ea558e1b181ecb029ff9a378 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 23 May 2014 20:49:37 +0000 Subject: Add patches needed for gdbm-1.11. --- databases/gdbm/patches/patch-src_gdbmtool.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 databases/gdbm/patches/patch-src_gdbmtool.h (limited to 'databases/gdbm/patches/patch-src_gdbmtool.h') diff --git a/databases/gdbm/patches/patch-src_gdbmtool.h b/databases/gdbm/patches/patch-src_gdbmtool.h new file mode 100644 index 00000000000..e20386910b4 --- /dev/null +++ b/databases/gdbm/patches/patch-src_gdbmtool.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_gdbmtool.h,v 1.1 2014/05/23 20:49:37 wiz Exp $ + +Avoid conflict with sys/syslimits.h. + +--- src/gdbmtool.h.orig 2013-05-15 15:32:42.000000000 +0000 ++++ src/gdbmtool.h +@@ -138,7 +138,7 @@ struct kvpair *kvpair_list (struct locus + #define ARG_STRING 0 + #define ARG_DATUM 1 + #define ARG_KVPAIR 2 +-#define ARG_MAX 3 ++#define GDBM_ARG_MAX 3 + + /* Argument to a command handler */ + struct gdbmarg -- cgit v1.2.3