git: 6f1abbc85daf - main - math/kalker: Update to 2.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Mar 2024 22:41:26 UTC
The branch main has been updated by ashish:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6f1abbc85daf75f27fb39fca7cfb844059e0d33c
commit 6f1abbc85daf75f27fb39fca7cfb844059e0d33c
Author: Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2024-03-24 22:12:22 +0000
Commit: Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-03-24 22:39:45 +0000
math/kalker: Update to 2.1.0
- Add dependency on math/mpfr
- Update patch with the current version of dependencies
in the ports tree
---
math/kalker/Makefile | 6 +++---
math/kalker/distinfo | 6 +++---
.../files/patch-cargo-crates_gmp-mpfr-sys-1.5.0_build.rs | 14 ++++++++------
3 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/math/kalker/Makefile b/math/kalker/Makefile
index 5e93c7b7b833..1b9b27aa92e2 100644
--- a/math/kalker/Makefile
+++ b/math/kalker/Makefile
@@ -1,7 +1,6 @@
PORTNAME= kalker
DISTVERSIONPREFIX= v
-DISTVERSION= 2.0.4
-PORTREVISION= 6
+DISTVERSION= 2.1.0
CATEGORIES= math
MAINTAINER= ashish@FreeBSD.org
@@ -12,7 +11,8 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgmp.so:math/gmp \
- libmpc.so:math/mpc
+ libmpc.so:math/mpc \
+ libmpfr.so:math/mpfr
USES= cargo
USE_GITHUB= yes
diff --git a/math/kalker/distinfo b/math/kalker/distinfo
index 1e1b4be9a156..413bc825904d 100644
--- a/math/kalker/distinfo
+++ b/math/kalker/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1689882974
+TIMESTAMP = 1711314800
SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac
SIZE (rust/crates/aho-corasick-0.7.20.crate) = 111440
SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2
@@ -135,5 +135,5 @@ SHA256 (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 447660ad36a13288b1db4d42
SIZE (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 664606
SHA256 (rust/crates/winres-0.1.12.crate) = b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c
SIZE (rust/crates/winres-0.1.12.crate) = 19772
-SHA256 (PaddiM8-kalker-v2.0.4_GH0.tar.gz) = f9ea40521f8e435adfc5db7f811c63bab7276407c6c0a95a40673f777f57c3bd
-SIZE (PaddiM8-kalker-v2.0.4_GH0.tar.gz) = 1331308
+SHA256 (PaddiM8-kalker-v2.1.0_GH0.tar.gz) = ada68589b916ce535cb49a37370b11c2bc9145e444f6e9036a3d74f301de2189
+SIZE (PaddiM8-kalker-v2.1.0_GH0.tar.gz) = 1332364
diff --git a/math/kalker/files/patch-cargo-crates_gmp-mpfr-sys-1.5.0_build.rs b/math/kalker/files/patch-cargo-crates_gmp-mpfr-sys-1.5.0_build.rs
index f9c1c4472789..81b49a421edc 100644
--- a/math/kalker/files/patch-cargo-crates_gmp-mpfr-sys-1.5.0_build.rs
+++ b/math/kalker/files/patch-cargo-crates_gmp-mpfr-sys-1.5.0_build.rs
@@ -1,14 +1,16 @@
--- cargo-crates/gmp-mpfr-sys-1.5.0/build.rs.orig 2006-07-24 01:21:28 UTC
+++ cargo-crates/gmp-mpfr-sys-1.5.0/build.rs
-@@ -42,7 +42,7 @@ const MPFR_DIR: &str = "mpfr-4.2.0-c";
+@@ -40,8 +40,8 @@ const MPC_DIR: &str = "mpc-1.3.1-c";
+ const GMP_DIR: &str = "gmp-6.2.1-c";
+ const MPFR_DIR: &str = "mpfr-4.2.0-c";
const MPC_DIR: &str = "mpc-1.3.1-c";
- const GMP_VER: (i32, i32, i32) = (6, 2, 1);
- const MPFR_VER: (i32, i32, i32) = (4, 2, 0);
--const MPC_VER: (i32, i32, i32) = (1, 3, 1);
-+const MPC_VER: (i32, i32, i32) = (1, 2, 1);
+-const GMP_VER: (i32, i32, i32) = (6, 2, 1);
+-const MPFR_VER: (i32, i32, i32) = (4, 2, 0);
++const GMP_VER: (i32, i32, i32) = (6, 3, 0);
++const MPFR_VER: (i32, i32, i32) = (4, 2, 1);
+ const MPC_VER: (i32, i32, i32) = (1, 3, 1);
#[derive(Clone, Copy, PartialEq)]
- enum Target {
@@ -194,7 +194,7 @@ fn check_system_libs(env: &Environment) {
let mut cmd = Command::new(&env.c_compiler);