Ticket #50344: numpy_Tiger_fix.diff
File numpy_Tiger_fix.diff, 1.3 KB (added by michaelld (Michael Dickens), 9 years ago) |
---|
-
Portfile
8 8 9 9 github.setup numpy numpy 1.10.4 v 10 10 name py-numpy 11 11 12 categories-append math 12 13 license BSD 13 14 platforms darwin … … 129 130 BLAS=/usr/lib 130 131 } 131 132 133 platform darwin 8 { 134 patchfiles-append patch-Tiger-without-dflcn-header.diff 135 } 136 132 137 post-patch { 133 138 reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" \ 134 139 ${worksrcpath}/numpy/f2py/setup.py -
files/patch-Tiger-without-dflcn-header.diff
1 --- numpy/_build_utils/src/apple_sgemv_fix.c.orig 2 +++ numpy/_build_utils/src/apple_sgemv_fix.c 3 @@ -94,7 +94,7 @@ 4 * AVX and the OS version is Mavericks */ 5 AVX_and_10_9 = AVX && MAVERICKS; 6 /* load vecLib */ 7 - veclib = dlopen(VECLIB_FILE, RTLD_LOCAL | RTLD_FIRST); 8 + veclib = dlopen(VECLIB_FILE, 0x4 | 0x100); 9 if (!veclib) { 10 veclib = NULL; 11 snprintf(errormsg, sizeof(errormsg),