[Bug 281600] lang/rust failing to build on risc-v (again)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Sep 2025 19:06:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281600

--- Comment #59 from void@f-m.fm ---
(In reply to Mikael Urankar from comment #58)
Hi,

This still fails, same place, signal 12 bad system call (libc), all the other
targets fail the same way.

Just in case, can you please tell me the correct way to apply this patch?

This is what I did:

# cd /usr/ports
# wget "https://bz-attachments.freebsd.org/attachment.cgi?id=263430" -O
rust-libc.patch
# git apply rust-libc.patch (this generated the following errors which may or
may not be relevant):

rust-libc.patch:75: trailing whitespace.

rust-libc.patch:94: trailing whitespace.

rust-libc.patch:127: trailing whitespace.

rust-libc.patch:139: trailing whitespace.

rust-libc.patch:151: trailing whitespace.

warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

#

-- 
You are receiving this mail because:
You are on the CC list for the bug.