diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2007-10-03 17:40:49 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2007-10-03 17:40:49 +0800 |
commit | 855129daf149b8cbab3a2d6e5cb2f5d43d92004b (patch) | |
tree | 2870d8d26987d67ab54080620814261c840c46d6 /textproc/p5-Plagger | |
parent | 84fe490ada4a595e156c87c227a527b57ed40627 (diff) | |
download | freebsd-ports-gnome-855129daf149b8cbab3a2d6e5cb2f5d43d92004b.tar.gz freebsd-ports-gnome-855129daf149b8cbab3a2d6e5cb2f5d43d92004b.tar.zst freebsd-ports-gnome-855129daf149b8cbab3a2d6e5cb2f5d43d92004b.zip |
Fix enclosure problem with XML::LibXML-1.64.
Diffstat (limited to 'textproc/p5-Plagger')
-rw-r--r-- | textproc/p5-Plagger/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Plagger/files/patch-lib-Plagger-Plugin-Publish-Feed.pm | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/textproc/p5-Plagger/Makefile b/textproc/p5-Plagger/Makefile index 711bea9030d9..d5c72418ff0e 100644 --- a/textproc/p5-Plagger/Makefile +++ b/textproc/p5-Plagger/Makefile @@ -7,6 +7,7 @@ PORTNAME= Plagger PORTVERSION= 0.7.17 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../by-authors/id/M/MI/MIYAGAWA diff --git a/textproc/p5-Plagger/files/patch-lib-Plagger-Plugin-Publish-Feed.pm b/textproc/p5-Plagger/files/patch-lib-Plagger-Plugin-Publish-Feed.pm new file mode 100644 index 000000000000..d9058a3e5cdd --- /dev/null +++ b/textproc/p5-Plagger/files/patch-lib-Plagger-Plugin-Publish-Feed.pm @@ -0,0 +1,24 @@ +--- lib/Plagger/Plugin/Publish/Feed.pm- ++++ lib/Plagger/Plugin/Publish/Feed.pm +@@ -148,14 +154,15 @@ + + *XML::Feed::Entry::RSS::add_enclosure = sub { + my($entry, $enclosure) = @_; +- $entry->{entry}->{enclosure} = { +- url => $enclosure->{url}, +- type => $enclosure->{type}, +- length => $enclosure->{length}, +- }; ++ $entry->{entry}->{enclosure} = XML::RSS::LibXML::MagicElement->new( ++ attributes => { ++ url => $enclosure->{url}, ++ type => $enclosure->{type}, ++ length => $enclosure->{length}, ++ } ++ ); + }; + +- + 1; + + __END__ |