[Bug 281182] www/firefox needs a rustix/src/backend/libc/fs/syscalls.rs patch analogous to the one under lang/rust/files/armv7/

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Sep 2024 08:07:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281182

            Bug ID: 281182
           Summary: www/firefox needs a
                    rustix/src/backend/libc/fs/syscalls.rs patch analogous
                    to the one under lang/rust/files/armv7/
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: marklmi26-fbsd@yahoo.com
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

For rust 1.79.0_1 vs. firefox 129.0.2_2 , the only difference needed
for the content of the patch files was the file path:

# diff
/usr/ports/lang/rust/files/armv7/patch-vendor_rustix_src_backend_libc_fs_syscalls.rs
/usr/ports/www/firefox/files/patch-third__party_rust_rustix_src_backend_libc_fs_syscalls.rs
| more
5,6c5,6
< --- vendor/rustix-0.38.28/src/backend/libc/fs/syscalls.rs.orig       
2024-05-06 16:29:17.182875000 +0200
< +++ vendor/rustix-0.38.28/src/backend/libc/fs/syscalls.rs     2024-05-06
16:29:48.897744000 +0200
---
> --- third_party/rust/rustix/src/backend/libc/fs/syscalls.rs.orig      2024-05-06 16:29:17.182875000 +0200
> +++ third_party/rust/rustix/src/backend/libc/fs/syscalls.rs   2024-05-06 16:29:48.897744000 +0200

But rust and firefox have progressed since then. However, a similar point
may well apply to the updated pair.

This will mat†er if someone ever tries to get armv7 firefox to build
(and work): This appears to be one of multiple things that are broken
for that context, one I happen to have figured out via a suggestion
someone made on a list.

-- 
You are receiving this mail because:
You are the assignee for the bug.