Index: head/math/openlibm/Makefile =================================================================== --- head/math/openlibm/Makefile (revision 548612) +++ head/math/openlibm/Makefile (revision 548613) @@ -1,51 +1,51 @@ # Created by: Iblis Lin # $FreeBSD$ PORTNAME= openlibm DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= iblis@hs.ntnu.edu.tw COMMENT= High quality system independent, portable, open source libm LICENSE= MIT ISCL BSD2CLAUSE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE.md -BROKEN_armv6= fails to compile: a parameter list without types is only allowed in a function definition -BROKEN_armv7= fails to compile: a parameter list without types is only allowed in a function definition -BROKEN_mips= fails to compile: No rule to make target mips/Make.files -BROKEN_mips64= fails to compile: No rule to make target mips64/Make.files +BROKEN_armv6= fails to compile: a parameter list without types is only allowed in a function definition +BROKEN_armv7= fails to compile: a parameter list without types is only allowed in a function definition +BROKEN_mips= fails to compile: No rule to make target mips/Make.files +BROKEN_mips64= fails to compile: No rule to make target mips64/Make.files -USES= gmake +USES= gmake USE_GITHUB= yes GH_ACCOUNT= JuliaMath GH_PROJECT= openlibm USE_LDCONFIG= yes .include .if ${ARCH} == powerpc64 USES+= compiler:gcc-c++11-lib .else USES+= compiler:c11 .endif .include MAKE_ENV+= prefix=${PREFIX} ${MAKE_ENV_${CHOSEN_COMPILER_TYPE}} MAKE_ENV_gcc= USEGCC=1 USECLANG=0 MAKE_ENV_clang= USEGCC=0 USECLANG=1 TEST_TARGET= check post-patch: ${REINPLACE_CMD} -e 's/USEGCC =/USEGCC ?=/g' \ -e 's/USECLANG =/USECLANG ?=/g' \ -e '/TOOLPREFIX)gcc/s/$$/${GCC_DEFAULT}/g' \ ${WRKSRC}/Make.inc - + .include Index: head/math/openlibm/files/patch-src_math__private.h =================================================================== --- head/math/openlibm/files/patch-src_math__private.h (nonexistent) +++ head/math/openlibm/files/patch-src_math__private.h (revision 548613) @@ -0,0 +1,33 @@ +--- 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(). Property changes on: head/math/openlibm/files/patch-src_math__private.h ___________________________________________________________________ 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