diff options
author | Eric BENARD <eric@eukrea.com> | 2013-07-06 20:30:59 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 18:02:12 +0200 |
commit | 75291e7614115dc89045fcf6650bbdead071da03 (patch) | |
tree | 2a97493d12a5cf8aa01bbbfd83c4dd34d8c5ead0 /recipes-qt/qt5 | |
parent | b9b00aaad487fdf4a50d9e69af71742f714f6120 (diff) |
qtbase-native-5.0.2: fix compilation on Fedora 19
the patch 0017-Rename-qAbs-Function-for-timeval.patch is also
needed for native else, on Fedora 19, we get :
| ../../include/QtCore/../../../qtbase-opensource-src-5.0.2/src/corelib/global/qglobal.h:483:27: error: from previous declaration 'constexpr T qAbs(const T&) [with T = timeval]'
| Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r-- | recipes-qt/qt5/qtbase-native_5.0.2.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase-native_5.0.2.bb b/recipes-qt/qt5/qtbase-native_5.0.2.bb index 3df434e3..623b17ad 100644 --- a/recipes-qt/qt5/qtbase-native_5.0.2.bb +++ b/recipes-qt/qt5/qtbase-native_5.0.2.bb @@ -3,5 +3,9 @@ require ${PN}.inc PR = "${INC_PR}.0" +SRC_URI += " \ + file://0017-Rename-qAbs-Function-for-timeval.patch \ +" + SRC_URI[md5sum] = "a4fec8ed03867c4ee4fe5a46001a11f0" SRC_URI[sha256sum] = "31851ee2f844c100554506a9a446d4b6abb5270bca799c2a683e5f937456a9c8" |