diff options
author | matusita <matusita@FreeBSD.org> | 2005-12-26 15:02:11 +0800 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2005-12-26 15:02:11 +0800 |
commit | 44c7b00d1fced10794f00a0c83570f9e3daf5364 (patch) | |
tree | cbc663d34bae065c548745d1fec4da46073fdce8 /irc | |
parent | 7a0f62c9926c23d4fb0567fa8c531e7bf19c99c4 (diff) | |
download | freebsd-ports-gnome-44c7b00d1fced10794f00a0c83570f9e3daf5364.tar.gz freebsd-ports-gnome-44c7b00d1fced10794f00a0c83570f9e3daf5364.tar.zst freebsd-ports-gnome-44c7b00d1fced10794f00a0c83570f9e3daf5364.zip |
Fix warning that keitairc still uses POE::Session->new.
This method is already deprecated, 'create' is the only method to
make a new POE::Session object.
Content changed, bump PORTREVISION.
See also: http://www.nntp.perl.org/group/perl.poe/2613
Diffstat (limited to 'irc')
-rw-r--r-- | irc/keitairc/Makefile | 3 | ||||
-rw-r--r-- | irc/keitairc/files/patch-keitairc | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/irc/keitairc/Makefile b/irc/keitairc/Makefile index 962bc897ca94..4892d46f45e0 100644 --- a/irc/keitairc/Makefile +++ b/irc/keitairc/Makefile @@ -7,6 +7,7 @@ PORTNAME= keitairc PORTVERSION= 1.29 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://keitairc.sourceforge.jp/ DISTNAME= ${PORTNAME} @@ -30,7 +31,7 @@ EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p EXTRACT_AFTER_ARGS= ${WRKDIR} -do-patch: +post-patch: ${REINPLACE_CMD} -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc do-install: diff --git a/irc/keitairc/files/patch-keitairc b/irc/keitairc/files/patch-keitairc new file mode 100644 index 000000000000..e3d869cf522c --- /dev/null +++ b/irc/keitairc/files/patch-keitairc @@ -0,0 +1,20 @@ +--- keitairc.dist Mon Dec 26 14:59:24 2005 ++++ keitairc Mon Dec 26 15:02:49 2005 +@@ -70,7 +70,8 @@ + + # irc component + POE::Component::IRC->new('keitairc'); +-POE::Session->new( ++POE::Session->create( ++ inline_states => { + _start => \&on_irc_start, + irc_join => \&on_irc_join, + irc_part => \&on_irc_part, +@@ -79,6 +80,7 @@ + irc_topic => \&on_irc_topic, + irc_332 => \&on_irc_topicraw, + irc_ctcp_action => \&on_irc_ctcp_action, ++ } + ); + + # web server component |