diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-04-13 19:06:16 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-04-13 19:06:16 +0000 |
commit | 20a8b67cd4fb713267333ca37d5b7c9303d91c0f (patch) | |
tree | 4b5e3619f6e3e18bb9f4e3ee95a2c2a7e9e065bb /mail/lmtp2nntp/files/patch-ts.c | |
parent | Per distfile survey, reset mastersite that disappeared in January 2004. (diff) |
Fix build on amd64 by using va_copy.
Use external libraries, where possible. Bump PORTREVISION.
Diffstat (limited to '')
-rw-r--r-- | mail/lmtp2nntp/files/patch-ts.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/lmtp2nntp/files/patch-ts.c b/mail/lmtp2nntp/files/patch-ts.c new file mode 100644 index 000000000000..d7963d364c7e --- /dev/null +++ b/mail/lmtp2nntp/files/patch-ts.c @@ -0,0 +1,14 @@ +--- ts.c.orig Tue Apr 13 19:32:20 2004 ++++ lib_tai/ts.c Tue Apr 13 19:32:46 2004 +@@ -206,7 +206,11 @@ + + if (format == NULL) + return NULL; ++#ifdef __amd64__ ++ va_copy(ap2,ap); ++#else + ap2 = ap; ++#endif + if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1) + return NULL; + if ((buffer = (char *)malloc(n+1)) == NULL) |