- Add el6 sqrt patch
This commit is contained in:
parent
dc005de05e
commit
da8d87f7f1
10
qt5-qtbase-5.6.0-el6-sqrt.patch
Normal file
10
qt5-qtbase-5.6.0-el6-sqrt.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- qtbase-opensource-src-5.6.0-rc/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp.orig 2016-02-15 11:27:10.714918086 +0100
|
||||||
|
+++ qtbase-opensource-src-5.6.0-rc/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp 2016-02-15 11:52:11.843978315 +0100
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
#include "qtouchdevice.h"
|
||||||
|
#include <qpa/qwindowsysteminterface.h>
|
||||||
|
#include <QDebug>
|
||||||
|
+#include <cmath>
|
||||||
|
|
||||||
|
#ifdef XCB_USE_XINPUT2
|
||||||
|
|
@ -89,6 +89,9 @@ Patch53: qtbase-opensource-src-5.6.0-alsa-1.1.patch
|
|||||||
# arm patch
|
# arm patch
|
||||||
Patch54: qtbase-opensource-src-5.6.0-arm.patch
|
Patch54: qtbase-opensource-src-5.6.0-arm.patch
|
||||||
|
|
||||||
|
# Epel patches
|
||||||
|
Patch100: qt5-qtbase-5.6.0-el6-sqrt.patch
|
||||||
|
|
||||||
## upstream patches
|
## upstream patches
|
||||||
|
|
||||||
# recently passed code review, not integrated yet
|
# recently passed code review, not integrated yet
|
||||||
@ -338,6 +341,10 @@ RPM macros for building Qt5 packages.
|
|||||||
%patch53 -p1 -b .alsa1.1
|
%patch53 -p1 -b .alsa1.1
|
||||||
%patch54 -p1 -b .arm
|
%patch54 -p1 -b .arm
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 6
|
||||||
|
%patch100 -p1 -b .sqrt
|
||||||
|
%endif
|
||||||
|
|
||||||
%patch150 -p1 -b .moc_system_defines
|
%patch150 -p1 -b .moc_system_defines
|
||||||
|
|
||||||
## adjust $RPM_OPT_FLAGS
|
## adjust $RPM_OPT_FLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user