diff options
| -rw-r--r-- | recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch | 28 | ||||
| -rw-r--r-- | recipes-qt/qt5/qtvirtualkeyboard_git.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch b/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch new file mode 100644 index 00000000..8518ae96 --- /dev/null +++ b/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 78106c5b939cc7d84710fe4c8e2a356ac1f110ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 12 Jul 2017 23:59:52 -0700 | ||
| 4 | Subject: [PATCH] include sys/time.h for timeval | ||
| 5 | |||
| 6 | Musl exposes this issue since its not indirectly | ||
| 7 | including sys/time.h like glibc | ||
| 8 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
| 15 | index 1b9673f..924be7b 100644 | ||
| 16 | --- a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
| 17 | +++ b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
| 18 | @@ -24,6 +24,7 @@ | ||
| 19 | // Debug performance for operations | ||
| 20 | // #define ___DEBUG_PERF___ | ||
| 21 | |||
| 22 | +#include <sys/time.h> | ||
| 23 | #ifdef _WIN32 | ||
| 24 | #include <winsock.h> // timeval | ||
| 25 | #else | ||
| 26 | -- | ||
| 27 | 2.13.2 | ||
| 28 | |||
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 08914b19..244e529d 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb | |||
| @@ -5,6 +5,7 @@ LICENSE = "GPL-3.0 | The-Qt-Company-Commercial" | |||
| 5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
| 6 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ | 6 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ |
| 7 | " | 7 | " |
| 8 | SRC_URI += "file://0001-include-sys-time.h-for-timeval.patch" | ||
| 8 | 9 | ||
| 9 | # To enabled Nuance T9 Write support, you need to provide the licensed components | 10 | # To enabled Nuance T9 Write support, you need to provide the licensed components |
| 10 | # and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file. | 11 | # and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file. |
