aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-RSS
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
commit0d4cc7df2201080ed111cc67e3ba814347c674dc (patch)
tree83b45b7529706a098c332fbb2c80dfb178b052ff /textproc/p5-XML-RSS
parent9765d54c74d5128dc94d6648109ecc91ff1e9bbd (diff)
downloadports-0d4cc7df2201080ed111cc67e3ba814347c674dc.tar.gz
ports-0d4cc7df2201080ed111cc67e3ba814347c674dc.zip
- patch that make '>' encoded to '&gt;'
- bump PORTREVISION
Notes
Notes: svn path=/head/; revision=132609
Diffstat (limited to 'textproc/p5-XML-RSS')
-rw-r--r--textproc/p5-XML-RSS/Makefile1
-rw-r--r--textproc/p5-XML-RSS/files/patch-lib::RSS.pm10
2 files changed, 11 insertions, 0 deletions
diff --git a/textproc/p5-XML-RSS/Makefile b/textproc/p5-XML-RSS/Makefile
index 307ba8373c64..7045aab55bc6 100644
--- a/textproc/p5-XML-RSS/Makefile
+++ b/textproc/p5-XML-RSS/Makefile
@@ -7,6 +7,7 @@
PORTNAME= XML-RSS
PORTVERSION= 1.05
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
diff --git a/textproc/p5-XML-RSS/files/patch-lib::RSS.pm b/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
new file mode 100644
index 000000000000..9f1cc6535054
--- /dev/null
+++ b/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
@@ -0,0 +1,10 @@
+--- lib/RSS.pm.orig Wed Apr 21 15:14:43 2004
++++ lib/RSS.pm Wed Apr 6 13:06:54 2005
+@@ -1800,6 +1800,7 @@
+ $text =~ s/&(?!(#[0-9]+|#x[0-9a-fA-F]+|\w+);)/&amp;/g;
+ $text =~ s/&($entities);/$entity{$1}/g;
+ $text =~ s/</&lt;/g;
++ $text =~ s/>/&gt;/g;
+
+ return $text;
+ }