summaryrefslogtreecommitdiff
path: root/chat/konversation/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-07-25 02:44:10 +0000
committermarkd <markd@pkgsrc.org>2007-07-25 02:44:10 +0000
commit37f6a18cb4229607c37876012167bfc0a84ddea4 (patch)
tree3bd1a7bc9845bc0b467d5e0f08e172ef3c25573b /chat/konversation/patches
parent8395c5489625b2febdd584afc0266af4341787fa (diff)
downloadpkgsrc-37f6a18cb4229607c37876012167bfc0a84ddea4.tar.gz
Non GNU sed's don't like '\b' in a regexp so don't use it. Also
konversationircprotocolhandler script tries to use pidof command so depend on psmisc package unless linux. Bump PKGREVISION.
Diffstat (limited to 'chat/konversation/patches')
-rw-r--r--chat/konversation/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/konversation/patches/patch-ac b/chat/konversation/patches/patch-ac
new file mode 100644
index 00000000000..f4ac7cdf7db
--- /dev/null
+++ b/chat/konversation/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/07/25 02:44:10 markd Exp $
+
+Non GNU sed's don't like \b and its not really needed.
+
+--- konversation/src/konversationircprotocolhandler.orig 2007-07-24 16:42:17.000000000 +1200
++++ konversation/src/konversationircprotocolhandler
+@@ -4,7 +4,7 @@
+ # A script for Konversation to call connectToServer for each instance of Konversation.
+
+ url=`echo $1 | sed -e "s,irc://,,"`
+-server_and_port=`echo $url | sed -e "s,\b/.*,,"`
++server_and_port=`echo $url | sed -e "s,/.*,,"`
+ server=`echo $server_and_port| awk -F":" '{print $1}'`
+ port=`echo $server_and_port| awk -F":" '{print $2}'`
+ channel_and_password=`echo $url | awk -F"/" '{print $2}'`