[Python-modules-commits] r27494 - in packages/pyqt5/trunk/debian (3 files)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Fri Jan 31 16:06:49 UTC 2014
Date: Friday, January 31, 2014 @ 16:06:48
Author: mitya57-guest
Revision: 27494
debian/patches/fix_qreal_check.diff: Fix qreal check for Qt 5.2.
Added:
packages/pyqt5/trunk/debian/patches/fix_qreal_check.diff
Modified:
packages/pyqt5/trunk/debian/changelog
packages/pyqt5/trunk/debian/patches/series
Modified: packages/pyqt5/trunk/debian/changelog
===================================================================
--- packages/pyqt5/trunk/debian/changelog 2014-01-31 16:04:43 UTC (rev 27493)
+++ packages/pyqt5/trunk/debian/changelog 2014-01-31 16:06:48 UTC (rev 27494)
@@ -2,6 +2,7 @@
* No longer create sip symlinks in build directories, that does not
have any effect.
+ * debian/patches/fix_qreal_check.diff: Fix qreal check for Qt 5.2.
-- Dmitry Shachnev <mitya57 at gmail.com> Fri, 31 Jan 2014 20:03:53 +0400
Added: packages/pyqt5/trunk/debian/patches/fix_qreal_check.diff
===================================================================
--- packages/pyqt5/trunk/debian/patches/fix_qreal_check.diff (rev 0)
+++ packages/pyqt5/trunk/debian/patches/fix_qreal_check.diff 2014-01-31 16:06:48 UTC (rev 27494)
@@ -0,0 +1,21 @@
+Description: check if qreal is double based on sizeof
+Author: Dmitry Shachnev <mitya57 at gmail.com>
+Forwarded: no
+Last-Update: 2014-01-29
+
+--- a/configure.py
++++ b/configure.py
+@@ -481,10 +481,8 @@
+ out << "PyQt_Desktop_OpenGL\\n";
+ #endif
+
+-// This is the test used in qglobal.h.
+-#if defined(QT_NO_FPU) || defined(Q_PROCESSOR_ARM) || defined(Q_OS_WINCE)
+- out << "PyQt_qreal_double\\n";
+-#endif
++ if (sizeof (qreal) != sizeof (double))
++ out << "PyQt_qreal_double\\n";
+
+ return 0;
+ }
+
Modified: packages/pyqt5/trunk/debian/patches/series
===================================================================
--- packages/pyqt5/trunk/debian/patches/series 2014-01-31 16:04:43 UTC (rev 27493)
+++ packages/pyqt5/trunk/debian/patches/series 2014-01-31 16:06:48 UTC (rev 27494)
@@ -1 +1,2 @@
old_qt.diff
+fix_qreal_check.diff
More information about the Python-modules-commits
mailing list