Subject: CVS commit: pkgsrc/security/libfido2
From: Taylor R Campbell
Date: 2024-02-10 04:10:53
Message id: 20240210031053.A7CDAFA42@cvs.NetBSD.org

Log Message:
security/libfido2: Fix NetBSD build, PR pkg/57919.

Patching away -Werror may be reasonable in general, but in this case
it breaks libfido2's detection of whether ioctl takes int or unsigned
long on NetBSD -- without -Werror, it wrongly concludes int, and
proceeds to build a libfido2 that casts every ioctl command to int
first, which leads to sign extension, which leads to the wrong ioctls
being passed into the kernel, which leads libfido2 to fail in any
attempts to open fido devices on NetBSD.

Files:
RevisionActionfile
1.14modifypkgsrc/security/libfido2/Makefile
1.11modifypkgsrc/security/libfido2/distinfo
1.2modifypkgsrc/security/libfido2/patches/patch-CMakeLists.txt