Bug 83736 - [PATCH] www/mgstat: fix build for GCC 3.4 by patching instead of using 3.3
Summary: [PATCH] www/mgstat: fix build for GCC 3.4 by patching instead of using 3.3
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 18:10 UTC by Rong-En Fan
Modified: 2005-07-19 21:57 UTC (History)
0 users

See Also:


Attachments
mgstat-0.11_3.patch (5.64 KB, patch)
2005-07-19 18:10 UTC, Rong-En Fan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rong-En Fan 2005-07-19 18:10:20 UTC
GCC 3.4 treats __FUNCTION__ as variable instead of constant
string, which differs to GCC 3.3. A better way to fix
is patching the source instead of installing GCC 3.3.
(It's a similar fix as ports/71239 did)

Added file(s):
- files/patch-gcc34

Generated with FreeBSD Port Tools 0.63
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-19 21:57:37 UTC
State Changed
From-To: open->closed

Committed, thanks!