m git) Date: Tue, 10 Dec 2024 06:57:43 GMT Message-Id: <202412100657.4BA6vhmM057535@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b678c9c5d9a2 - main - misc/tenere: Fix build on armv7 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b678c9c5d9a26ad6c689a6c83025898549a98eff Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b678c9c5d9a26ad6c689a6c83025898549a98eff commit b678c9c5d9a26ad6c689a6c83025898549a98eff Author: Yuri Victorovich AuthorDate: 2024-12-10 06:14:33 +0000 Commit: Yuri Victorovich CommitDate: 2024-12-10 06:57:35 +0000 misc/tenere: 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/misc/tenere/files/patch-cargo-crates_sys-info-0.9.1_c_freebsd.c b/misc/tenere/files/patch-cargo-crates_sys-info-0.9.1_c_freebsd.c new file mode 100644 index 000000000000..887456d06588 --- /dev/null +++ b/misc/tenere/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-12-10 05:14:48 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;