XQilla: fix build with GCC 11+.
This commit is contained in:
parent
0fbc7e213d
commit
5df8f14a70
|
@ -0,0 +1,13 @@
|
||||||
|
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_);
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'XQilla'
|
# Template file for 'XQilla'
|
||||||
pkgname=XQilla
|
pkgname=XQilla
|
||||||
version=2.3.4
|
version=2.3.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-xerces=${XBPS_CROSS_BASE}/usr"
|
configure_args="--with-xerces=${XBPS_CROSS_BASE}/usr"
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
|
|
Loading…
Reference in New Issue