quassel-irssi: fix compilation error with new version of irssi
Add patch fixing compilation error with new version of irssi where the renamed some functions. Fixes: #22384 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
eabb6b8a74
commit
ddb4136bce
2 changed files with 49 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=quassel-irssi
|
PKG_NAME:=quassel-irssi
|
||||||
PKG_SOURCE_DATE:=2017-11-30
|
PKG_SOURCE_DATE:=2017-11-30
|
||||||
PKG_SOURCE_VERSION:=079be662dde374a383646256108a4974c2bc7796
|
PKG_SOURCE_VERSION:=079be662dde374a383646256108a4974c2bc7796
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/phhusson/quassel-irssi/tar.gz/$(PKG_SOURCE_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/phhusson/quassel-irssi/tar.gz/$(PKG_SOURCE_VERSION)?
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
From 61aaa345d3924905aa26023b351fb9502a74de63 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
||||||
|
Date: Sun, 5 Nov 2023 20:50:31 +0100
|
||||||
|
Subject: [PATCH 2/2] Fix compilation error with new version of irssi
|
||||||
|
|
||||||
|
Fix compilation error with new version of irssi that changed some
|
||||||
|
functions names.
|
||||||
|
|
||||||
|
Caused by https://github.com/irssi/irssi/pull/1246
|
||||||
|
|
||||||
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
||||||
|
---
|
||||||
|
core/quassel-net.c | 10 +++++-----
|
||||||
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
--- a/core/quassel-net.c
|
||||||
|
+++ b/core/quassel-net.c
|
||||||
|
@@ -105,8 +105,8 @@ static void sig_connected(Quassel_SERVER
|
||||||
|
}
|
||||||
|
|
||||||
|
r->readtag =
|
||||||
|
- g_input_add(net_sendbuffer_handle(r->handle),
|
||||||
|
- G_INPUT_READ,
|
||||||
|
+ i_input_add(net_sendbuffer_handle(r->handle),
|
||||||
|
+ I_INPUT_READ,
|
||||||
|
(GInputFunction) quassel_parse_incoming, r);
|
||||||
|
|
||||||
|
quassel_init_packet(net_sendbuffer_handle(r->handle), r->ssl);
|
||||||
|
@@ -166,8 +166,8 @@ static void quassel_net_final_setup(SERV
|
||||||
|
server->handle->handle = handle;
|
||||||
|
|
||||||
|
server->readtag =
|
||||||
|
- g_input_add(handle,
|
||||||
|
- G_INPUT_READ,
|
||||||
|
+ i_input_add(handle,
|
||||||
|
+ I_INPUT_READ,
|
||||||
|
(GInputFunction) quassel_parse_incoming, server);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -185,7 +185,7 @@ static void quassel_net_ssl_callback(SER
|
||||||
|
if (error & 1) {
|
||||||
|
if (server->connect_tag != -1)
|
||||||
|
g_source_remove(server->connect_tag);
|
||||||
|
- server->connect_tag = g_input_add(handle, error == 1 ? G_INPUT_READ : G_INPUT_WRITE,
|
||||||
|
+ server->connect_tag = i_input_add(handle, error == 1 ? I_INPUT_READ : I_INPUT_WRITE,
|
||||||
|
(GInputFunction)
|
||||||
|
quassel_net_ssl_callback,
|
||||||
|
server);
|
Loading…
Reference in a new issue