git: d34c3ae2cb35 - main - devel/uv: Fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 09:44:58 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d34c3ae2cb35a6cc6f8567d820bc11fc9fbdaabd commit d34c3ae2cb35a6cc6f8567d820bc11fc9fbdaabd Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-10-23 07:19:34 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-23 09:44:42 +0000 devel/uv: Fix build on armv7 Reported by: fallout --- .../patch-cargo-crates_sys-info-0.9.1_c_freebsd.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/devel/uv/files/patch-cargo-crates_sys-info-0.9.1_c_freebsd.c b/devel/uv/files/patch-cargo-crates_sys-info-0.9.1_c_freebsd.c new file mode 100644 index 000000000000..5045ca4b5ce5 --- /dev/null +++ b/devel/uv/files/patch-cargo-crates_sys-info-0.9.1_c_freebsd.c @@ -0,0 +1,22 @@ +- workaround for https://github.com/FillZpp/sys-info-rs/issues/119 + +--- cargo-crates/sys-info-0.9.1/c/freebsd.c.orig 2024-10-23 06:00:50 UTC ++++ cargo-crates/sys-info-0.9.1/c/freebsd.c +@@ -28,7 +28,7 @@ const char *get_os_release(void) { + return (os_release); + } + +-uint64_t get_cpu_speed(void) { ++unsigned long get_cpu_speed(void) { + uint64_t tsc_freq; + size_t len; + int error; +@@ -44,7 +44,7 @@ uint64_t get_cpu_speed(void) { + return (tsc_freq / 1000 / 1000); + } + +-uint64_t get_proc_total(void) { ++unsigned long get_proc_total(void) { + struct kinfo_proc *kp, *kpp; + int mib[3], count, error; + size_t len;