Bug 99178 - [patch] to build security/gnupg-devel with gcc41
Summary: [patch] to build security/gnupg-devel with gcc41
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: Michael Nottebrock
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 12:20 UTC by Ron MacNeil
Modified: 2006-06-19 17:26 UTC (History)
0 users

See Also:


Attachments
file.diff (537 bytes, patch)
2006-06-19 12:20 UTC, Ron MacNeil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ron MacNeil 2006-06-19 12:20:22 UTC
There is an instance in security/gnupg-devel where the stpcpy function is static redefined, which gcc41 doesn't like and refuses to compile.

Fix: The following patch (obtained from gnupg cvs) adds an #ifndef HAVE_STPCPY check which fixes the problem and allows one to build the port with gcc41.  The patch should be added as a new patch file in the port's files/ subdirectory.

Love your work, guys.
Ron
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-06-19 12:24:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lofi

Over to maintainer
Comment 2 Michael Nottebrock freebsd_committer freebsd_triage 2006-06-19 17:25:40 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting!