[Bug 269406] x11-wm/plasma5-kwin: fails on FreeBSD < 13 after Plasma 5.26 update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 8 11:34:54 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269406

            Bug ID: 269406
           Summary: x11-wm/plasma5-kwin: fails on FreeBSD < 13 after
                    Plasma 5.26 update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Regressed by ports d06d26f8c45e

FreeBSD < 13, DragonFly, NetBSD, OpenBSD don't support sealing. Neither Linux
nor FreeBSD support sealing regular files.

https://elixir.bootlin.com/linux/latest/A/ident/F_SEAL_WRITE
https://cgit.freebsd.org/src/commit/?id=af755d3e4859

src/utils/ramfile.cpp:80:17: error: use of undeclared identifier
'F_SEAL_SHRINK'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                ^
src/utils/ramfile.cpp:80:33: error: use of undeclared identifier 'F_SEAL_GROW'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                                ^
src/utils/ramfile.cpp:80:47: error: use of undeclared identifier 'F_SEAL_SEAL'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                                              ^
src/utils/ramfile.cpp:82:18: error: use of undeclared identifier 'F_SEAL_WRITE'
        seals |= F_SEAL_WRITE;
                 ^
src/utils/ramfile.cpp:85:21: error: use of undeclared identifier 'F_ADD_SEALS'
    if (fcntl(fd(), F_ADD_SEALS, seals) != 0) {
                    ^
src/utils/ramfile.cpp:139:35: error: use of undeclared identifier 'F_GET_SEALS'
    const int seals = fcntl(fd(), F_GET_SEALS);
                                  ^
src/utils/ramfile.cpp:141:21: error: use of undeclared identifier
'F_SEAL_WRITE'
        if (seals & F_SEAL_WRITE) {
                    ^
7 errors generated.

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


More information about the kde-freebsd mailing list