summaryrefslogtreecommitdiff
path: root/databases/sdbm/patches
diff options
context:
space:
mode:
authordholland <dholland>2011-11-14 01:41:08 +0000
committerdholland <dholland>2011-11-14 01:41:08 +0000
commitd4856fea6d6092c157620690751e9d9f25ec8ff6 (patch)
tree8ff47ac79fe69228737fb7bd898ebb73bbe02602 /databases/sdbm/patches
parent22d157cb84daafec960a814ad3bf3a825fafe66f (diff)
downloadpkgsrc-d4856fea6d6092c157620690751e9d9f25ec8ff6.tar.gz
Don't declare own strchr(), should improve Linux build
Diffstat (limited to 'databases/sdbm/patches')
-rw-r--r--databases/sdbm/patches/patch-ae17
1 files changed, 14 insertions, 3 deletions
diff --git a/databases/sdbm/patches/patch-ae b/databases/sdbm/patches/patch-ae
index 8c0c001377f..cfc14ff111d 100644
--- a/databases/sdbm/patches/patch-ae
+++ b/databases/sdbm/patches/patch-ae
@@ -1,10 +1,21 @@
-$NetBSD: patch-ae,v 1.1 2000/09/26 03:47:11 hubertf Exp $
+$NetBSD: patch-ae,v 1.2 2011/11/14 01:41:08 dholland Exp $
---- dbu.c.orig Mon Sep 25 23:27:21 2000
+- Use standard includes instead of own declarations
+
+--- dbu.c.orig 2011-11-14 01:43:27.000000000 +0000
+++ dbu.c
-@@ -1,4 +1,5 @@
+@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
++#include <string.h>
#include <sys/file.h>
#ifdef SDBM
#include "sdbm.h"
+@@ -12,7 +14,6 @@
+ #endif
+
+ extern int getopt();
+-extern char *strchr();
+ extern void oops();
+
+ char *progname;