summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-01-13 15:42:26 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2020-01-13 15:57:32 +0200
commitf6ebff397a53e9c2a23f67d1fc74b5fed11df4f9 (patch)
treed0094937e85e890e9379d1f1de769af62fb6e656 /recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
parent9ff0a36249205d36bb44cc34a26cb6201180a89f (diff)
parent1b8e557011fffd0446e5f660d1b317c664a7cf08 (diff)
downloadmeta-qt5-f6ebff397a53e9c2a23f67d1fc74b5fed11df4f9.tar.gz
Merge remote-tracking branch 'qt/upstream/master' into 5.14
* qt/upstream/master: (28 commits) qtbase: Use pcre packages by default qt5: use PACKAGECONFIG to disable tests and examples qtlocation: use geoclue 2 qtbase: use offscreen platform plugin for tools qtbase: add openssl PACKAGECONFIG for native nativesdk qtbase-native: disable vulkan support maliit-framework-qt5: fix test installations qtenginio: remove obsolete module ogl-runtime: update to v2.5.0 release qtquick3d: add recipe qtwebengine: refresh the patches and upload them to meta-qt5 forks on github for maintenance qtbase: refresh the patches and upload them to meta-qt5 forks on github for maintenance qt5: Update to Qt 5.14.0 qtbase: Fix patch fuzz detected with devtool qtbase: Backport the patch from upstream gerrit qt5-creator: Update musl patch to link qmldesigner with -lexecinfo qtwebengine: Move CharAllocator definition to header qt5-creator: Add missing dep on libz.so qt5-creator: Make clang-format patch work with multiple clang versions qtwebengine: Include cstddef for size_t definition ... Change-Id: Ia71a5f1c53e8ce18a1a8b219f8c8ffee96723fb7
Diffstat (limited to 'recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch b/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
index 0d3b48ff..7a5c7754 100644
--- a/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
+++ b/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
@@ -1,4 +1,4 @@
1From c200c1704501e5a74f72dedc3b3b76567d679e0d Mon Sep 17 00:00:00 2001 1From b83804eb1f9087800295cf40916577f932673dc8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 25 Nov 2019 08:27:39 -0800 3Date: Mon, 25 Nov 2019 08:27:39 -0800
4Subject: [PATCH] input: Make use of timeval portable for 64bit time_t 4Subject: [PATCH] input: Make use of timeval portable for 64bit time_t
@@ -8,7 +8,7 @@ on 32bit arches supporting 64bit time_t structs, Patch makes it compatible with
8and keeps old input.h implementation functional as well. 8and keeps old input.h implementation functional as well.
9 9
10See https://sourceware.org/glibc/wiki/Y2038ProofnessDesign 10See https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
11 11Upstream-Status: Submitted [https://codereview.qt-project.org/c/qt/qtbase/+/282610]
12Change-Id: Ie4d66a5e7d83065f1a904a542c711431e1d20845 12Change-Id: Ie4d66a5e7d83065f1a904a542c711431e1d20845
13--- 13---
14 .../input/evdevkeyboard/qevdevkeyboardhandler.cpp | 10 +++++++++- 14 .../input/evdevkeyboard/qevdevkeyboardhandler.cpp | 10 +++++++++-
@@ -44,7 +44,7 @@ index 3555763b89..e7dc57c027 100644
44 led_ie.code = led; 44 led_ie.code = led;
45 led_ie.value = state; 45 led_ie.value = state;
46diff --git a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp 46diff --git a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
47index 78728ef4ce..1d65f9b9f7 100644 47index c51db59e1f..1f3726e291 100644
48--- a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp 48--- a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
49+++ b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp 49+++ b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
50@@ -58,6 +58,11 @@ 50@@ -58,6 +58,11 @@
@@ -59,7 +59,7 @@ index 78728ef4ce..1d65f9b9f7 100644
59 #include <math.h> 59 #include <math.h>
60 60
61 #if QT_CONFIG(mtdev) 61 #if QT_CONFIG(mtdev)
62@@ -573,7 +578,7 @@ void QEvdevTouchScreenData::processInputEvent(input_event *data) 62@@ -576,7 +581,7 @@ void QEvdevTouchScreenData::processInputEvent(input_event *data)
63 63
64 // update timestamps 64 // update timestamps
65 m_lastTimeStamp = m_timeStamp; 65 m_lastTimeStamp = m_timeStamp;