Ticket #23151: libofa.patch
File libofa.patch, 2.3 KB (added by kthenriksson@…, 15 years ago) |
---|
-
files/patch-configurein
1 --- configure.in~ 2010-01-05 23:15:50.000000000 -0800 2 +++ configure.in 2010-01-05 23:09:41.000000000 -0800 3 @@ -74,7 +74,7 @@ 4 dnl FFTW for FFTW v2. FFTW3 for FFTW v3. VDSP for vDSP. MKL for MKL 5 dnl TODO: PREANSI for win32 6 7 -if test x$os = xdarwin; then 8 +if test x$os = xBROKENdarwin; then 9 AC_MSG_NOTICE([Using vDSP on OS X]) 10 LIBS="$LIBS -framework Accelerate" 11 FFT_WRAPPER="fftlibvdsp_op.cpp" -
files/patch-mathutils
1 --- lib/JAMA/tnt_math_utils.h~ 2010-01-05 20:41:48.000000000 -0800 2 +++ lib/JAMA/tnt_math_utils.h 2010-01-05 19:47:22.000000000 -0800 3 @@ -30,7 +30,10 @@ 4 { 5 6 if (a== 0) 7 + { 8 + using __gnu_cxx::abs; 9 return abs(b); 10 + } 11 else 12 { 13 Real c = b/a; -
files/patch-configure
1 --- configure~ 2006-05-10 11:10:04.000000000 -07002 +++ configure 2008-04-22 16:25:53.000000000 -07003 @@ -20486,7 +20486,7 @@4 if test x$os = xdarwin; then5 { echo "$as_me:$LINENO: Using vDSP on OS X" >&56 echo "$as_me: Using vDSP on OS X" >&6;}7 - LIBS="$LIBS -framework Accelerate"8 + LIBS="$LIBS -XCClinker -framework -XCClinker Accelerate"9 FFT_WRAPPER="fftlibvdsp_op.cpp"10 11 -
Portfile
15 15 master_sites http://musicip-libofa.googlecode.com/files/ 16 16 checksums md5 51507d2c4b432bd2755f48d58471696e 17 17 18 depends_build port:libtool \ 19 port:autoconf \ 20 port:automake 21 18 22 depends_lib port:expat \ 19 port:curl 23 port:curl \ 24 port:fftw-3 20 25 21 patchfiles patch-configure 26 patchfiles patch-configurein\ 27 patch-mathutils 28 29 pre-configure { 30 system "cd ${worksrcpath} && LIBTOOLIZE=${prefix}/bin/glibtoolize autoreconf -vif" 31 }