Hello community,

here is the log from the commit of package python3-Cython for openSUSE:Factory 
checked in at 2016-01-30 11:31:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-Cython (Old)
 and      /work/SRC/openSUSE:Factory/.python3-Cython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-Cython"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-Cython/python3-Cython.changes    
2015-10-22 12:57:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Cython.new/python3-Cython.changes       
2016-01-30 11:31:36.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 28 12:48:45 UTC 2016 - [email protected]
+
+- Add python3-Cython-c++11.patch to fix complex math testcase compile
+  with GCC 6 defaulting to C++14.  (bnc#963974)
+
+-------------------------------------------------------------------

New:
----
  python3-Cython-c++11.patch

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

Other differences:
------------------
++++++ python3-Cython.spec ++++++
--- /var/tmp/diff_new_pack.8zaFKp/_old  2016-01-30 11:31:38.000000000 +0100
+++ /var/tmp/diff_new_pack.8zaFKp/_new  2016-01-30 11:31:38.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Cython
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
 Source1:        python3-Cython-rpmlintrc
+Patch1:         python3-Cython-c++11.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -52,6 +53,7 @@
 
 %prep
 %setup -q -n Cython-%{version}
+%patch1
 sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py # Fix 
non-executable scripts
 # Fix EOL encoding
 sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} 
Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding

++++++ python3-Cython-c++11.patch ++++++
--- Cython/Compiler/PyrexTypes.py.orig  2016-01-28 12:06:29.060198431 +0000
+++ Cython/Compiler/PyrexTypes.py       2016-01-28 12:07:24.296842892 +0000
@@ -1930,7 +1930,7 @@
     #define __Pyx_CIMAG(z) ((z).imag)
 #endif
 
-#if (defined(_WIN32) || defined(__clang__)) && defined(__cplusplus) && 
CYTHON_CCOMPLEX
+#if defined(__cplusplus) && (defined(_WIN32) || defined(__clang__) || 
__cplusplus >= 201103L) && CYTHON_CCOMPLEX
     #define __Pyx_SET_CREAL(z,x) ((z).real(x))
     #define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
 #else

Reply via email to