aboutsummaryrefslogtreecommitdiff
path: root/irc/undernet-ircu/files/patch-ircd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/undernet-ircu/files/patch-ircd_send.c')
-rw-r--r--irc/undernet-ircu/files/patch-ircd_send.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/irc/undernet-ircu/files/patch-ircd_send.c b/irc/undernet-ircu/files/patch-ircd_send.c
index ec275840eafb..a5299acc4969 100644
--- a/irc/undernet-ircu/files/patch-ircd_send.c
+++ b/irc/undernet-ircu/files/patch-ircd_send.c
@@ -3,12 +3,24 @@ $FreeBSD$
--- ircd/send.c.orig
+++ ircd/send.c
-@@ -697,7 +697,7 @@
+@@ -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;
-- vd.vd_args = vl;
++ #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);