Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 398526 Details for
Bug 541518
app-admin/collectd-5.4.1-r1 - collectd.c:291:2: error: too few arguments to function ‘sg_init’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't link against libstatgrab when not required
link-against-libstatgrab-only-when-required_bugfix541518.patch (text/plain), 1.31 KB, created by
Thomas Deutschmann (RETIRED)
on 2015-03-09 15:18:23 UTC
(
hide
)
Description:
Don't link against libstatgrab when not required
Filename:
MIME Type:
Creator:
Thomas Deutschmann (RETIRED)
Created:
2015-03-09 15:18:23 UTC
Size:
1.31 KB
patch
obsolete
>diff --git a/app-admin/collectd/collectd-5.4.2.ebuild b/app-admin/collectd/collectd-5.4.2.ebuild >index 23d353b..26ded0e 100644 >--- a/app-admin/collectd/collectd-5.4.2.ebuild >+++ b/app-admin/collectd/collectd-5.4.2.ebuild >@@ -236,6 +236,7 @@ src_configure() { > memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver > wireless" > >+ local need_libstatgrab=0 > local libstatgrab_plugins="cpu disk interface load memory swap users" > local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}" > >@@ -271,6 +272,11 @@ src_configure() { > if has ${plugin} ${myos_plugins}; then > # ... and available in this os > myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})" >+ # ... must we link against libstatgrab? Bug #541518 >+ if use kernel_FreeBSD && has ${plugin} ${libstatgrab_plugins}; then >+ einfo "We must link against libstatgrab due to plugin \"${plugin}\" ..." >+ need_libstatgrab=1 >+ fi > else > # ... and NOT available in this os > if use collectd_plugins_${plugin}; then >@@ -291,6 +297,12 @@ src_configure() { > fi > done > >+ if [ "${need_libstatgrab}" -eq 1 ]; then >+ myconf+=" --with-libstatgrab" >+ else >+ myconf+=" --without-libstatgrab" >+ fi >+ > # Need JAVA_HOME for java. > if use collectd_plugins_java; then > myconf+=" --with-java=$(java-config -g JAVA_HOME)"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 541518
:
397606
| 398526