mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
collectd: unbreak musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
44bee38271
commit
0beb155097
2 changed files with 14 additions and 4 deletions
14
srcpkgs/collectd/patches/gnu_source.patch
Normal file
14
srcpkgs/collectd/patches/gnu_source.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#
|
||||||
|
# Define GNU_SOURCE so perl will be properly detected
|
||||||
|
#
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -48,6 +48,8 @@
|
||||||
|
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
+AC_GNU_SOURCE
|
||||||
|
+
|
||||||
|
AC_CACHE_CHECK([if Bison is the parser generator],
|
||||||
|
[collectd_cv_prog_bison],
|
||||||
|
[
|
|
@ -27,10 +27,6 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="rrdtool perl"
|
build_options_default="rrdtool perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/8355/steps/shell_3/logs/stdio" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue