summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
committerclsung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
commite35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919 (patch)
treee0a90c8c91377d81c6d02f531abbd6971e244862 /textproc
parent6b9d146940d32387fab1804c6a12e64453dbd4e1 (diff)
downloadFreeBSD-ports-e35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919.zip
FreeBSD-ports-e35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919.tar.gz
- patch that make '>' encoded to '&gt;'
- bump PORTREVISION
Diffstat (limited to 'textproc')
-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 307ba83..7045aab 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 0000000..9f1cc65
--- /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;
+ }
OpenPOWER on IntegriCloud