void-packages/srcpkgs/XQilla/patches/gcc11.patch

14 lines
657 B
Diff

From http://git.pld-linux.org/gitweb.cgi?p=packages/xqilla.git;a=commit;h=4efe07397c6fb426a65b2eec6999d3c7e683848a
--- XQilla-2.3.4/include/xqilla/ast/XQDocumentOrder.hpp.orig 2018-07-03 20:37:15.000000000 +0200
+++ XQilla-2.3.4/include/xqilla/ast/XQDocumentOrder.hpp 2022-09-25 20:51:54.768846899 +0200
@@ -68,7 +68,7 @@ private:
public:
uniqueLessThanCompareFn(const DynamicContext *context)
: context_(context) {}
- bool operator()(const Node::Ptr &first, const Node::Ptr &second)
+ bool operator()(const Node::Ptr &first, const Node::Ptr &second) const
{
return first->uniqueLessThan(second, context_);
}