unbreak irssi-icb with irssi 1.4.1

from landry@, plus @so tags

ok landry@ bket@
This commit is contained in:
namn 2022-06-23 02:27:21 +00:00
parent 30c6aa5bd3
commit 8a270b4fa1
4 changed files with 29 additions and 3 deletions

View File

@ -5,7 +5,7 @@ GH_PROJECT= irssi-icb
GH_COMMIT= c4e2ea8939b5b75d1941ebe3335475482d218838
DISTNAME= irssi-icb-0.17
REVISION= 1
REVISION= 2
CATEGORIES= net

View File

@ -0,0 +1,12 @@
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -33,7 +33,7 @@ IRSSI_INCLUDE=`cd $with_irssi; pwd`
AC_SUBST(IRSSI_INCLUDE)
-AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"],
+AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config.h"],
[AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)]
)

View File

@ -0,0 +1,14 @@
Index: src/core/icb-protocol.c
--- src/core/icb-protocol.c.orig
+++ 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);
}

View File

@ -1,5 +1,5 @@
@comment lib/irssi/modules/libfe_icb.la
lib/irssi/modules/libfe_icb.so
@so lib/irssi/modules/libfe_icb.so
@comment lib/irssi/modules/libicb_core.la
lib/irssi/modules/libicb_core.so
@so lib/irssi/modules/libicb_core.so
share/doc/irssi/icb-plugin.txt