Re: git: 2e8418910610 - main - net-mgmt/gping: Fix build with rust 1.74

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 20:31:39 UTC
Mikael Urankar <mikael@FreeBSD.org> wrote:
> The branch main has been updated by mikael:
> 
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=2e841891061001aaf5d62a966a568563835d5cb9
> 
> commit 2e841891061001aaf5d62a966a568563835d5cb9
> Author:     Mikael Urankar <mikael@FreeBSD.org>
> AuthorDate: 2023-11-21 08:43:03 +0000
> Commit:     Mikael Urankar <mikael@FreeBSD.org>
> CommitDate: 2023-12-08 15:02:42 +0000
> 
>     net-mgmt/gping: Fix build with rust 1.74
>     

[snip]

This breaks net-mgmt/gping:

# make patch | tail -20
=> SHA256 Checksum OK for rust/crates/windows_i686_gnu-0.48.5.crate.
=> SHA256 Checksum OK for rust/crates/windows_i686_msvc-0.48.5.crate.
=> SHA256 Checksum OK for rust/crates/windows_x86_64_gnu-0.48.5.crate.
=> SHA256 Checksum OK for rust/crates/windows_x86_64_gnullvm-0.48.5.crate.
=> SHA256 Checksum OK for rust/crates/windows_x86_64_msvc-0.48.5.crate.
=> SHA256 Checksum OK for rust/crates/winping-0.10.1.crate.
=> SHA256 Checksum OK for rust/crates/zerocopy-0.7.26.crate.
=> SHA256 Checksum OK for rust/crates/zerocopy-derive-0.7.26.crate.
=> SHA256 Checksum OK for orf-gping-gping-v1.16.0_GH0.tar.gz.
===>  Moving crates to /usr/ports/net-mgmt/gping/work/gping-gping-v1.16.0/cargo-crates
===>  Patching for gping-1.16.0_1
===>  Applying FreeBSD patches for gping-1.16.0_1 from /usr/ports/net-mgmt/gping/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to gping/src/main.rs.rej
===>  FAILED Applying FreeBSD patch-rust-1.74.0
===> FAILED to apply cleanly FreeBSD patch(es)  patch-rust-1.74.0
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/gping

Without the patch the port builds just fine.