Index: head/math/sleef/Makefile =================================================================== --- head/math/sleef/Makefile (revision 509384) +++ head/math/sleef/Makefile (revision 509385) @@ -1,21 +1,29 @@ # Created by: Johannes M Dieterich # $FreeBSD$ PORTNAME= sleef DISTVERSION= 3.4.0 PORTREVISION= 1 CATEGORIES= math MAINTAINER= jmd@FreeBSD.org COMMENT= SIMD Library for Evaluating Elementary Functions, vectorized libm LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake compiler:c11 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= shibatch +.include + +.if ${ARCH} == powerpc64 +PLIST_SUB+= NO_PPC64="@comment " +.else +PLIST_SUB+= NO_PPC64="" +.endif + .include Index: head/math/sleef/files/patch-src_libm-tester_tester3.c =================================================================== --- head/math/sleef/files/patch-src_libm-tester_tester3.c (nonexistent) +++ head/math/sleef/files/patch-src_libm-tester_tester3.c (revision 509385) @@ -0,0 +1,14 @@ +--- src/libm-tester/tester3.c.orig 2019-07-26 21:42:15 UTC ++++ src/libm-tester/tester3.c +@@ -71,9 +71,9 @@ static INLINE float getsvfloat32_t(svfloat32_t v, int + #endif + + #ifdef __VSX__ +-static INLINE vector_double setvector_double(double d, int r) { double a[2]; memrand(a, sizeof(a)); a[r & 1] = d; return (vector double) ( a[0], a[1] ); } ++static INLINE vector_double setvector_double(double d, int r) { double a[2]; memrand(a, sizeof(a)); a[r & 1] = d; return (vector double) { a[0], a[1] }; } + static INLINE double getvector_double(vector double v, int r) { double a[2]; return unifyValue(v[r & 1]); } +-static INLINE vector_float setvector_float(float d, int r) { float a[4]; memrand(a, sizeof(a)); a[r & 3] = d; return (vector float) ( a[0], a[1], a[2], a[3] ); } ++static INLINE vector_float setvector_float(float d, int r) { float a[4]; memrand(a, sizeof(a)); a[r & 3] = d; return (vector float) { a[0], a[1], a[2], a[3] }; } + static INLINE float getvector_float(vector float v, int r) { float a[4]; return unifyValuef(v[r & 3]); } + #endif + Property changes on: head/math/sleef/files/patch-src_libm-tester_tester3.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/sleef/pkg-plist =================================================================== --- head/math/sleef/pkg-plist (revision 509384) +++ head/math/sleef/pkg-plist (revision 509385) @@ -1,11 +1,11 @@ include/sleef.h include/sleefdft.h lib/libsleef.so lib/libsleef.so.3 lib/libsleef.so.3.4.0 lib/libsleefdft.so lib/libsleefdft.so.3 lib/libsleefdft.so.3.4.0 -lib/libsleefgnuabi.so -lib/libsleefgnuabi.so.3 -lib/libsleefgnuabi.so.3.4 +%%NO_PPC64%%lib/libsleefgnuabi.so +%%NO_PPC64%%lib/libsleefgnuabi.so.3 +%%NO_PPC64%%lib/libsleefgnuabi.so.3.4