Hello community,

here is the log from the commit of package python-qt5 for openSUSE:Factory 
checked in at 2014-02-11 10:45:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qt5/python-qt5.changes    2014-01-14 
15:09:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-qt5.new/python-qt5.changes       
2014-02-11 10:45:10.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 20:51:47 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added fix_qreal_check.diff, fixes build on arm
+
+-------------------------------------------------------------------
python3-qt5.changes: same change

New:
----
  fix_qreal_check.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-qt5.spec ++++++
--- /var/tmp/diff_new_pack.ttJL0Y/_old  2014-02-11 10:45:11.000000000 +0100
+++ /var/tmp/diff_new_pack.ttJL0Y/_new  2014-02-11 10:45:11.000000000 +0100
@@ -29,6 +29,8 @@
 Patch1:         build-compare.diff
 # PATCH-FIX-OPENSUSE: DIsable RPATH
 Patch2:         disable-rpaths.diff
+# PATCH-FIX-UPSTREAM: fix_qreal_check.diff -- check if qreal is double based 
on sizeof
+Patch3:         fix_qreal_check.diff
 BuildRequires:  dbus-1-python-devel
 BuildRequires:  fdupes
 BuildRequires:  gdb
@@ -104,6 +106,7 @@
 %patch1
 #PATCH-FIX-OPENSUSE: Disable RPATH when building PyQt5.
 %patch2
+%patch3 -p1
 
 %build
 export CXXFLAGS="%{optflags}"

python3-qt5.spec: same change
++++++ fix_qreal_check.diff ++++++
Description: check if qreal is double based on sizeof
Author: Dmitry Shachnev <mity...@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;
 }

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to