~ruther/guix-local

29328f4dc01b887d764af2455122d3ea72675e52 — Ian Eure 5 months ago c675318
gnu: collectd: Fix build.

The collectd build [has been broken since September
16th](https://ci.guix.gnu.org/build/14313836/details).

* gnu/packages/monitoring.scm (collectd): Fix the build.
[inputs]: Add zlib.
[#:configure-flags]: Treat use of deprecated declarations as warnings.

Change-Id: I5b3f8883179256fa5aeef2f450793dfce4e28bfa
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/monitoring.scm
M gnu/packages/monitoring.scm => gnu/packages/monitoring.scm +3 -2
@@ 841,14 841,15 @@ devices.")
              (patches (search-patches "collectd-5.11.0-noinstallvar.patch"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc")
     `(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc"
                               "CFLAGS=-Wno-error=deprecated-declarations")
       #:phases (modify-phases %standard-phases
                  (add-before 'configure 'autoreconf
                    (lambda _
                      ;; Required because of patched sources.
                      (invoke "autoreconf" "-vfi"))))))
    (inputs
     (list rrdtool curl yajl))
     (list rrdtool curl yajl zlib))
    (native-inputs
     (list autoconf automake libtool pkg-config))
    (home-page "https://collectd.org/")