Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183295 - pciutils-2.2.6 needs minor fix to build on Gentoo/FreeBSD
Summary: pciutils-2.2.6 needs minor fix to build on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 17:53 UTC by N. Dan Smith
Modified: 2007-07-06 10:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lspci alloca.h patch (lspci.c-alloca.patch,189 bytes, patch)
2007-06-26 17:54 UTC, N. Dan Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description N. Dan Smith 2007-06-26 17:53:43 UTC
lspci.c in pciutils attempts to include alloca.h, which is not available.  Removing that include allows it to build properly.
Comment 1 N. Dan Smith 2007-06-26 17:54:53 UTC
Created attachment 123129 [details, diff]
lspci alloca.h patch

A one-liner to remove #include <alloca.h> from lspci.c
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-07-06 10:00:42 UTC
We need an extra #ifdef around this for __GLIBC__, otherwise it's good.

Fixed.