Due to changes in pciutils 2.2.0 (word and byte no more defined, pci_get_dev takes an extra domain argument) smcinit doesn't compile anymore. I'll attach the portage overlay dir I used to patch it (using domain 0), with ebuild versioned as 0.4-r1. Don't know if I did it the right way, it depends on pciutils >= 2.2.0 and is keyword masked for x86. I confirm that it works on my Toshiba Tecra M2 laptop.
Created attachment 75931 [details] Portage overlay with patch and ebuild to compile with pciutils-2.2.0
Please, don't attach tarballs... Plaintext patch (preferably unifies diff format) is all we need.
Created attachment 75935 [details, diff] smcinit patch for pciutils-2.2.0 Sorry, here's the patch, tell me if you want the ebuild too (I don't think so).
The build for smcinit has now been broken for over 8 months since pciutils 2.2.0 was made stable on most architectures. Could the patch please be integrated?
In Portage. Thanks for the submission, and sorry for the long wait!