Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315265 - net-misc/dhcpcd: build failure on Gentoo/FreeBSD-8.0: duplicated closefrom()
Summary: net-misc/dhcpcd: build failure on Gentoo/FreeBSD-8.0: duplicated closefrom()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 14:07 UTC by Naohiro Aota
Modified: 2010-08-03 20:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2010-04-14 14:07:41 UTC
Both dhcpcd and FreeBSD-8.0 defines "closefrom", but in different prototypes. This cause the build failure.

We can avoid this error by changing the code of "configure". Upstream already have fixed the problem. Here is the commit. Could you apply the patch here?
http://roy.marples.name/projects/dhcpcd/changeset/8b5e971093a6fd97762af1a96d655b80054b1531

FYI, here is a post I've wrote to the upstream ML to describe the problem.
http://roy.marples.name/archives/dhcpcd-discuss/2010/0179.html


Reproducible: Always

Steps to Reproduce:
1.emerge dhcpcd on Gentoo/FreeBSD-8.0
2.
3.
Comment 1 Naohiro Aota gentoo-dev 2010-07-08 05:16:51 UTC
Please close this bug since new version (>5.2.2) already resolve this problem.
Comment 2 William Hubbs gentoo-dev 2010-08-03 20:14:23 UTC
This has been fixed.