From 0beb155097f214a0a130ae9ea3d29cbaeaaf9484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 14 Aug 2018 20:37:24 +0200 Subject: [PATCH] collectd: unbreak musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/collectd/patches/gnu_source.patch | 14 ++++++++++++++ srcpkgs/collectd/template | 4 ---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/collectd/patches/gnu_source.patch diff --git a/srcpkgs/collectd/patches/gnu_source.patch b/srcpkgs/collectd/patches/gnu_source.patch new file mode 100644 index 00000000000..ac381e1f603 --- /dev/null +++ b/srcpkgs/collectd/patches/gnu_source.patch @@ -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], + [ diff --git a/srcpkgs/collectd/template b/srcpkgs/collectd/template index b65cc08c08f..5a9bc36eb42 100644 --- a/srcpkgs/collectd/template +++ b/srcpkgs/collectd/template @@ -27,10 +27,6 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="rrdtool perl" 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() { autoreconf -fi }