Bug 183295 - pciutils-2.2.6 needs minor fix to build on Gentoo/FreeBSD
Bug#: 183295 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: FreeBSD Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bsd@gentoo.org Reported By: gentoo@ndansmith.net
Component: FreeBSD
URL: 
Summary: pciutils-2.2.6 needs minor fix to build on Gentoo/FreeBSD
Keywords:  
Status Whiteboard: 
Opened: 2007-06-26 17:53 0000
Description:   Opened: 2007-06-26 17:53 0000
lspci.c in pciutils attempts to include alloca.h, which is not available. 
Removing that include allows it to build properly.

------- Comment #1 From N. Dan Smith 2007-06-26 17:54:53 0000 -------
Created an attachment (id=123129) [details]
lspci alloca.h patch

A one-liner to remove #include <alloca.h> from lspci.c

------- Comment #2 From Roy Marples (RETIRED) 2007-07-06 10:00:42 0000 -------
We need an extra #ifdef around this for __GLIBC__, otherwise it's good.

Fixed.