1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/lmtp2nntp/files/patch-ts.c
Tilman Keskinoz 20a8b67cd4 Fix build on amd64 by using va_copy.
Use external libraries, where possible. Bump PORTREVISION.
2004-04-13 19:06:16 +00:00

15 lines
354 B
C

--- 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)