diff options
author | markd <markd@pkgsrc.org> | 2007-07-25 02:44:10 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-07-25 02:44:10 +0000 |
commit | 37f6a18cb4229607c37876012167bfc0a84ddea4 (patch) | |
tree | 3bd1a7bc9845bc0b467d5e0f08e172ef3c25573b /chat/konversation/patches | |
parent | 8395c5489625b2febdd584afc0266af4341787fa (diff) | |
download | pkgsrc-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-ac | 15 |
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}'` |