diff options
author | Sam James <sam@gentoo.org> | 2021-05-25 11:41:26 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-25 11:54:46 +0000 |
commit | 69fcf64318084290fc01b7f2601c8bcb97df080d (patch) | |
tree | 97d77b528708e15cefdec569e9c781291f2c6a07 /dev-libs/rapidxml/files | |
parent | sci-geosciences/gtk-g-rays2: Port to EAPI 7 (diff) | |
download | gentoo-69fcf64318084290fc01b7f2601c8bcb97df080d.tar.gz gentoo-69fcf64318084290fc01b7f2601c8bcb97df080d.tar.bz2 gentoo-69fcf64318084290fc01b7f2601c8bcb97df080d.zip |
dev-libs/rapidxml: add Debian patch to fix build
Closes: https://bugs.gentoo.org/791328
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/rapidxml/files')
-rw-r--r-- | dev-libs/rapidxml/files/rapidxml-1.13-iterators.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/rapidxml/files/rapidxml-1.13-iterators.patch b/dev-libs/rapidxml/files/rapidxml-1.13-iterators.patch new file mode 100644 index 000000000000..068545241388 --- /dev/null +++ b/dev-libs/rapidxml/files/rapidxml-1.13-iterators.patch @@ -0,0 +1,48 @@ +https://sources.debian.org/data/main/r/rapidxml/1.13-3/debian/patches/fix-iterators.patch +https://bugs.gentoo.org/791328 +--- a/rapidxml_iterators.hpp ++++ b/rapidxml_iterators.hpp +@@ -18,9 +18,9 @@ +
+ public:
+
+- typedef typename xml_node<Ch> value_type;
+- typedef typename xml_node<Ch> &reference;
+- typedef typename xml_node<Ch> *pointer;
++ typedef typename rapidxml::xml_node<Ch> value_type;
++ typedef typename rapidxml::xml_node<Ch> &reference;
++ typedef typename rapidxml::xml_node<Ch> *pointer;
+ typedef std::ptrdiff_t difference_type;
+ typedef std::bidirectional_iterator_tag iterator_category;
+
+@@ -56,7 +56,7 @@ + node_iterator operator++(int)
+ {
+ node_iterator tmp = *this;
+- ++this;
++ ++(*this);
+ return tmp;
+ }
+
+@@ -70,7 +70,7 @@ + node_iterator operator--(int)
+ {
+ node_iterator tmp = *this;
+- ++this;
++ ++(*this);
+ return tmp;
+ }
+
+@@ -97,9 +97,9 @@ +
+ public:
+
+- typedef typename xml_attribute<Ch> value_type;
+- typedef typename xml_attribute<Ch> &reference;
+- typedef typename xml_attribute<Ch> *pointer;
++ typedef typename rapidxml::xml_attribute<Ch> value_type;
++ typedef typename rapidxml::xml_attribute<Ch> &reference;
++ typedef typename rapidxml::xml_attribute<Ch> *pointer;
+ typedef std::ptrdiff_t difference_type;
+ typedef std::bidirectional_iterator_tag iterator_category;
+
|