Bug 114427 - devel/gccxml: Allow port to build on -CURRENT
Summary: devel/gccxml: Allow port to build on -CURRENT
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: Volker Stolz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 09:10 UTC by Scot Hetzel
Modified: 2007-08-28 10:33 UTC (History)
0 users

See Also:


Attachments
file.diff (1.12 KB, patch)
2007-07-09 09:10 UTC, Scot Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2007-07-09 09:10:02 UTC
Since the import of GCC 4.2, this port will no longer build on -CURRENT.

Fix: Force the port to build with GCC 3.4 on OSVERSION >= 700042

See attached patch:

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/devel/gccxml
make build -DTRYBROKEN
:
Scanning dependencies of target genconstants
[ 11%] Building C object GCC/gcc/CMakeFiles/genconstants.dir/genconstants.o
[ 11%] Building C object GCC/gcc/CMakeFiles/genconstants.dir/rtl.o
[ 11%] Building C object GCC/gcc/CMakeFiles/genconstants.dir/read-rtl.o
/usr/ports/devel/gccxml/work/gccxml-0.6.0/GCC/gcc/read-rtl.c: In function 'read_rtx':
/usr/ports/devel/gccxml/work/gccxml-0.6.0/GCC/gcc/read-rtl.c:653: error: lvalue required as increment operand
*** Error code 1

Stop in /usr/ports/devel/gccxml/work/gccxml-build.
*** Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-09 09:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Over to maintainer
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2007-08-28 10:33:16 UTC
State Changed
From-To: open->closed

Fixed; thanks for the patch!