summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/p5-IRC/Makefile1
-rw-r--r--irc/p5-IRC/files/patch-Connection.pm11
2 files changed, 12 insertions, 0 deletions
diff --git a/irc/p5-IRC/Makefile b/irc/p5-IRC/Makefile
index 645eb55e84ab..ca635d583fcd 100644
--- a/irc/p5-IRC/Makefile
+++ b/irc/p5-IRC/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Net-IRC
PORTVERSION= 0.70
+PORTREVISION= 1
CATEGORIES= irc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
diff --git a/irc/p5-IRC/files/patch-Connection.pm b/irc/p5-IRC/files/patch-Connection.pm
new file mode 100644
index 000000000000..8fcabb849ef4
--- /dev/null
+++ b/irc/p5-IRC/files/patch-Connection.pm
@@ -0,0 +1,11 @@
+--- Connection.pm.orig Tue May 30 07:12:02 2000
++++ Connection.pm Wed Jun 13 17:01:06 2001
+@@ -1101,7 +1101,7 @@
+ /x) # That ought to do it for now...
+ {
+ $line = substr $line, 1 if $line =~ /^:/;
+- ($from, $line) = split ":", $line, 2;
++ ($from, $line) = $line =~ m/^(.*):(.*?)$/;
+ ($from, $type, @stuff) = split /\s+/, $from;
+ $type = lc $type;
+