aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd/patches
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-04-30 17:32:47 +0300
committerChristian Lamparter <chunkeey@gmail.com>2019-05-11 16:37:11 +0200
commitcb30971a448f3af06163dfac6003b869e6dd0dfc (patch)
treeefe6b8ca1cd539d24a4a04b5daee272272495e43 /package/network/services/lldpd/patches
parent671d8752d1aeb3652714dcd817e8e1875b001c82 (diff)
downloadupstream-cb30971a448f3af06163dfac6003b869e6dd0dfc.tar.gz
upstream-cb30971a448f3af06163dfac6003b869e6dd0dfc.tar.bz2
upstream-cb30971a448f3af06163dfac6003b869e6dd0dfc.zip
lldpd: update to 1.0.3
Support for CDP PD PoE Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'package/network/services/lldpd/patches')
-rw-r--r--package/network/services/lldpd/patches/001-disable_libcap.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/network/services/lldpd/patches/001-disable_libcap.patch b/package/network/services/lldpd/patches/001-disable_libcap.patch
new file mode 100644
index 0000000000..850d493c6f
--- /dev/null
+++ b/package/network/services/lldpd/patches/001-disable_libcap.patch
@@ -0,0 +1,17 @@
+--- 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],