summaryrefslogtreecommitdiff
path: root/chat/xchat
diff options
context:
space:
mode:
authortron <tron>2002-11-24 13:20:45 +0000
committertron <tron>2002-11-24 13:20:45 +0000
commit42a5ce2395d3d31778c01f704aec7f36cfecccda (patch)
treec9b304c66e9336dcc31f9c5cca7662fc479ba3db /chat/xchat
parentf246c163831f5c9336af80ce02d11fbd03ac2f18 (diff)
downloadpkgsrc-42a5ce2395d3d31778c01f704aec7f36cfecccda.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/xchat')
-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)