aboutsummaryrefslogtreecommitdiff
path: root/textproc/po4a
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-10-19 12:46:03 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-10-19 12:46:03 +0000
commit96508cb3dee576acb90483c1da7e26c51f144b2d (patch)
tree7a1043193e44bca48a03f70821a0261bc4d8b745 /textproc/po4a
parente97e2b40d87f1ab218aec7ad1f50da1cb4e4cdce (diff)
downloadports-96508cb3dee576acb90483c1da7e26c51f144b2d.tar.gz
ports-96508cb3dee576acb90483c1da7e26c51f144b2d.zip
Add a patch to fix CDATA parser for xml files
Notes
Notes: svn path=/head/; revision=263286
Diffstat (limited to 'textproc/po4a')
-rw-r--r--textproc/po4a/Makefile1
-rw-r--r--textproc/po4a/files/patch-lib__Locale__Po4a__Xml.pm11
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/po4a/Makefile b/textproc/po4a/Makefile
index 282c49938513..6d0ed12efefd 100644
--- a/textproc/po4a/Makefile
+++ b/textproc/po4a/Makefile
@@ -7,6 +7,7 @@
PORTNAME= po4a
PORTVERSION= 0.40.1
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= http://alioth.debian.org/frs/download.php/3341/ GENTOO/distfiles
diff --git a/textproc/po4a/files/patch-lib__Locale__Po4a__Xml.pm b/textproc/po4a/files/patch-lib__Locale__Po4a__Xml.pm
new file mode 100644
index 000000000000..518ddc9a1253
--- /dev/null
+++ b/textproc/po4a/files/patch-lib__Locale__Po4a__Xml.pm
@@ -0,0 +1,11 @@
+--- ./lib/Locale/Po4a/Xml.pm.orig 2010-10-19 10:43:04.000000000 -0200
++++ ./lib/Locale/Po4a/Xml.pm 2010-10-19 10:43:13.000000000 -0200
+@@ -730,7 +730,7 @@
+ f_extract => \&tag_extract_doctype,
+ f_translate => \&tag_trans_doctype},
+ { beginning => "![CDATA[",
+- end => "",
++ end => "]]",
+ breaking => 1,
+ f_extract => \&CDATA_extract,
+ f_translate => \&CDATA_trans},