Subject: CVS commit: pkgsrc/pkgtools/libnbcompat/files
From: Tobias Nygren
Date: 2024-08-05 12:57:08
Message id: 20240805105709.013E9FC74@cvs.NetBSD.org

Log Message:
libnbcompat: fix chflags(2) issue on Linux

Linux does not have the chflags(2) syscall. Some versions of libc
have a stub that just returns ENOSYS. Not all versions of libc
have this stub so just avoid the potentially missing symbol
and return ENOSYS directly on Linux.

Files:
RevisionActionfile
1.5modifypkgsrc/pkgtools/libnbcompat/files/lchflags.c