freebsd-ports/irc/undernet-ircu/files/patch-ircd_send.c
2005-01-21 22:45:35 +00:00

26 lines
514 B
C

$FreeBSD$
--- ircd/send.c.orig
+++ ircd/send.c
@@ -44,7 +44,7 @@
#include <assert.h>
#include <stdio.h>
#include <string.h>
-
+#include <osreldate.h>
static int sentalong[MAXCONNECTIONS];
static int sentalong_marker;
@@ -697,7 +697,11 @@
* this is ok...
*/
vd.vd_format = pattern;
+ #if __FreeBSD_version > 500000 && defined(__amd64__)
+ va_copy(vd.vd_args, vl);
+ #else
vd.vd_args = vl;
+ #endif
mb = msgq_make(0, ":%s " MSG_NOTICE " * :*** Notice -- %v", cli_name(&me),
&vd);