From 5df8f14a704e351797b23b6cd5f4c3af1c709fca Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 10 Oct 2022 21:51:48 +0200 Subject: [PATCH] XQilla: fix build with GCC 11+. --- srcpkgs/XQilla/patches/gcc11.patch | 13 +++++++++++++ srcpkgs/XQilla/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/XQilla/patches/gcc11.patch diff --git a/srcpkgs/XQilla/patches/gcc11.patch b/srcpkgs/XQilla/patches/gcc11.patch new file mode 100644 index 00000000000..547bd79eebc --- /dev/null +++ b/srcpkgs/XQilla/patches/gcc11.patch @@ -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_); + } diff --git a/srcpkgs/XQilla/template b/srcpkgs/XQilla/template index 1516db65bb2..925974a756a 100644 --- a/srcpkgs/XQilla/template +++ b/srcpkgs/XQilla/template @@ -1,7 +1,7 @@ # Template file for 'XQilla' pkgname=XQilla version=2.3.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-xerces=${XBPS_CROSS_BASE}/usr" hostmakedepends="flex"