215b96325b
Update to 4.10.1 (forwarded request 158855 from tittiatcoke) OBS-URL: https://build.opensuse.org/request/show/159032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=29
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From: Shaheed Haque <srhaque@theiet.org>
|
|
Date: Sat, 09 Mar 2013 15:41:34 +0000
|
|
Subject: Fix Pate build for Qt 4.10
|
|
X-Git-Url: http://quickgit.kde.org/?p=kate.git&a=commitdiff&h=106f4ee310796170a28786a32f2a235d5464f83c
|
|
---
|
|
Fix Pate build for Qt 4.10
|
|
|
|
Use a numeric comparision, not a case-sensitive sring comparision!
|
|
---
|
|
|
|
|
|
--- a/kate/plugins/pate/CMakeLists.txt
|
|
+++ b/kate/plugins/pate/CMakeLists.txt
|
|
@@ -42,7 +42,7 @@
|
|
return()
|
|
endif (NOT PYTHON_LIBRARY)
|
|
if (NOT SIP_FOUND OR 0x${SIP_VERSION} LESS 0x40701)
|
|
- message(WARNING "Pate plugin needs SIP 4.7.1 or later.")
|
|
+ message(WARNING "Pate plugin needs SIP 4.7.1 or later. " ${SIP_VERSION})
|
|
return()
|
|
endif (NOT SIP_FOUND OR 0x${SIP_VERSION} LESS 0x40701)
|
|
if (NOT SIP_EXECUTABLE OR NOT EXISTS ${SIP_EXECUTABLE})
|
|
@@ -57,10 +57,10 @@
|
|
message(WARNING "Pate plugin needs the PyKDE4 development sip files kdecoremod.sip")
|
|
return()
|
|
endif()
|
|
-if (NOT PYQT4_FOUND OR PYQT4_VERSION LESS "040301")
|
|
- message(WARNING "Pate plugin needs PyQT 4.3.1 or later.")
|
|
+if (NOT PYQT4_FOUND OR 0x${PYQT4_VERSION} LESS 0x040301)
|
|
+ message(WARNING "Pate plugin needs PyQT 4.3.1 or later. " ${PYQT4_VERSION})
|
|
return()
|
|
-endif (NOT PYQT4_FOUND OR PYQT4_VERSION LESS "040301")
|
|
+endif (NOT PYQT4_FOUND OR 0x${PYQT4_VERSION} LESS 0x040301)
|
|
if (NOT PYKDE4_FOUND)
|
|
message(WARNING "Pate plugin needs PyKDE4.")
|
|
return()
|
|
|