openwrt/package/network/services/lldpd/patches/001-disable_libcap.patch
Lucian Cristian cb30971a44 lldpd: update to 1.0.3
Support for CDP PD PoE

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-05-11 16:37:11 +02:00

18 lines
444 B
Diff

--- a/configure.ac 2019-04-30 17:04:53.542449926 +0300
+++ b/configure.ac 2019-04-30 17:06:26.974453867 +0300
@@ -244,7 +244,13 @@
# Third-party libraries
lldp_CHECK_LIBEVENT
-lldp_CHECK_LIBCAP
+
+#libcap is not a core package so disable this capability
+#lldp_CHECK_LIBCAP
+libcap_LIBS=
+libcap_CFLAGS=
+AC_SUBST([libcap_LIBS])
+AC_SUBST([libcap_CFLAGS])
# Compatibility with pkg.m4 < 0.27
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR],