Skip to content
Snippets Groups Projects
Commit e801f3bd authored by Santhosh Raju's avatar Santhosh Raju
Browse files

irc/irssi-icb: Unbreak the build.

Replace deprecated names to fix compilation for irssi 1.4.2.
parent 75b58748
No related branches found
No related tags found
No related merge requests found
PORTNAME= irssi-icb
PORTVERSION= 0.17
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= irc
MAINTAINER= fox@FreeBSD.org
......@@ -9,8 +9,6 @@ COMMENT= Irssi plugin for connecting to ICB network
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= does not build: error: use of undeclared identifier 'G_INPUT_READ'
BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:irc/irssi
RUN_DEPENDS= irssi:irc/irssi
......
Fixes compilation with irssi 1.4.2
--- src/core/icb-protocol.c.orig 2022-08-08 07:03:52 UTC
+++ src/core/icb-protocol.c
@@ -340,8 +340,8 @@ static void sig_server_connected(ICB_SERVER_REC *serve
return;
server->readtag =
- g_input_add(net_sendbuffer_handle(server->handle),
- G_INPUT_READ,
+ i_input_add(net_sendbuffer_handle(server->handle),
+ I_INPUT_READ,
(GInputFunction) icb_parse_incoming, server);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment