git: 323340de05f7 - main - math/primecount: upgrade to v7.14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jan 2025 18:04:59 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=323340de05f7a61bf98e88962f5084c85c003ccf commit 323340de05f7a61bf98e88962f5084c85c003ccf Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2025-01-26 16:56:54 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2025-01-27 18:04:53 +0000 math/primecount: upgrade to v7.14 Releases notes at https://github.com/kimwalisch/primecount/releases --- math/primecount/Makefile | 3 +-- math/primecount/distinfo | 6 ++--- .../primecount/files/patch-include_SieveTables.hpp | 29 ---------------------- 3 files changed, 4 insertions(+), 34 deletions(-) diff --git a/math/primecount/Makefile b/math/primecount/Makefile index 8a9644961e19..b78b1b6f028a 100644 --- a/math/primecount/Makefile +++ b/math/primecount/Makefile @@ -1,7 +1,6 @@ PORTNAME= primecount DISTVERSIONPREFIX= v -DISTVERSION= 7.4 -PORTREVISION= 2 +DISTVERSION= 7.14 CATEGORIES= math MAINTAINER= thierry@FreeBSD.org diff --git a/math/primecount/distinfo b/math/primecount/distinfo index 75811eea90a5..07785486b28b 100644 --- a/math/primecount/distinfo +++ b/math/primecount/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1663430356 -SHA256 (kimwalisch-primecount-v7.4_GH0.tar.gz) = 6362887e80e849dd1c396ccec773e5a3a7904371b46f1d495d320d31f9c1ae28 -SIZE (kimwalisch-primecount-v7.4_GH0.tar.gz) = 372374 +TIMESTAMP = 1737904599 +SHA256 (kimwalisch-primecount-v7.14_GH0.tar.gz) = d867ac18cc52c0f7014682169988a76f39e4cd56f8ce78fb56e064499b1d66bb +SIZE (kimwalisch-primecount-v7.14_GH0.tar.gz) = 437328 diff --git a/math/primecount/files/patch-include_SieveTables.hpp b/math/primecount/files/patch-include_SieveTables.hpp deleted file mode 100644 index 4dd773f4b179..000000000000 --- a/math/primecount/files/patch-include_SieveTables.hpp +++ /dev/null @@ -1,29 +0,0 @@ ---- include/SieveTables.hpp.orig 2021-12-20 20:37:55 UTC -+++ include/SieveTables.hpp -@@ -60,22 +60,22 @@ constexpr int right_shift(int n) - /// on big endian CPU architectures. - - /// Reverse byte order of 64-bit integer --constexpr uint64_t bswap64(uint64_t i, uint64_t j = 0, uint64_t n = 0) -+constexpr uint64_t bswap_64(uint64_t i, uint64_t j = 0, uint64_t n = 0) - { - return (n == sizeof(uint64_t)) ? j : -- bswap64(i >> 8, (j << 8) | (i & 0xff), n + 1); -+ bswap_64(i >> 8, (j << 8) | (i & 0xff), n + 1); - } - - /// Bitmask to unset bits <= n - constexpr uint64_t unset_s(int n) - { -- return bswap64(~0ull << left_shift(n)); -+ return bswap_64(~0ull << left_shift(n)); - } - - /// Bitmask to unset bits >= n - constexpr uint64_t unset_l(int n) - { -- return bswap64((n == 0) ? 0 : ~0ull >> right_shift(n)); -+ return bswap_64((n == 0) ? 0 : ~0ull >> right_shift(n)); - } - - #else