diff options
author | krion <krion@FreeBSD.org> | 2005-01-19 18:35:41 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-19 18:35:41 +0800 |
commit | 66d6bd3b01cc9de3689b37678aed09f355424e51 (patch) | |
tree | 0109f8976ea8fcbe9905426b03f314d402e5e5e5 /irc | |
parent | 45017772e0706978f9ee8d6548ea80787f999d4a (diff) | |
download | freebsd-ports-graphics-66d6bd3b01cc9de3689b37678aed09f355424e51.tar.gz freebsd-ports-graphics-66d6bd3b01cc9de3689b37678aed09f355424e51.tar.zst freebsd-ports-graphics-66d6bd3b01cc9de3689b37678aed09f355424e51.zip |
Fix build on amd64.
Diffstat (limited to 'irc')
-rw-r--r-- | irc/undernet-ircu/files/patch-ircd_ircd__log.c | 14 | ||||
-rw-r--r-- | irc/undernet-ircu/files/patch-ircd_send.c | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/irc/undernet-ircu/files/patch-ircd_ircd__log.c b/irc/undernet-ircu/files/patch-ircd_ircd__log.c new file mode 100644 index 00000000000..d248df1d3d6 --- /dev/null +++ b/irc/undernet-ircu/files/patch-ircd_ircd__log.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ircd/ircd_log.c.orig ++++ ircd/ircd_log.c +@@ -395,7 +395,7 @@ + + /* Build the basic log string */ + vd.vd_format = fmt; +- vd.vd_args = vl; ++ va_copy(vd.vd_args, vl); + + /* save the length for writev */ + /* Log format: "SYSTEM [SEVERITY]: log message" */ diff --git a/irc/undernet-ircu/files/patch-ircd_send.c b/irc/undernet-ircu/files/patch-ircd_send.c new file mode 100644 index 00000000000..ec275840eaf --- /dev/null +++ b/irc/undernet-ircu/files/patch-ircd_send.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ircd/send.c.orig ++++ ircd/send.c +@@ -697,7 +697,7 @@ + * this is ok... + */ + vd.vd_format = pattern; +- vd.vd_args = vl; ++ va_copy(vd.vd_args, vl); + mb = msgq_make(0, ":%s " MSG_NOTICE " * :*** Notice -- %v", cli_name(&me), + &vd); + |