summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2019-03-19 11:27:30 -0600
committerChristoph Junghans <junghans@gentoo.org>2019-03-19 11:28:16 -0600
commit0048986412d8739500a884685acd44f241494423 (patch)
treea7b014efcb0d19304ae4d4074fe362648c67578e /app-doc/doxygen/files
parentsys-kernel/gentoo-sources: Linux patch 4.9.164 (diff)
downloadgentoo-0048986412d8739500a884685acd44f241494423.tar.gz
gentoo-0048986412d8739500a884685acd44f241494423.tar.bz2
gentoo-0048986412d8739500a884685acd44f241494423.zip
app-doc/doxygen: add xml-c++ patch
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Christoph Junghans <junghans@gentoo.org>
Diffstat (limited to 'app-doc/doxygen/files')
-rw-r--r--app-doc/doxygen/files/doxygen-1.8.14-xml-c++.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-doc/doxygen/files/doxygen-1.8.14-xml-c++.patch b/app-doc/doxygen/files/doxygen-1.8.14-xml-c++.patch
new file mode 100644
index 000000000000..8680d19dd46f
--- /dev/null
+++ b/app-doc/doxygen/files/doxygen-1.8.14-xml-c++.patch
@@ -0,0 +1,25 @@
+From f217b5c36b39a294b920437ff66055ee1a3fa5b7 Mon Sep 17 00:00:00 2001
+From: albert-github <albert.tests@gmail.com>
+Date: Tue, 19 Mar 2019 10:42:24 +0100
+Subject: [PATCH] issue #6892 xml not well-formed (invalid token) for c++
+
+the `declname` and `defname` should also be converted (compare as well the routine `generateXMLForMember`)
+---
+ src/xmlgen.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
+index 420a653fc..568e48886 100644
+--- a/src/xmlgen.cpp
++++ b/src/xmlgen.cpp
+@@ -360,8 +360,8 @@ static void writeTemplateArgumentList(ArgumentList *al,
+ }
+ if (!a->name.isEmpty())
+ {
+- t << indentStr << " <declname>" << a->name << "</declname>" << endl;
+- t << indentStr << " <defname>" << a->name << "</defname>" << endl;
++ t << indentStr << " <declname>" << convertToXML(a->name) << "</declname>" << endl;
++ t << indentStr << " <defname>" << convertToXML(a->name) << "</defname>" << endl;
+ }
+ if (!a->defval.isEmpty())
+ {