[Bug 257072] sysutils/linuxfdisk sfdisk-linux -s cannot open /proc/partitions

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Jul 2021 08:06:33 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257072

--- Comment #1 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=f23c04a72db50cb8ce679caf4a7997cde166afdf

commit f23c04a72db50cb8ce679caf4a7997cde166afdf
Author:     Alexey Dokuchaev <danfe_at_FreeBSD.org>
AuthorDate: 2021-07-09 08:03:48 +0000
Commit:     Alexey Dokuchaev <danfe_at_FreeBSD.org>
CommitDate: 2021-07-09 08:03:42 +0000

    sysutils/linuxfdisk: use better PROC_PARTITIONS path on FreeBSD

    Originating from GNU/Linux, this code had naturally defined the
    PROC_PARTITIONS macro as "/proc/partitions", while we typically
    mount this file system under "/compat/linux/proc/partitions" on
    FreeBSD.  Fix two (out of four) definitions which appear in the
    generated executables, so e.g. `sfdisk-linux -s' would now work
    correctly so long as linprocfs(5) is mounted.  While at it, set
    the LICENSE (GPLv2+) and bump PORTREVISION so users could enjoy
    less buggy package.

    PR:     257072

 sysutils/linuxfdisk/Makefile            |  3 +++
 sysutils/linuxfdisk/files/patch-FreeBSD | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jul 09 2021 - 08:06:33 UTC

Original text of this message