Bug 86953 - x86info 1.16 fails to compile on 4.11-STABLE
Summary: x86info 1.16 fails to compile on 4.11-STABLE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 18:40 UTC by jau
Modified: 2005-10-06 19:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jau 2005-10-05 18:40:16 UTC
      Soon after launching make there appear these error messages...

cc -O -pipe  -o x86info.o -c x86info.c
x86info.c: In function `main':
x86info.c:197: `_SC_NPROCESSORS_CONF' undeclared (first use in this function)
x86info.c:197: (Each undeclared identifier is reported only once
x86info.c:197: for each function it appears in.)
*** Error code 1

Stop in /opt/ports/sysutils/x86info/work/x86info-1.16.
*** Error code 1

Stop in /opt/ports/sysutils/x86info.

Fix: 

None known yet.
How-To-Repeat:       Try make on 4.11-STABLE.
Comment 1 Simon Barner freebsd_committer freebsd_triage 2005-10-05 21:16:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

I'll take it.
Comment 2 Simon Barner freebsd_committer freebsd_triage 2005-10-05 21:19:10 UTC
State Changed
From-To: open->feedback

Forwarded to maintainer.
Comment 3 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-05 21:47:59 UTC
Patch...

http://marcus.grupos.com.br:8080/patch/patch-x86info.c

-- 
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
  mnag(at)FreeBSD.org         |  FreeBSD.org
Comment 4 Simon Barner freebsd_committer freebsd_triage 2005-10-06 16:35:48 UTC
Responsible Changed
From-To: barner->ehaupt

Emanuel also did the recent update of this port.
Comment 5 Emanuel Haupt freebsd_committer freebsd_triage 2005-10-06 19:04:49 UTC
State Changed
From-To: feedback->closed

The patch provided by mnag fixed the build on 4.x. Patch added.  Thanks 
for pointing out.