aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch')
-rw-r--r--vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch b/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
new file mode 100644
index 0000000..ff7c7b9
--- /dev/null
+++ b/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
@@ -0,0 +1,39 @@
+diff --git a/src/plugins/hunspell/module/hunspellworker_p.h b/src/plugins/hunspell/module/hunspellworker_p.h
+index b79354429..a843bdfa6 100644
+--- a/src/plugins/hunspell/module/hunspellworker_p.h
++++ b/src/plugins/hunspell/module/hunspellworker_p.h
+@@ -50,7 +50,7 @@
+ #include <QLoggingCategory>
+ #include <QStringDecoder>
+ #include <QStringEncoder>
+-#include <hunspell/hunspell.h>
++#include <hunspell.h>
+ #include "hunspellwordlist_p.h"
+
+ QT_BEGIN_NAMESPACE
+diff --git a/config.tests/hunspell/main.cpp b/config.tests/hunspell/main.cpp
+index 76f2cb3df..91906bc48 100644
+--- a/config.tests/hunspell/main.cpp
++++ b/config.tests/hunspell/main.cpp
+@@ -1,7 +1,7 @@
+ // Copyright (C) 2020 The Qt Company Ltd.
+ // SPDX-License-Identifier: BSD-3-Clause
+
+-#include <hunspell/hunspell.h>
++#include <hunspell.h>
+
+ int main(int argc, char** argv)
+ {
+diff --git a/src/plugins/hunspell/module/hunspellwordlist.cpp b/src/plugins/hunspell/module/hunspellwordlist.cpp
+index ec55d4d3b..846af4726 100644
+--- a/src/plugins/hunspell/module/hunspellwordlist.cpp
++++ b/src/plugins/hunspell/module/hunspellwordlist.cpp
+@@ -3,7 +3,7 @@
+
+ #include "hunspellwordlist_p.h"
+ #include <QtAlgorithms>
+-#include <hunspell/hunspell.h>
++#include <hunspell.h>
+
+ QT_BEGIN_NAMESPACE
+ namespace QtVirtualKeyboard {