Bug 181839

Summary: Build failed for graphics/inventor 2.1.5.p10_7 during build with clang
Product: Ports & Packages Reporter: Christian Gusenbauer <c47g>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Christian Gusenbauer 2013-09-05 16:00:00 UTC
Both 32 and 64 bit builds are failing with that error:

ppp.c++:630:1: error: C++ requires a type specifier for all declarations
main(int, char *argv[])
^~~~
12 warnings and 1 error generated.
gmake[2]: *** [ppp.o] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/graphics/inventor/work/inventor/tools/ppp'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/graphics/inventor/work/inventor/tools'
gmake: *** [all] Error 1
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/inventor
===>  Cleaning for inventor-2.1.5.p10_7

Fix: Add the applied patch. Note, currently I do not have a current based box, so I could not test the patch, but I think that patch will solve the build problem.

Patch attached with submission follows:
How-To-Repeat: just build the port with clang
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-06 01:50:05 UTC
Class Changed
From-To: sw-bug->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-06 01:50:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:11:41 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 13:45:11 UTC
State Changed
From-To: open->closed

Superseded by ports/182900.