diff options
Diffstat (limited to 'main/collectd/gnu_source.patch')
-rw-r--r-- | main/collectd/gnu_source.patch | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/main/collectd/gnu_source.patch b/main/collectd/gnu_source.patch index e175150b77..1919d49f6f 100644 --- a/main/collectd/gnu_source.patch +++ b/main/collectd/gnu_source.patch @@ -1,15 +1,12 @@ -https://github.com/collectd/collectd/issues/1147 - -diff --git a/configure.ac b/configure.ac -index 6ee6e9a..a0e35b6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -49,6 +49,7 @@ AC_PROG_LEX - AC_PROG_YACC +define GNU_SOURCE so perl will be properly detected +--- ./configure.ac.orig ++++ ./configure.ac +@@ -67,6 +67,8 @@ + PKG_PROG_PKG_CONFIG +AC_GNU_SOURCE - AC_CHECK_PROG([have_protoc_c], [protoc-c], [yes], [no]) - AC_CHECK_HEADERS([google/protobuf-c/protobuf-c.h], - [have_protobuf_c_h="yes"], - ++ + AC_CACHE_CHECK([if bison is the parser generator], + [collectd_cv_prog_bison], + [AS_IF([$YACC --version 2>/dev/null | $EGREP -q '^bison '], |