diff options
author | dholland <dholland@pkgsrc.org> | 2011-11-14 01:41:08 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-11-14 01:41:08 +0000 |
commit | ec8a614d3be5dc3c9bab9c5c5fe571c828cdfb69 (patch) | |
tree | 8ff47ac79fe69228737fb7bd898ebb73bbe02602 /databases/sdbm/patches | |
parent | 6320784db95ddc8fff374ec01df0a42d5f4f6940 (diff) | |
download | pkgsrc-ec8a614d3be5dc3c9bab9c5c5fe571c828cdfb69.tar.gz |
Don't declare own strchr(), should improve Linux build
Diffstat (limited to 'databases/sdbm/patches')
-rw-r--r-- | databases/sdbm/patches/patch-ae | 17 |
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; |