1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

math/sleef: update to 3.5.0

With this, remove fcommon workaround and patch.
This commit is contained in:
Johannes M Dieterich 2020-09-05 20:09:32 +00:00
parent 1db3476724
commit fadf0af3c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547674
4 changed files with 7 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sleef
DISTVERSION= 3.4.1
DISTVERSION= 3.5.0
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
@ -17,8 +17,6 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= shibatch
# fix on post LLVM11 HEAD
CFLAGS+= -fcommon
CFLAGS_powerpc64= -mpower8-vector
.include <bsd.port.options.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1598561675
SHA256 (shibatch-sleef-3.4.1_GH0.tar.gz) = 25babe83b9358817ac05bbec09b7557439e4e96b907b86717906e6d980ff2036
SIZE (shibatch-sleef-3.4.1_GH0.tar.gz) = 1174096
TIMESTAMP = 1599336132
SHA256 (shibatch-sleef-3.5.0_GH0.tar.gz) = 6b952560cec091477affcb18baf06bf50cef9f932ff6aba491a744ee8e77ffea
SIZE (shibatch-sleef-3.5.0_GH0.tar.gz) = 1205317

View File

@ -1,14 +0,0 @@
--- 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

View File

@ -2,10 +2,10 @@ include/sleef.h
include/sleefdft.h
lib/libsleef.so
lib/libsleef.so.3
lib/libsleef.so.3.4.0
lib/libsleef.so.3.5.0
lib/libsleefdft.so
lib/libsleefdft.so.3
lib/libsleefdft.so.3.4.0
lib/libsleefdft.so.3.5.0
%%NO_PPC64%%lib/libsleefgnuabi.so
%%NO_PPC64%%lib/libsleefgnuabi.so.3
%%NO_PPC64%%lib/libsleefgnuabi.so.3.4
%%NO_PPC64%%lib/libsleefgnuabi.so.3.5