Index: head/math/gmp/files/patch-configure =================================================================== --- head/math/gmp/files/patch-configure (revision 528001) +++ head/math/gmp/files/patch-configure (nonexistent) @@ -1,20 +0,0 @@ ---- configure.orig 2016-12-16 15:45:32 UTC -+++ configure -@@ -6776,7 +6776,7 @@ main () - long i; - for (i = 0; i < 88 + 1; i++) - a[i] = ~0L; -- r = malloc (10000 * sizeof (unsigned long)); -+ r = calloc (10000, sizeof(unsigned long)); - r2 = r; - for (i = 0; i < 528; i += 23) - { -@@ -8394,7 +8394,7 @@ main () - long i; - for (i = 0; i < 88 + 1; i++) - a[i] = ~0L; -- r = malloc (10000 * sizeof (unsigned long)); -+ r = calloc (10000, sizeof(unsigned long)); - r2 = r; - for (i = 0; i < 528; i += 23) - { Property changes on: head/math/gmp/files/patch-configure ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/gmp/files/patch-configfsf.sub-spe =================================================================== --- head/math/gmp/files/patch-configfsf.sub-spe (revision 528001) +++ head/math/gmp/files/patch-configfsf.sub-spe (nonexistent) @@ -1,20 +0,0 @@ ---- configfsf.sub.bak 2017-04-04 10:18:23.262820000 -0500 -+++ configfsf.sub 2017-04-04 10:18:41.467015000 -0500 -@@ -301,7 +301,7 @@ - | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ - | pdp10 | pdp11 | pj | pjl \ -- | powerpc | powerpc64 | powerpc64le | powerpcle \ -+ | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ - | pyramid \ - | riscv32 | riscv64 \ - | rl78 | rx \ -@@ -428,7 +428,7 @@ - | or1k*-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ -- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ -+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | powerpcspe-* \ - | pyramid-* \ - | riscv32-* | riscv64-* \ - | rl78-* | romp-* | rs6000-* | rx-* \ Property changes on: head/math/gmp/files/patch-configfsf.sub-spe ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/gmp/Makefile =================================================================== --- head/math/gmp/Makefile (revision 528001) +++ head/math/gmp/Makefile (revision 528002) @@ -1,50 +1,54 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= gmp -PORTVERSION= 6.1.2 -PORTREVISION= 1 +PORTVERSION= 6.2.0 CATEGORIES= math devel MASTER_SITES= GNU MAINTAINER= ale@FreeBSD.org COMMENT= Free library for arbitrary precision arithmetic LICENSE= LGPL3 +USES= libtool makeinfo tar:xz + OPTIONS_DEFINE= CPU_OPTS CPU_OPTS_DESC= Enable assembly optimizations for your CPU -USES= libtool makeinfo tar:xz HAS_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" CONFIGURE_ARGS= --prefix=${PREFIX} \ --infodir=${PREFIX}/${INFO_PATH} \ --mandir=${PREFIX}/man \ --enable-cxx -MAKE_JOBS_UNSAFE=yes + USE_LDCONFIG= yes INFO= gmp INSTALL_TARGET= install-strip TEST_TARGET= check .include + +.if ${ARCH:Mmips*} +MAKE_JOBS_UNSAFE=yes +.endif .if ! ${PORT_OPTIONS:MCPU_OPTS} CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET} .elif ${ARCH:S/64//} != ${ARCH} .if ${ARCH} == powerpc64 CONFIGURE_ENV+= ABI="mode64" .else CONFIGURE_ENV+= ABI="64" .endif .else CONFIGURE_ENV+= ABI="32" .endif post-extract: @${RM} ${WRKSRC}/doc/gmp.info* .include Index: head/math/gmp/distinfo =================================================================== --- head/math/gmp/distinfo (revision 528001) +++ head/math/gmp/distinfo (revision 528002) @@ -1,3 +1,3 @@ -TIMESTAMP = 1487005782 -SHA256 (gmp-6.1.2.tar.xz) = 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 -SIZE (gmp-6.1.2.tar.xz) = 1946336 +TIMESTAMP = 1583654160 +SHA256 (gmp-6.2.0.tar.xz) = 258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526 +SIZE (gmp-6.2.0.tar.xz) = 2012444 Index: head/math/gmp/pkg-plist =================================================================== --- head/math/gmp/pkg-plist (revision 528001) +++ head/math/gmp/pkg-plist (revision 528002) @@ -1,10 +1,12 @@ include/gmp.h include/gmpxx.h lib/libgmp.a lib/libgmp.so lib/libgmp.so.10 -lib/libgmp.so.10.3.2 +lib/libgmp.so.10.4.0 lib/libgmpxx.a lib/libgmpxx.so lib/libgmpxx.so.4 -lib/libgmpxx.so.4.5.2 +lib/libgmpxx.so.4.6.0 +libdata/pkgconfig/gmp.pc +libdata/pkgconfig/gmpxx.pc