aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2021-05-30 07:40:11 +0000
committerMilan P. Stanić <mps@arvanta.net>2021-06-02 06:46:42 +0000
commit12c9046eee3a0a35665dc4e280c1f5ae2af5845d (patch)
tree7aaa9c7bd0545b90c283e7f4aa5204f4b9fd0976
parent61d36a88e48719724930fa72128904ce6d9cbde4 (diff)
downloadaports-12c9046eee3a0a35665dc4e280c1f5ae2af5845d.tar.gz
aports-12c9046eee3a0a35665dc4e280c1f5ae2af5845d.tar.bz2
aports-12c9046eee3a0a35665dc4e280c1f5ae2af5845d.tar.xz
main/bridge-utils: upgrade to 1.7.1
add fix-PATH_MAX-on-ppc64le.patch to fix missing PATC_MAX on ppc64le
-rw-r--r--main/bridge-utils/APKBUILD10
-rw-r--r--main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch26
2 files changed, 33 insertions, 3 deletions
diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD
index de77c9f2b4..79de768e86 100644
--- a/main/bridge-utils/APKBUILD
+++ b/main/bridge-utils/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
-pkgver=1.7
+pkgver=1.7.1
pkgrel=0
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="https://wiki.linuxfoundation.org/networking/bridge/"
@@ -8,7 +8,8 @@ arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
makedepends="autoconf linux-headers"
-source="https://kernel.org/pub/linux/kernel/people/shemminger/bridge-utils/bridge-utils-$pkgver.tar.xz"
+source="https://git.kernel.org/pub/scm/network/bridge/bridge-utils.git/snapshot/bridge-utils-$pkgver.tar.gz
+ fix-PATH_MAX-on-ppc64le.patch"
prepare() {
default_prepare
autoconf
@@ -29,4 +30,7 @@ package() {
make install DESTDIR="$pkgdir"
}
-sha512sums="e9bc27bddcc8cb644a7e02da615e262b42c8600e5aefa5f02771882be9e8a50b33e533b8711c8591be3397b323c10056103e611f620b92f344ce6f59d603d301 bridge-utils-1.7.tar.xz"
+sha512sums="
+18aed40d36a0c3f7b461f7865a60b35c647e1ff9b0a854e857c8a4e3772163c49c6f99c9130443bedb382abbdced7dcfd4e812d21645b78e91c06c98e5e89305 bridge-utils-1.7.1.tar.gz
+da0bf3d108d178f4b99863b2ae97a170b2dac589669ed209435cb0d2d5e88eec0ea9f11dbb70d9f3511c38535236e5c24a069383f1ba893533812a1c7860372d fix-PATH_MAX-on-ppc64le.patch
+"
diff --git a/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch b/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch
new file mode 100644
index 0000000000..3fa75b9764
--- /dev/null
+++ b/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch
@@ -0,0 +1,26 @@
+Author: Milan P. Stanić <mps@arvanta.net>
+Date: Sun May 30 07:40:11 2021 +0000
+
+Fix missing PATH_MAX on ppc64le
+
+--- a/libbridge/libbridge_devif.c 2021-05-30 07:59:46.533574878 +0000
++++ b/libbridge/libbridge_devif.c 2021-05-30 08:01:09.964036452 +0000
+@@ -24,6 +24,7 @@
+ #include <string.h>
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+
+ #include "libbridge.h"
+ #include "libbridge_private.h"
+
+--- a/libbridge/libbridge_init.c 2021-05-30 08:00:15.983737797 +0000
++++ b/libbridge/libbridge_init.c 2021-05-30 08:00:49.573923635 +0000
+@@ -24,6 +24,7 @@
+ #include <dirent.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <limits.h>
+
+ #include "libbridge.h"
+ #include "libbridge_private.h"