diff options
author | tron <tron@pkgsrc.org> | 2009-09-13 16:10:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-09-13 16:10:53 +0000 |
commit | f0aa225977834ca1852b4fb8dcad964c463101d5 (patch) | |
tree | 8740232b1950975ab96c361d72d4dfb799d7052d /mail/faces | |
parent | 89da8c7188cc0d0a078c781b2f12b44a3402d1f2 (diff) | |
download | pkgsrc-f0aa225977834ca1852b4fb8dcad964c463101d5.tar.gz |
Include "string.h" instead of manually defining prototypes for e.g.
strcpy(3). This fixes the build under Mac OS X Snow Leopard.
Diffstat (limited to 'mail/faces')
-rw-r--r-- | mail/faces/distinfo | 3 | ||||
-rw-r--r-- | mail/faces/patches/patch-bd | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/mail/faces/distinfo b/mail/faces/distinfo index f2a5c4d0170..753f4a266a6 100644 --- a/mail/faces/distinfo +++ b/mail/faces/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2007/12/16 14:48:30 tron Exp $ +$NetBSD: distinfo,v 1.14 2009/09/13 16:10:53 tron Exp $ SHA1 (faces-1.6.1.tar.Z) = 8402a74e43e78345c23a975a417c2407322db65f RMD160 (faces-1.6.1.tar.Z) = fdf0d1eca4d094b0b50c00c627082c78ae5dd195 @@ -32,3 +32,4 @@ SHA1 (patch-az) = 1d753d201e2c4790a027b0ccad1da3ce02e20085 SHA1 (patch-ba) = 52325ea46828e6c7fd56e0faf8487a15dafbb0b7 SHA1 (patch-bb) = 4693aa848a3059d291a1fb8b2c391ee2acf07649 SHA1 (patch-bc) = c6af853a024cb1f4389cb594b0ad8f747bee5ac0 +SHA1 (patch-bd) = b8c185796629344fa00da94cbec9ca92d1b301b0 diff --git a/mail/faces/patches/patch-bd b/mail/faces/patches/patch-bd new file mode 100644 index 00000000000..52d2fb50ac1 --- /dev/null +++ b/mail/faces/patches/patch-bd @@ -0,0 +1,21 @@ +$NetBSD: patch-bd,v 1.1 2009/09/13 16:10:53 tron Exp $ + +--- addr.h.orig 1991-07-01 02:25:44.000000000 +0100 ++++ addr.h 2009-09-13 17:04:58.000000000 +0100 +@@ -52,15 +52,13 @@ + char **top; /* toplevel domain */ + } Dom; + ++#include <string.h> + + extern Addr *newAddr(); /* Create a new address */ + extern Dom *newDom(); /* Create a new domain */ + extern Addr *adrlist; + extern Addr *errlist; + static char *Amalloc(); +-extern char *strcpy(); +-extern char *strncpy(); +-extern char *strcat(); + + /* SHUT UP! */ + #define Strcpy (void)strcpy |