mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
hexchat: update to 2.16.2.
This commit is contained in:
parent
2819676d0f
commit
94afbadaf3
3 changed files with 60 additions and 5 deletions
26
srcpkgs/hexchat/patches/url_delim.patch
Normal file
26
srcpkgs/hexchat/patches/url_delim.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
OFrom 2305a0b0fe3e66e1cd95683af2c6f02e7ff29220 Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Prcela <antonio.prcela@gmail.com>
|
||||
Date: Fri, 12 Mar 2021 09:40:40 +0100
|
||||
Subject: [PATCH] Open links properly if ending with "
|
||||
|
||||
---
|
||||
src/fe-gtk/xtext.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)e
|
||||
|
||||
--
|
||||
|
||||
Modified by 0x5c: addded case for single quote character
|
||||
|
||||
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
|
||||
index 418bb4da5..fb4962e12 100644
|
||||
--- a/src/fe-gtk/xtext.c
|
||||
+++ b/src/fe-gtk/xtext.c
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
/* is delimiter */
|
||||
#define is_del(c) \
|
||||
- (c == ' ' || c == '\n' || c == '>' || c == '<' || c == 0)
|
||||
+ (c == ' ' || c == '\n' || c == '>' || c == '<' || c == 0 || c == '"' || c == '\'')
|
||||
|
||||
/* force scrolling off */
|
||||
#define dontscroll(buf) (buf)->last_pixel_pos = 0x7fffffff
|
29
srcpkgs/hexchat/patches/whox_colon.patch
Normal file
29
srcpkgs/hexchat/patches/whox_colon.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
From e1bff829a01715c7c9053b3fb8cc5ecb9d041b43 Mon Sep 17 00:00:00 2001
|
||||
From: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
|
||||
Date: Sun, 6 Aug 2023 10:44:27 -0400
|
||||
Subject: [PATCH] proto-irc.c: handle WHOX replies with realnames that aren't
|
||||
:-prefixed
|
||||
|
||||
the colon is not required if the last argument is a single word
|
||||
|
||||
this was causing issues where the user info context menu was stripping
|
||||
the first character of single-word realnames when sending the WHOX
|
||||
command `WHO #channel %chtsunfra,152`. Discovered the issue by seeing that
|
||||
plain `WHO #channel` fixed the issue temporarily.
|
||||
---
|
||||
src/common/proto-irc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
|
||||
index 5b8e02c48..9ef25730b 100644
|
||||
--- a/src/common/proto-irc.c
|
||||
+++ b/src/common/proto-irc.c
|
||||
@@ -762,7 +762,7 @@ process_numeric (session * sess, int n,
|
||||
|
||||
/* :server 354 yournick 152 #channel ~ident host servname nick H account :realname */
|
||||
inbound_user_info (sess, word[5], word[6], word[7], word[8],
|
||||
- word[9], word_eol[12]+1, word[11], away,
|
||||
+ word[9], word_eol[12][0] == ':' ? word_eol[12] + 1 : word_eol[12], word[11], away,
|
||||
tags_data);
|
||||
|
||||
/* try to show only user initiated whos */
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'hexchat'
|
||||
pkgname=hexchat
|
||||
version=2.16.1
|
||||
revision=7
|
||||
version=2.16.2
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Ddbus=enabled -Dtls=enabled
|
||||
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
|
||||
|
@ -17,7 +17,7 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://hexchat.github.io/"
|
||||
changelog="https://hexchat.readthedocs.org/en/latest/changelog.html"
|
||||
distfiles="https://github.com/hexchat/hexchat/archive/v${version}.tar.gz"
|
||||
checksum=f15bc487312a96a902e042e8f197a8494a29bcf4a00bbfd276a5e8154263bfe5
|
||||
checksum=486d73cdb6a89fa91cfbe242107901d06e777bea25956a7786c4a831a2caa0e3
|
||||
build_options="LuaJIT"
|
||||
lib32disabled=yes
|
||||
|
||||
|
@ -33,8 +33,8 @@ fi
|
|||
|
||||
post_install() {
|
||||
# Remove useless files.
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
||||
rm -rf "${DESTDIR}/usr/include"
|
||||
rm -rf "${DESTDIR}/usr/lib/pkgconfig"
|
||||
}
|
||||
|
||||
hexchat-perl_package() {
|
||||
|
|
Loading…
Add table
Reference in a new issue