From 2fefd9b29269722094d7cd25aae06e5964f01189 Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Mon, 25 Mar 2019 13:03:36 +0000 Subject: testing/lldpd: fix ppc64le build break defining PATH_MAX --- testing/lldpd/APKBUILD | 4 +++- testing/lldpd/fix-ppc64le-pathmax.patch | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 testing/lldpd/fix-ppc64le-pathmax.patch (limited to 'testing/lldpd') diff --git a/testing/lldpd/APKBUILD b/testing/lldpd/APKBUILD index 811cac947e3..2c09330972a 100644 --- a/testing/lldpd/APKBUILD +++ b/testing/lldpd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista pkgname=lldpd pkgver=1.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Implementation of IEEE 802.1ab (LLDP) " url="http://vincentbernat.github.com/lldpd/" arch="all" @@ -17,6 +17,7 @@ subpackages="$pkgname-dev $pkgname-doc pkgusers="lldpd" pkggroups="lldpd" source="$pkgname-$pkgver.tar.gz::https://github.com/vincentbernat/$pkgname/archive/$pkgver.tar.gz + fix-ppc64le-pathmax.patch $pkgname.confd $pkgname.initd" builddir="$srcdir/$pkgname-$pkgver" @@ -81,5 +82,6 @@ zshcomp() { sha512sums="b2b69bb4447552bbf35364eb19cb7e01ea81a49913678b50ca56b7e331eb9fb0007049f0b7d01f910a9d6be433deac1ae3e2fffc97d69b1a4bc2176ebdb38b41 lldpd-1.0.3.tar.gz +a3a3972ce4cfa98d0de9d958adf18eebb19a442023b321477b3bb8ff3f8297a8708d5c8d70dae06165aac9369d09492d57ffa62e1527968d0c778a7f6fd9678b fix-ppc64le-pathmax.patch a2a4c85068a6b8b80c92fe56af7799a8b8cb2516e5a65b3ae4cb28f278e5acc72402da2a35f0c48a6048fd4a8536061142cafaa49a4bae8e52ca0a5d9ed38b4c lldpd.confd 8d88e2a21efee6389d4de4f1ce2fcc9da8bd8ab3cb5a2bf2d322bde577e255662d027688065282146b389b3b8076fb883897e600fd931bcdc30d757fc7191e34 lldpd.initd" diff --git a/testing/lldpd/fix-ppc64le-pathmax.patch b/testing/lldpd/fix-ppc64le-pathmax.patch new file mode 100644 index 00000000000..0fe0f095f59 --- /dev/null +++ b/testing/lldpd/fix-ppc64le-pathmax.patch @@ -0,0 +1,10 @@ +--- a/src/daemon/priv.c ++++ b/src/daemon/priv.c +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_LINUX_CAPABILITIES + #include -- cgit v1.2.3