openbsd-ports/net/irssi/patches/patch-src_irc_dcc_dcc-chat_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

22 lines
770 B
Plaintext

$OpenBSD: patch-src_irc_dcc_dcc-chat_c,v 1.1 2011/11/16 10:16:57 sthen Exp $
--- src/irc/dcc/dcc-chat.c.orig Sun Nov 6 05:07:13 2011
+++ src/irc/dcc/dcc-chat.c Sun Nov 6 05:07:20 2011
@@ -281,7 +281,7 @@ static void cmd_ctcp(const char *data, IRC_SERVER_REC
dcc = dcc_chat_find_id(target+1);
if (dcc != NULL) {
- g_strup(ctcpcmd);
+ ascii_strup(ctcpcmd);
str = g_strconcat(ctcpcmd, " ", ctcpdata, NULL);
dcc_ctcp_message(server, dcc->nick, dcc, FALSE, str);
@@ -719,7 +719,7 @@ static void dcc_chat_msg(CHAT_DCC_REC *dcc, const char
cmd = g_ascii_strup(cmd, -1);
- g_strdown(event+9);
+ ascii_strdown(event+9);
if (!signal_emit(event, 2, dcc, ptr)) {
signal_emit(reply ? "default dcc reply" :
"default dcc ctcp", 3, dcc, cmd, ptr);