aboutsummaryrefslogtreecommitdiff
path: root/devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h')
-rw-r--r--devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h b/devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h
new file mode 100644
index 000000000000..28caab3d3bda
--- /dev/null
+++ b/devel/qt6-tools/files/patch-src_linguist_lupdate_lupdatepreprocessoraction.h
@@ -0,0 +1,13 @@
+--- src/linguist/lupdate/lupdatepreprocessoraction.h.orig 2022-12-12 17:11:50 UTC
++++ src/linguist/lupdate/lupdatepreprocessoraction.h
+@@ -52,7 +52,9 @@ class LupdatePPCallbacks : public clang::PPCallbacks (
+ void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/,
+ clang::StringRef /*fileName*/, bool /*isAngled*/,
+ clang::CharSourceRange /*filenameRange*/,
+-#if (LUPDATE_CLANG_VERSION >= LUPDATE_CLANG_VERSION_CHECK(15,0,0))
++#if (LUPDATE_CLANG_VERSION >= LUPDATE_CLANG_VERSION_CHECK(16,0,0))
++ clang::OptionalFileEntryRef file,
++#elif (LUPDATE_CLANG_VERSION >= LUPDATE_CLANG_VERSION_CHECK(15,0,0))
+ const clang::Optional<clang::FileEntryRef> file,
+ #else
+ const clang::FileEntry *file,