Date: Wed, 29 Dec 2021 09:27:16 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b1be0f33939d - main - math/openlibm: Update to 0.8.0 Message-ID: <202112290927.1BT9RGu1093564@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1be0f33939d54be22e3736aec5d5df4351cb216 commit b1be0f33939d54be22e3736aec5d5df4351cb216 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2021-12-29 09:26:17 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2021-12-29 09:26:17 +0000 math/openlibm: Update to 0.8.0 Approved by: maintainer (timeout, email bounce) --- math/openlibm/Makefile | 3 +-- math/openlibm/distinfo | 6 ++--- math/openlibm/files/patch-Make.inc | 11 --------- math/openlibm/files/patch-Makefile | 9 ++++++-- math/openlibm/files/patch-src_math__private.h | 33 --------------------------- math/openlibm/pkg-plist | 7 ++++-- 6 files changed, 16 insertions(+), 53 deletions(-) diff --git a/math/openlibm/Makefile b/math/openlibm/Makefile index 5c77056d71ee..4d6b3be38f0a 100644 --- a/math/openlibm/Makefile +++ b/math/openlibm/Makefile @@ -2,8 +2,7 @@ PORTNAME= openlibm DISTVERSIONPREFIX= v -DISTVERSION= 0.6.0 -PORTREVISION= 2 +DISTVERSION= 0.8.0 CATEGORIES= math MAINTAINER= iblis@hs.ntnu.edu.tw diff --git a/math/openlibm/distinfo b/math/openlibm/distinfo index dc34b8f6d0be..3e2a18129a1c 100644 --- a/math/openlibm/distinfo +++ b/math/openlibm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1529386396 -SHA256 (JuliaMath-openlibm-v0.6.0_GH0.tar.gz) = d45439093d1fd15e2ac3acf69955e462401c7a160d3330256cb4a86c51bdae28 -SIZE (JuliaMath-openlibm-v0.6.0_GH0.tar.gz) = 356601 +TIMESTAMP = 1640769232 +SHA256 (JuliaMath-openlibm-v0.8.0_GH0.tar.gz) = 03620768df4ca526a63dd675c6de95a5c9d167ff59555ce57a61c6bf49e400ee +SIZE (JuliaMath-openlibm-v0.8.0_GH0.tar.gz) = 367130 diff --git a/math/openlibm/files/patch-Make.inc b/math/openlibm/files/patch-Make.inc deleted file mode 100644 index d25c36a9f094..000000000000 --- a/math/openlibm/files/patch-Make.inc +++ /dev/null @@ -1,11 +0,0 @@ ---- Make.inc.orig 2018-06-18 21:22:47 UTC -+++ Make.inc -@@ -10,7 +10,7 @@ VERSION = 0.6.0 - SOMAJOR = 2 - SOMINOR = 5 - DESTDIR = --prefix = /usr/local -+prefix ?= /usr/local - bindir = $(prefix)/bin - libdir = $(prefix)/lib - includedir = $(prefix)/include diff --git a/math/openlibm/files/patch-Makefile b/math/openlibm/files/patch-Makefile index e26bd68873d4..67a52650033d 100644 --- a/math/openlibm/files/patch-Makefile +++ b/math/openlibm/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2018-06-18 21:22:47 UTC +--- Makefile.orig 2021-09-14 16:35:03 UTC +++ Makefile -@@ -83,19 +83,19 @@ openlibm.pc: openlibm.pc.in Make.inc Makefile +@@ -92,7 +92,7 @@ openlibm.pc: openlibm.pc.in Make.inc Makefile install-static: libopenlibm.a mkdir -p $(DESTDIR)$(libdir) @@ -9,8 +9,13 @@ install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT) mkdir -p $(DESTDIR)$(shlibdir) +@@ -101,16 +101,16 @@ ifeq ($(OS), WINNT) + cp -RpP -f libopenlibm.*$(SHLIB_EXT) $(DESTDIR)$(shlibdir)/ + cp -RpP -f libopenlibm.*$(SHLIB_EXT).a $(DESTDIR)$(libdir)/ + else - cp -RpP -f libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ + $(BSD_INSTALL_LIB) libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ + endif install-pkgconfig: openlibm.pc mkdir -p $(DESTDIR)$(pkgconfigdir) diff --git a/math/openlibm/files/patch-src_math__private.h b/math/openlibm/files/patch-src_math__private.h deleted file mode 100644 index 84dceabc77ae..000000000000 --- a/math/openlibm/files/patch-src_math__private.h +++ /dev/null @@ -1,33 +0,0 @@ ---- src/math_private.h.orig 2018-06-18 21:22:47 UTC -+++ src/math_private.h -@@ -203,10 +203,10 @@ do { \ - } while (0) - - -+#ifndef __FreeBSD__ - //VBS - #define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval)) -- --/* VBS -+#else - #ifdef FLT_EVAL_METHOD - // Attempt to get strict C99 semantics for assignment with non-C99 compilers. - #if FLT_EVAL_METHOD == 0 || __GNUC__ == 0 -@@ -215,7 +215,7 @@ do { \ - #define STRICT_ASSIGN(type, lval, rval) do { \ - volatile type __lval; \ - \ -- if (sizeof(type) >= sizeof(double)) \ -+ if (sizeof(type) >= sizeof(long double)) \ - (lval) = (rval); \ - else { \ - __lval = (rval); \ -@@ -224,7 +224,7 @@ do { \ - } while (0) - #endif - #endif --*/ -+#endif - - /* - * Common routine to process the arguments to nan(), nanf(), and nanl(). diff --git a/math/openlibm/pkg-plist b/math/openlibm/pkg-plist index 3a922eb24538..18cc48fea40f 100644 --- a/math/openlibm/pkg-plist +++ b/math/openlibm/pkg-plist @@ -11,17 +11,20 @@ include/openlibm/math_private_openbsd.h include/openlibm/mips_fpmath.h include/openlibm/openlibm.h include/openlibm/openlibm_complex.h +include/openlibm/openlibm_defs.h include/openlibm/openlibm_fenv.h include/openlibm/openlibm_fenv_amd64.h include/openlibm/openlibm_fenv_arm.h include/openlibm/openlibm_fenv_i387.h include/openlibm/openlibm_fenv_mips.h include/openlibm/openlibm_fenv_powerpc.h +include/openlibm/openlibm_fenv_s390.h include/openlibm/openlibm_math.h include/openlibm/powerpc_fpmath.h +include/openlibm/s390_fpmath.h include/openlibm/types-compat.h lib/libopenlibm.a lib/libopenlibm.so -lib/libopenlibm.so.2 -lib/libopenlibm.so.2.5 +lib/libopenlibm.so.4 +lib/libopenlibm.so.4.0 libdata/pkgconfig/openlibm.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112290927.1BT9RGu1093564>