HomeFreeBSD

sysutils/superiotool: fix build after pci after libpci 3.14.0 update

Description

sysutils/superiotool: fix build after pci after libpci 3.14.0 update

The libpci update introduced a C++ style comment ('//') into a header file.
superiotool uses very strict compilation flags (including -ansi), so its
build started to fail with:

/usr/local/include/pci/header.h:1691:45: error: // comments are not
allowed in this language [-Werror,-Wcomment]

Fix the problem by adding -Wno-comment exemption.

(cherry picked from commit a6a666b6946de9ce50f927c7a7bc1c15f2a9c5e6)

Details

Provenance
avgAuthored on Jul 2 2025, 7:47 AM
Parents
R11:ebdfc8132800: x11/gnome-shell-extensions: update to 47.6
Branches
Unknown
Tags
Unknown