~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867

« back to all changes in this revision

Viewing changes to debian/patches/05_fix_endianness_detection.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-10-07 10:19:13 UTC
  • mfrom: (7.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20101007101913-8b1kmt8ho4upcl9s
Tags: 1:1.4.1-5
* debian/patches/10_use_local_python.org_object.inv_sphinx.diff
  - fixed small typo in description
* debian/patches/changeset_r8364.diff
  - fix memory corruption (double free); thanks to Joseph Barillari for the
    report and to Michael Gilbert for pushing resolution; Closes: #581058

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
machines. This patch forces the use of endian.h, this preventing
3
3
several reverse dependencies os Numpy from failing to build.
4
4
 
5
 
Index: python-numpy-1.3.0/numpy/core/include/numpy/npy_endian.h
 
5
Index: python-numpy-1.4.1/numpy/core/include/numpy/npy_endian.h
6
6
===================================================================
7
 
--- python-numpy-1.3.0.orig/numpy/core/include/numpy/npy_endian.h       2009-08-30 09:25:25.000000000 -0500
8
 
+++ python-numpy-1.3.0/numpy/core/include/numpy/npy_endian.h    2009-08-30 09:25:38.000000000 -0500
 
7
--- python-numpy-1.4.1.orig/numpy/core/include/numpy/npy_endian.h       2010-04-22 11:35:23.000000000 +0200
 
8
+++ python-numpy-1.4.1/numpy/core/include/numpy/npy_endian.h    2010-06-03 10:52:58.000000000 +0200
9
9
@@ -6,7 +6,8 @@
10
10
  * endian.h
11
11
  */
15
15
+#if 1
16
16
     /* Use endian.h if available */
17
17
     #include <endian.h>
18
 
     #define NPY_BYTE_ORDER __BYTE_ORDER
 
18