PKGBUILDs/extra/kdebindings-python/pykde4-4.14.0-arm-sip.patch
2014-08-21 13:15:05 +00:00

19 lines
713 B
Diff

diff -urN a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2014-08-14 14:17:11.000000000 -0600
+++ b/CMakeLists.txt 2014-08-21 07:12:45.079779571 -0600
@@ -101,12 +101,14 @@
set(SIP_INCLUDES ${CMAKE_BINARY_DIR} ${PYQT4_SIP_DIR} sip)
set(SIP_CONCAT_PARTS 8)
+# Pull in ARM configuration options if needed
+STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "")
if (WIN32)
set(SIP_TAGS ALL WS_WIN ${PYQT4_VERSION_TAG})
else ()
set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG})
endif ()
-set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug)
+set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug ${SIP_ARM_HACK})
set(SIP_FILES_INSTALL_DIR ${SHARE_INSTALL_PREFIX}/sip)