Index: head/math/octave-forge-interval/Makefile =================================================================== --- head/math/octave-forge-interval/Makefile (revision 427316) +++ head/math/octave-forge-interval/Makefile (revision 427317) @@ -1,29 +1,29 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-interval PORTVERSION= 2.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING LIB_DEPENDS= libmpfr.so:math/mpfr # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include Index: head/math/octave-forge-interval/files/patch-mpfr__to__string__d.cc =================================================================== --- head/math/octave-forge-interval/files/patch-mpfr__to__string__d.cc (revision 427316) +++ head/math/octave-forge-interval/files/patch-mpfr__to__string__d.cc (revision 427317) @@ -1,15 +1,11 @@ ---- mpfr_to_string_d.cc.orig 2016-11-24 18:19:39 UTC +--- mpfr_to_string_d.cc.orig 2016-11-20 13:47:35 UTC +++ mpfr_to_string_d.cc -@@ -201,10 +201,10 @@ DEFUN_DLD (mpfr_to_string_d, args, nargo +@@ -201,7 +201,7 @@ DEFUN_DLD (mpfr_to_string_d, args, nargo // Make subnormal numbers use the exponent -1022 if (exponent < std::numeric_limits ::min_exponent) { - mantissa /= std::pow (2.0, -+ mantissa /= std::pow (2.0, (int)( ++ mantissa /= uint64_t (1) << ( std::numeric_limits ::min_exponent - 1 -- - exponent); -+ - exponent)); - exponent = std::numeric_limits ::min_exponent - 1; - } - + - exponent);