summaryrefslogtreecommitdiff
path: root/databases/sdbm/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sdbm/patches/patch-af')
-rw-r--r--databases/sdbm/patches/patch-af27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/sdbm/patches/patch-af b/databases/sdbm/patches/patch-af
new file mode 100644
index 00000000000..b533be6dcf3
--- /dev/null
+++ b/databases/sdbm/patches/patch-af
@@ -0,0 +1,27 @@
+$NetBSD: patch-af,v 1.1 2000/09/26 03:47:11 hubertf Exp $
+
+--- dbe.c.orig Mon Sep 25 23:28:28 2000
++++ dbe.c
+@@ -1,4 +1,6 @@
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #ifndef VMS
+ #include <sys/file.h>
+ #include <ndbm.h>
+@@ -51,6 +53,7 @@
+ #define index strchr
+ #endif
+
++#ifndef __NetBSD__
+ char
+ getopt(argc, argv, optstring)
+ int argc;
+@@ -128,6 +131,7 @@
+ }
+ return c;
+ }
++#endif
+
+
+ void