Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162497 Details for
Bug 107076
app-admin/collectd (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/collectd-4.4.2-ipvs.patch
collectd-4.4.2-ipvs.patch (text/plain), 1.60 KB, created by
Boian Berberov
on 2008-08-08 07:49:30 UTC
(
hide
)
Description:
files/collectd-4.4.2-ipvs.patch
Filename:
MIME Type:
Creator:
Boian Berberov
Created:
2008-08-08 07:49:30 UTC
Size:
1.60 KB
patch
obsolete
>--- configure.in.orig 2008-08-05 >+++ configure.in 2008-08-05 >@@ -50,6 +50,18 @@ > esac > AC_MSG_RESULT([$ac_system]) > >+if test "x$ac_system" = "xLinux" >+then >+ AC_ARG_VAR([KERNEL_DIR], [path to Linux kernel sources]) >+ if test -z "$KERNEL_DIR" >+ then >+ KERNEL_DIR="/lib/modules/`uname -r`/source" >+ fi >+ >+ KERNEL_CFLAGS="-I$KERNEL_DIR/include" >+ AC_SUBST(KERNEL_CFLAGS) >+fi >+ > # > # Checks for header files. > # >@@ -278,8 +290,13 @@ > have_ip_vs_h="no" > if test "x$ac_system" = "xLinux" > then >+ SAVE_CFLAGS=$CFLAGS >+ CFLAGS="$CFLAGS $KERNEL_CFLAGS" >+ > AC_CHECK_HEADERS(net/ip_vs.h, [have_net_ip_vs_h="yes"]) > AC_CHECK_HEADERS(ip_vs.h, [have_ip_vs_h="yes"]) >+ >+ CFLAGS=$SAVE_CFLAGS > fi > > # For quota module >@@ -1599,15 +1616,6 @@ > LDFLAGS=$SAVE_LDFLAGS > fi > >-if test "x$ac_system" = "xLinux" >-then >- AC_ARG_VAR([KERNEL_DIR], [path to Linux kernel sources]) >- if test -z "$KERNEL_DIR" >- then >- KERNEL_DIR="/lib/modules/`uname -r`/source" >- fi >-fi >- > with_own_libiptc="no" > AC_ARG_WITH(libiptc, [AS_HELP_STRING([--with-libiptc@<:@=PREFIX@:>@], [Path to libiptc.])], > [ >@@ -1653,7 +1661,7 @@ > if test "x$with_libiptc" = "xyes" > then > SAVE_CFLAGS=$CFLAGS >- CFLAGS="$CFLAGS -I$KERNEL_DIR/include" >+ CFLAGS="$CFLAGS $KERNEL_CFLAGS" > > AC_CHECK_HEADERS(linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h, [], > [ >--- src/Makefile.am.orig 2008-08-05 >+++ src/Makefile.am 2008-08-05 >@@ -311,6 +311,7 @@ > if BUILD_PLUGIN_IPVS > pkglib_LTLIBRARIES += ipvs.la > ipvs_la_SOURCES = ipvs.c >+ipvs_la_CFLAGS = $(KERNEL_CFLAGS) > ipvs_la_LDFLAGS = -module -avoid-version > collectd_LDADD += "-dlopen" ipvs.la > collectd_DEPENDENCIES += ipvs.la
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 107076
:
69154
|
69155
|
69156
|
69157
|
69171
|
69172
|
70664
|
70665
|
70667
|
71047
|
71048
|
71049
|
71050
|
71051
|
71274
|
72852
|
72853
|
74995
|
74996
|
74997
|
74998
|
74999
|
75109
|
75110
|
78563
|
78564
|
78565
|
78566
|
78567
|
79018
|
111075
|
111077
|
111079
|
123746
|
123749
|
146843
|
146845
|
146846
|
148498
|
150796
|
162497
|
162499
|
162500
|
162502
|
162586
|
217235
|
217390
|
241023