aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2017-11-02 11:13:33 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2017-11-02 11:15:16 +0200
commitec328d9677f39c223a697bbe1cbf8952631e9817 (patch)
tree02053800a6baa93715ddffaae4fcfa0b03a3d23e /recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch
parente0db5666f9c04c92683514ca220b0aafd0a49df2 (diff)
parentd87335a50a9dd35d890786edbd79b8953fdaa11a (diff)
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
* qtyocto/upstream/master: qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call meta-qt5: Update to 5.9.2 release qt5: add missing commercial license qtxmlpatterns: Add HOMEPAGE info into recipe file. qttools: Add HOMEPAGE info into recipe file. qtsvg: Add HOMEPAGE info into recipe file. qtscript: Add HOMEPAGE info into recipe file. qtquick1: Add HOMEPAGE info into recipe file. qtdeclarative: Add HOMEPAGE info into recipe file. meta: drop a useless file qtbase-native: Force use of built-in pcre qtbase-native: set path to mkspec for cmake properly again qtbase: Fix build with musl/clang qtbase: Add OE clang specific mkspecs Conflicts: recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtwebengine_git.bb Change-Id: I78ce0587cf7468bfdc22156ee8bbd24872f79c6a
Diffstat (limited to 'recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch b/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch
new file mode 100644
index 00000000..a1776258
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch
@@ -0,0 +1,28 @@
+From 30076434a9f651614db8c3e5db32d4acae54c600 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 3 Sep 2017 10:11:50 -0700
+Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc
+
+musl does not have feenableexcept function
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
+index 10d78b1f2f..a59f358f80 100644
+--- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
++++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
+@@ -46,7 +46,7 @@
+ #include <private/qlocale_tools_p.h>
+ #include <qnumeric.h>
+
+-#if defined(Q_OS_LINUX) && !defined(__UCLIBC__)
++#if defined(Q_OS_LINUX) && defined(__GLIBC__)
+ # define QT_USE_FENV
+ #endif
+
+--
+2.14.1
+