summaryrefslogtreecommitdiff
path: root/packages/python/python-pyqt/03_qreal.dpatch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-12-03 22:23:38 +0000
committerPhilip Balister <philip@balister.org>2007-12-03 22:23:38 +0000
commitc9d9284e477752680bc176a2fa919c8fe14f5ee8 (patch)
tree0894f21101a85f8040c0756ae4143e401908c10e /packages/python/python-pyqt/03_qreal.dpatch
parent11acd60397990158e6b1c900136c038189f5452e (diff)
parent4dc92f941e3afe632a0f08909713a0279ef9d2d5 (diff)
merge of '3979e1b277e23e3a99c5b86306581ddc32a83d53'
and '3fe444996883cc54a95f94bd89d9fba641d08c20'
Diffstat (limited to 'packages/python/python-pyqt/03_qreal.dpatch')
-rw-r--r--packages/python/python-pyqt/03_qreal.dpatch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/python/python-pyqt/03_qreal.dpatch b/packages/python/python-pyqt/03_qreal.dpatch
new file mode 100644
index 0000000000..8f9568656c
--- /dev/null
+++ b/packages/python/python-pyqt/03_qreal.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_qreal.dpatch by Torsten Marek <shlomme@debian.org>
+##
+## DP: On ARM, ARMEL, Mips and Mipsel, qreal is a float, not a double.
+
+@DPATCH@
+diff -urNad python-qt4-4.3~/sip/QtCore/qglobal.sip python-qt4-4.3/sip/QtCore/qglobal.sip
+--- python-qt4-4.3~/sip/QtCore/qglobal.sip 2007-08-07 21:52:15.000000000 +0200
++++ python-qt4-4.3/sip/QtCore/qglobal.sip 2007-08-07 22:10:14.000000000 +0200
+@@ -46,7 +46,7 @@
+ typedef unsigned long long quint64;
+ typedef qint64 qlonglong;
+ typedef quint64 qulonglong;
+-typedef double qreal;
++typedef float qreal;
+ typedef unsigned char uchar;
+ typedef unsigned short ushort;
+ typedef unsigned int uint;