1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 12:53:54 +02:00
openwrt-packages/utils/collectd/patches/700-disable-sys-capability-check.patch
Hannu Nyman 28747825df collectd: update to 5.12.0
Update collectd to version 5.12.0.

* Refresh patches
* Remove upstreamed patch 920-fix-ubi-data-source-type.patch
* Backport a patch from upstream to fix a missing define
  (920-backport-netlink-reg-noerror.patch)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-09-07 18:01:21 +03:00

16 lines
429 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -533,11 +533,7 @@ if test "x$ac_system" = "xLinux"; then
[have_cpuid_h="no (cpuid.h not found)"]
)
- AC_CHECK_HEADERS([sys/capability.h],
- [have_capability="yes"],
- [have_capability="no (<sys/capability.h> not found)"]
- )
-
+ have_capability="no"
if test "x$have_capability" = "xyes"; then
AC_CHECK_LIB([cap], [cap_get_proc],
[have_capability="yes"],