mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
math/openlibm: Update to 0.8.0
Approved by: maintainer (timeout, email bounce)
This commit is contained in:
parent
1996f8415c
commit
b1be0f3393
6 changed files with 16 additions and 53 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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)
|
||||
|
|
|
@ -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().
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue