aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-04-06 13:09:20 +0800
committerclsung <clsung@FreeBSD.org>2005-04-06 13:09:20 +0800
commite35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919 (patch)
treee0a90c8c91377d81c6d02f531abbd6971e244862
parent6b9d146940d32387fab1804c6a12e64453dbd4e1 (diff)
downloadfreebsd-ports-gnome-e35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919.tar.gz
freebsd-ports-gnome-e35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919.tar.zst
freebsd-ports-gnome-e35c6ecc4d5e48e1c8ea6bbf6fad7cc09c4b3919.zip
- patch that make '>' encoded to '&gt;'
- bump PORTREVISION
-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;
+ }