summaryrefslogtreecommitdiff
path: root/kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-08-28 21:33:14 +1000
committerMichael Palimaka <kensington@gentoo.org>2014-08-28 21:33:14 +1000
commit81481e3598f1514ba6c544c6387e69db0044c349 (patch)
tree59a41bbdd9e33ccc964e4c6244b299e7caf4ca6e /kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch
parentbc99e580192f468cc3683dc7d50c88c8e9573fd5 (diff)
downloadkde-81481e3598f1514ba6c544c6387e69db0044c349.tar.gz
kde-81481e3598f1514ba6c544c6387e69db0044c349.tar.bz2
kde-81481e3598f1514ba6c544c6387e69db0044c349.zip
[kde-base/pykde4] Rebase failing patch wrt bug #520952.
Package-Manager: portage-2.2.10
Diffstat (limited to 'kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch')
-rw-r--r--kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch b/kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch
new file mode 100644
index 00000000000..f6391a8ec71
--- /dev/null
+++ b/kde-base/pykde4/files/pykde4-4.14.0-arm-sip.patch
@@ -0,0 +1,23 @@
+See Gentoo bug #322351.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -99,6 +99,9 @@ include_directories(
+ ${KDEPIMLIBS_INCLUDE_DIRS}
+ )
+
++# Pull in ARM configuration options if needed
++STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "")
++
+ set(SIP_INCLUDES ${CMAKE_BINARY_DIR} ${PYQT4_SIP_DIR} sip)
+ set(SIP_CONCAT_PARTS 8)
+ if (WIN32)
+@@ -106,7 +109,7 @@ if (WIN32)
+ 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)
+