summaryrefslogtreecommitdiff
path: root/databases/gdbm/patches/patch-src_gdbmtool.h
diff options
context:
space:
mode:
authorwiz <wiz>2014-05-23 20:49:37 +0000
committerwiz <wiz>2014-05-23 20:49:37 +0000
commitd3e34aeb2cf5f549ea558e1b181ecb029ff9a378 (patch)
treefe702a3343d147200cb7f2226fd37d47d9400296 /databases/gdbm/patches/patch-src_gdbmtool.h
parentb98f97a671d2cd1741418c0c39e207742af23691 (diff)
downloadpkgsrc-d3e34aeb2cf5f549ea558e1b181ecb029ff9a378.tar.gz
Add patches needed for gdbm-1.11.
Diffstat (limited to 'databases/gdbm/patches/patch-src_gdbmtool.h')
-rw-r--r--databases/gdbm/patches/patch-src_gdbmtool.h15
1 files changed, 15 insertions, 0 deletions
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