[PATCH] Fix support with pciutils 2.2.4
Doug Goldstein
cardoe at gentoo.org
Tue Feb 20 16:20:42 PST 2007
Dan Nicholson wrote:
> On 2/20/07, Doug Goldstein <cardoe at gentoo.org> wrote:
>> New pciutils is now gzipping their pci.ids by default. As a result,
>> libpci needs to have zlib included along with it. I also took the
>> liberty of cleaning up the libpci check a little bit so there was not 2
>> fail cases.
>
> But is that the whole solution? As far as I can tell, hald isn't
> linked to libpci and just tries to open() and then mmap() pci.ids in
> pci_ids_load() in hald/ids.c. It has no ability to deal with gzipped
> data, AFAICT. I think only the macbook addon links to libpci.
>
> --
> Dan
>
>
No. It's a fix for libpci usage to be able to compile and detect libpci.
The fix for the mmap is to call some zlib functions first.
--
Doug Goldstein <cardoe at gentoo.org>
http://dev.gentoo.org/~cardoe/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20070220/b8db2838/signature.pgp
More information about the hal
mailing list