diff options
author | Renato Botelho <garga@FreeBSD.org> | 2010-10-19 12:46:03 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2010-10-19 12:46:03 +0000 |
commit | 96508cb3dee576acb90483c1da7e26c51f144b2d (patch) | |
tree | 7a1043193e44bca48a03f70821a0261bc4d8b745 /textproc | |
parent | e97e2b40d87f1ab218aec7ad1f50da1cb4e4cdce (diff) |
Add a patch to fix CDATA parser for xml files
Obtained from: http://alioth.debian.org/tracker/index.php?func=detail&aid=312773&group_id=30267&atid=410622
Notes
Notes:
svn path=/head/; revision=263286
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/po4a/Makefile | 1 | ||||
-rw-r--r-- | textproc/po4a/files/patch-lib__Locale__Po4a__Xml.pm | 11 |
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}, |