summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-11-24 13:20:45 +0000
committertron <tron@pkgsrc.org>2002-11-24 13:20:45 +0000
commit5c5e332a76181fac23200b4326b3b715c9b1bdfd (patch)
treec9b304c66e9336dcc31f9c5cca7662fc479ba3db /chat
parentbcfa88d3eb69d7a05ab2b4ab53cad2ee3c32e0ee (diff)
downloadpkgsrc-5c5e332a76181fac23200b4326b3b715c9b1bdfd.tar.gz
Prevent "/ME" from opening windows unnecessarily under certain conditions.
This patch was provided by Stefan Krueger in PR pkg/19096. Bump package revision to 1.
Diffstat (limited to 'chat')
-rw-r--r--chat/xchat/Makefile.common3
-rw-r--r--chat/xchat/distinfo3
-rw-r--r--chat/xchat/patches/patch-aa37
3 files changed, 41 insertions, 2 deletions
diff --git a/chat/xchat/Makefile.common b/chat/xchat/Makefile.common
index 4487ad3b608..da7e7fcd759 100644
--- a/chat/xchat/Makefile.common
+++ b/chat/xchat/Makefile.common
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.common,v 1.5 2002/09/21 23:52:55 jlam Exp $
+# $NetBSD: Makefile.common,v 1.6 2002/11/24 13:20:45 tron Exp $
DISTNAME= xchat-1.8.10
+PKGREVISION= 1
CATEGORIES= chat x11
MASTER_SITES= ${HOMEPAGE}files/source/1.8/
EXTRACT_SUFX= .tar.bz2
diff --git a/chat/xchat/distinfo b/chat/xchat/distinfo
index f2c48a9ba8c..d97947a1d2b 100644
--- a/chat/xchat/distinfo
+++ b/chat/xchat/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2002/08/19 19:59:38 tron Exp $
+$NetBSD: distinfo,v 1.17 2002/11/24 13:20:45 tron Exp $
SHA1 (xchat-1.8.10.tar.bz2) = 10c85bd23faa58f2f962eec6a96364e9743ac91c
Size (xchat-1.8.10.tar.bz2) = 824407 bytes
+SHA1 (patch-aa) = 0d2082f5f9f15f403b75e07a4f91c97bfb785c30
SHA1 (patch-ac) = 10dce1c565b8d95fd6b4941ddb1fbf7bb82e52ed
SHA1 (patch-ad) = 7453ab165db9c166dae6221f80884de8de7511a7
SHA1 (patch-ae) = baee878728bb33317258e43919ccabfcf3fd2f4a
diff --git a/chat/xchat/patches/patch-aa b/chat/xchat/patches/patch-aa
new file mode 100644
index 00000000000..bf5f1fcfd91
--- /dev/null
+++ b/chat/xchat/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.6 2002/11/24 13:20:45 tron Exp $
+
+--- src/common/inbound.c.orig Wed Aug 7 12:15:59 2002
++++ src/common/inbound.c
+@@ -243,19 +243,21 @@ channel_action (session *sess, char *tbu
+ if (EMIT_SIGNAL (XP_CHANACTION, sess, chan, from, text, NULL, fromme) == 1)
+ return;
+
+- if (is_channel (serv, chan) || fromme)
++ if (!fromme)
+ {
+- sess = find_channel (chan, serv);
+- if (!fromme && sess)
+- if (fe_is_beep (sess) || prefs.beepchans)
++ if (is_channel (serv, chan))
++ {
++ sess = find_channel (chan, serv);
++ if (sess)
++ if (fe_is_beep (sess) || prefs.beepchans)
++ fe_beep ();
++ } else
++ {
++ /* it's a private action! */
++ sess = find_dialog (serv, from);
++ if (((sess) && fe_is_beep (sess)) || prefs.beepmsg)
+ fe_beep ();
+- }
+- else
+- {
+- /* it's a private action! */
+- sess = find_dialog (serv, from);
+- if (((sess) && fe_is_beep (sess)) || prefs.beepmsg)
+- fe_beep ();
++ }
+ }
+
+ if (!sess && !is_channel (serv, chan) && prefs.autodialog)