Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94038 - net-misc/ntp: gentoo/freebsd compatibility
Summary: net-misc/ntp: gentoo/freebsd compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: SpanKY
URL: https://ntp.isc.org/bugs/show_bug.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-25 22:41 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
1 user (show)

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


Attachments
4.2.0.20040617-freebsd.patch (4.2.0.20040617-freebsd.patch,1.18 KB, patch)
2005-05-25 22:42 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 22:41:46 UTC
NTP needs the attached patch to compile clean on G/FreeBSD because EAI_NODATA isn't defined on FreeBSD kernel (it's said deprecated).

Also, the libcap dependency must be set in such a way:

linux_kernel? ( !nodroproot( sys-libs/libcap ) )

libcap is linux-specific and is needed and used only on Linux kernel.

Thanks in advance, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 22:42:13 UTC
Created attachment 59849 [details, diff]
4.2.0.20040617-freebsd.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-26 14:44:10 UTC
Thanks to vapier I committed that patch after reporting it upstream. I set the 
URL to the upstream bug.