[Python-modules-commits] r34431 - in packages/numpy/branches/sid/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Sep 30 20:22:17 UTC 2015


    Date: Wednesday, September 30, 2015 @ 20:22:16
  Author: morph
Revision: 34431

* debian/patches/ppc_noassert.patch
  - disable assert on PowerPC due to broken malloc; thanks to Julian Taylor
    for the patch; Closes: #800392

Added:
  packages/numpy/branches/sid/debian/patches/ppc_noassert.patch
Modified:
  packages/numpy/branches/sid/debian/changelog
  packages/numpy/branches/sid/debian/patches/series

Modified: packages/numpy/branches/sid/debian/changelog
===================================================================
--- packages/numpy/branches/sid/debian/changelog	2015-09-30 19:39:27 UTC (rev 34430)
+++ packages/numpy/branches/sid/debian/changelog	2015-09-30 20:22:16 UTC (rev 34431)
@@ -1,3 +1,11 @@
+python-numpy (1:1.9.2-3) UNRELEASED; urgency=medium
+
+  * debian/patches/ppc_noassert.patch
+    - disable assert on PowerPC due to broken malloc; thanks to Julian Taylor
+      for the patch; Closes: #800392
+
+ -- Sandro Tosi <morph at debian.org>  Wed, 30 Sep 2015 20:46:43 +0100
+
 python-numpy (1:1.9.2-2) unstable; urgency=medium
 
   * upload to unstable

Added: packages/numpy/branches/sid/debian/patches/ppc_noassert.patch
===================================================================
--- packages/numpy/branches/sid/debian/patches/ppc_noassert.patch	                        (rev 0)
+++ packages/numpy/branches/sid/debian/patches/ppc_noassert.patch	2015-09-30 20:22:16 UTC (rev 34431)
@@ -0,0 +1,19 @@
+Description: disable asserts on ppc with broken malloc
+ only longdouble affected will still work with softfaults
+Author: Julian Taylor <jtaylor.debian at googlemail.com>
+--- a/numpy/core/src/multiarray/lowlevel_strided_loops.c.src
++++ b/numpy/core/src/multiarray/lowlevel_strided_loops.c.src
+@@ -7,6 +7,13 @@
+  *
+  * See LICENSE.txt for the license.
+  */
++#ifdef __POWERPC__
++#ifndef NDEBUG
++// disable asserts malloc broken
++// https://sourceware.org/bugzilla/show_bug.cgi?id=6527
++#define NDEBUG
++#endif
++#endif
+ 
+ #define PY_SSIZE_T_CLEAN
+ #include "Python.h"

Modified: packages/numpy/branches/sid/debian/patches/series
===================================================================
--- packages/numpy/branches/sid/debian/patches/series	2015-09-30 19:39:27 UTC (rev 34430)
+++ packages/numpy/branches/sid/debian/patches/series	2015-09-30 20:22:16 UTC (rev 34431)
@@ -3,3 +3,4 @@
 10_use_local_python.org_object.inv_sphinx.diff
 python3-soabi.patch
 adapt_swig_docs_to_debian.patch
+ppc_noassert.patch




More information about the Python-modules-commits mailing list