openbsd-ports/net/irssi/patches/patch-src_irc_dcc_dcc_c
sthen f1e16e9c28 Various tweaks to the irssi port, from Brad. Tested by a few people,
viq (maintainer) doesn't have time to look at it properly but is
generally ok with this.

- Remove USE_GROFF
- Remove --enable-ipv6 from CONFIGURE_ARGS since its enabled by default
- Backport fixes from SVN repo..
  - Replace deprecated glib functions
  - Do not go beyond the end of the string when processing an octal escape
  - glib iochannel fixes
  - Fix segfault generated by SSL disconnections
  - Do not use SSLv2 protocol
  - When sending a signal to an /exec'd command, send it to the process
    group id instead of the process id.
2011-11-16 10:16:57 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-src_irc_dcc_dcc_c,v 1.3 2011/11/16 10:16:57 sthen Exp $
--- src/irc/dcc/dcc.c.orig Sun Nov 6 05:07:38 2011
+++ src/irc/dcc/dcc.c Sun Nov 6 05:07:42 2011
@@ -367,7 +367,7 @@ static void ctcp_msg_dcc(IRC_SERVER_REC *server, const
args = strchr(str+13, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
- g_strdown(str+13);
+ ascii_strdown(str+13);
if (!signal_emit(str, 6, server, args, nick, addr, target, chat)) {
signal_emit("default ctcp msg dcc", 6,
server, data, nick, addr, target, chat);
@@ -389,7 +389,7 @@ static void ctcp_reply_dcc(IRC_SERVER_REC *server, con
args = strchr(str+15, ' ');
if (args != NULL) *args++ = '\0'; else args = "";
- g_strdown(str+15);
+ ascii_strdown(str+15);
if (!signal_emit(str, 5, server, args, nick, addr, target)) {
signal_emit("default ctcp reply dcc", 5,
server, data, nick, addr, target);
@@ -502,7 +502,7 @@ static void cmd_dcc_close(char *data, IRC_SERVER_REC *
if (*nick == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
- g_strup(typestr);
+ ascii_strup(typestr);
type = dcc_str2type(typestr);
if (type == -1) {
signal_emit("dcc error unknown type", 1, typestr);