summaryrefslogtreecommitdiff
path: root/mail/ja-mh/patches/patch-at
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-11-21 18:52:36 +0000
committerkristerw <kristerw>2004-11-21 18:52:36 +0000
commit66e01d772f6f012881de9584f3a208bff2990011 (patch)
tree21552d5a629a3ecc8a5ce8366709e6f85b0e640b /mail/ja-mh/patches/patch-at
parent723a278bf41110ef8681773b1264ec66afb70765 (diff)
downloadpkgsrc-66e01d772f6f012881de9584f3a208bff2990011.tar.gz
gcc 2.95 has problems with K&R prototypes for varargs functions.
Change it to a ISO C prototype.
Diffstat (limited to 'mail/ja-mh/patches/patch-at')
-rw-r--r--mail/ja-mh/patches/patch-at13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/ja-mh/patches/patch-at b/mail/ja-mh/patches/patch-at
new file mode 100644
index 00000000000..b93fe80a1e2
--- /dev/null
+++ b/mail/ja-mh/patches/patch-at
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.1 2004/11/21 18:52:36 kristerw Exp $
+
+--- h/mh.h.orig Sun Nov 21 19:31:18 2004
++++ h/mh.h Sun Nov 21 19:33:05 2004
+@@ -253,7 +253,7 @@
+ int atooi ();
+ char **brkstring ();
+ void closefds ();
+-char *concat ();
++char *concat (char *first, ...);
+ char *copy ();
+ char **copyip ();
+ void cpydata ();