Ticket #11886: trac_11886-scipy.patch

File trac_11886-scipy.patch, 2.5 KB (added by jhpalmieri, 11 years ago)

patch for scipy pkg, for review only

  • SPKG.txt

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1317419210 25200
    # Node ID 0e3c69127eec3377ad34ec64bc97a3df0bd044cf
    # Parent  b5871784b605f7ce18258636d24b22442cfcc195
    #11886: get scipy to build on OS X 10.7 Lion, using the patches from
    https://github.com/scipy/scipy/commit/effa6f68f8ada57b79864852b609ff06d2527306
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b BSD terms. See http://www.scipy.org/Lice 
    3232
    3333== Changelog ==
    3434
     35== scipy-0.9.p0 (John Palmieri, 30 Sept 2011) ==
     36 * #11886: get scipy to build on OS X 10.7 Lion, using the patches from
     37   https://github.com/scipy/scipy/commit/effa6f68f8ada57b79864852b609ff06d2527306
     38
    3539== scipy-0.9 (F. Bissey; 16 March 2011) ===
    3640 * updated the source to 0.9.0. No patches needed.
    3741
  • new file patches/fblaswrap_veclib_c.c.patch

    diff --git a/patches/fblaswrap_veclib_c.c.patch b/patches/fblaswrap_veclib_c.c.patch
    new file mode 100644
    - +  
     1--- src/scipy/linalg/src/fblaswrap_veclib_c.c   2011-02-27 02:57:02.000000000 -0800
     2+++ src/scipy/linalg/src/fblaswrap_veclib_c.c   2011-09-30 14:38:40.000000000 -0700
     3@@ -1,3 +1,4 @@
     4+#include <complex.h>
     5 #include <vecLib/vecLib.h>
     6 
     7 //#define WRAP_F77(a) wcblas_##a##_
  • new file patches/fblaswrap_veclib_c.c.src.patch

    diff --git a/patches/fblaswrap_veclib_c.c.src.patch b/patches/fblaswrap_veclib_c.c.src.patch
    new file mode 100644
    - +  
     1--- src/scipy/lib/blas/fblaswrap_veclib_c.c.src 2011-02-27 02:57:02.000000000 -0800
     2+++ src/scipy/lib/blas/fblaswrap_veclib_c.c.src 2011-09-30 14:38:33.000000000 -0700
     3@@ -1,3 +1,4 @@
     4+#include <complex.h>
     5 #include <vecLib/vecLib.h>
     6 
     7 //#define WRAP_F77(a) wcblas_##a##_
  • new file patches/veclib_cabi_c.c.patch

    diff --git a/patches/veclib_cabi_c.c.patch b/patches/veclib_cabi_c.c.patch
    new file mode 100644
    - +  
     1--- src/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c       2011-02-27 02:57:03.000000000 -0800
     2+++ src/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c       2011-09-30 14:38:48.000000000 -0700
     3@@ -1,3 +1,4 @@
     4+#include <complex.h>
     5 #include <vecLib/vecLib.h>
     6 
     7 #define WRAP_F77(a) a##_
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b rm -rf "$SAGE_LOCAL"/lib/python/site-pac 
    3636
    3737cd src/
    3838
     39for patch in ../patches/*.patch; do
     40    patch -p1 <"$patch"
     41    if [ $? -ne 0 ]; then
     42        echo >&2 "Error applying '$patch'"
     43        exit 1
     44    fi
     45done
     46
    3947if [ $? -ne 0 ]; then
    4048    echo "Error patching setup.py"
    4149    exit 1