pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/faces Include "string.h" instead of manually defi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d74d761bd047
branches: trunk
changeset: 399127:d74d761bd047
user: tron <tron%pkgsrc.org@localhost>
date: Sun Sep 13 16:10:53 2009 +0000
description:
Include "string.h" instead of manually defining prototypes for e.g.
strcpy(3). This fixes the build under Mac OS X Snow Leopard.
diffstat:
mail/faces/distinfo | 3 ++-
mail/faces/patches/patch-bd | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 58ef0e2d615c -r d74d761bd047 mail/faces/distinfo
--- a/mail/faces/distinfo Sun Sep 13 15:51:47 2009 +0000
+++ b/mail/faces/distinfo Sun Sep 13 16:10:53 2009 +0000
@@ -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-ba) = 52325ea46828e6c7fd56e0faf8487a15dafbb0b7
SHA1 (patch-bb) = 4693aa848a3059d291a1fb8b2c391ee2acf07649
SHA1 (patch-bc) = c6af853a024cb1f4389cb594b0ad8f747bee5ac0
+SHA1 (patch-bd) = b8c185796629344fa00da94cbec9ca92d1b301b0
diff -r 58ef0e2d615c -r d74d761bd047 mail/faces/patches/patch-bd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/faces/patches/patch-bd Sun Sep 13 16:10:53 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index