aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xqilla/fix-compare.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/xqilla/fix-compare.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/xqilla/fix-compare.patch')
-rw-r--r--vcpkg/ports/xqilla/fix-compare.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/xqilla/fix-compare.patch b/vcpkg/ports/xqilla/fix-compare.patch
new file mode 100644
index 0000000..7e2d0d3
--- /dev/null
+++ b/vcpkg/ports/xqilla/fix-compare.patch
@@ -0,0 +1,26 @@
+diff --git a/include/xqilla/ast/XQDocumentOrder.hpp b/include/xqilla/ast/XQDocumentOrder.hpp
+index 81189e6..c22280a 100644
+--- a/include/xqilla/ast/XQDocumentOrder.hpp
++++ b/include/xqilla/ast/XQDocumentOrder.hpp
+@@ -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/src/lexer/XQLexer.cpp b/src/lexer/XQLexer.cpp
+index 69c923f..aed0465 100644
+--- a/src/lexer/XQLexer.cpp
++++ b/src/lexer/XQLexer.cpp
+@@ -235,7 +235,7 @@ static void yy_flex_free YY_PROTO(( void * ));
+ #define YY_SKIP_YYWRAP
+ #define yytext_ptr yytext
+
+-#include <FlexLexer.h>
++#include "FlexLexer.h"
+ int yyFlexLexer::yylex()
+ {
+ LexerError( "yyFlexLexer::yylex invoked but %option yyclass used" );