diff options
| author | Ian Eure <ian@retrospec.tv> | 2025-11-16 13:13:04 -0800 |
|---|---|---|
| committer | Ian Eure <ian@retrospec.tv> | 2025-11-16 13:17:18 -0800 |
| commit | 29328f4dc01b887d764af2455122d3ea72675e52 (patch) | |
| tree | b48ab28feccb8d575aace6543eb3e35b1eb7aa18 /gnu/packages/monitoring.scm | |
| parent | c67531872853a5b48ed29d4f96399486e66ed6d2 (diff) | |
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
Diffstat (limited to 'gnu/packages/monitoring.scm')
| -rw-r--r-- | gnu/packages/monitoring.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 20fb84cf5b6..7da7716a9a8 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm | |||
| @@ -841,14 +841,15 @@ devices.") | |||
| 841 | (patches (search-patches "collectd-5.11.0-noinstallvar.patch")))) | 841 | (patches (search-patches "collectd-5.11.0-noinstallvar.patch")))) |
| 842 | (build-system gnu-build-system) | 842 | (build-system gnu-build-system) |
| 843 | (arguments | 843 | (arguments |
| 844 | `(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc") | 844 | `(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc" |
| 845 | "CFLAGS=-Wno-error=deprecated-declarations") | ||
| 845 | #:phases (modify-phases %standard-phases | 846 | #:phases (modify-phases %standard-phases |
| 846 | (add-before 'configure 'autoreconf | 847 | (add-before 'configure 'autoreconf |
| 847 | (lambda _ | 848 | (lambda _ |
| 848 | ;; Required because of patched sources. | 849 | ;; Required because of patched sources. |
| 849 | (invoke "autoreconf" "-vfi")))))) | 850 | (invoke "autoreconf" "-vfi")))))) |
| 850 | (inputs | 851 | (inputs |
| 851 | (list rrdtool curl yajl)) | 852 | (list rrdtool curl yajl zlib)) |
| 852 | (native-inputs | 853 | (native-inputs |
| 853 | (list autoconf automake libtool pkg-config)) | 854 | (list autoconf automake libtool pkg-config)) |
| 854 | (home-page "https://collectd.org/") | 855 | (home-page "https://collectd.org/") |
