mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
bridge-utils: update to 1.7.1.
This commit is contained in:
parent
a3e9e6a89d
commit
d4707ac322
3 changed files with 29 additions and 15 deletions
|
@ -1,11 +0,0 @@
|
|||
--- a/libbridge/Makefile.in
|
||||
+++ b/libbridge/Makefile.in
|
||||
@@ -5,7 +5,7 @@
|
||||
RANLIB=@RANLIB@
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS = -Wall -g $(KERNEL_HEADERS)
|
||||
+CFLAGS = @CFLAGS@ -Wall -g $(KERNEL_HEADERS)
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
26
srcpkgs/bridge-utils/patches/fix-PATH_MAX-musl.patch
Normal file
26
srcpkgs/bridge-utils/patches/fix-PATH_MAX-musl.patch
Normal file
|
@ -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"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bridge-utils'
|
||||
pkgname=bridge-utils
|
||||
version=1.6
|
||||
revision=2
|
||||
version=1.7.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
hostmakedepends="automake"
|
||||
|
@ -10,9 +10,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="https://wiki.linuxfoundation.org/networking/bridge"
|
||||
distfiles="${KERNEL_SITE}/utils/net/bridge-utils/bridge-utils-${version}.tar.xz"
|
||||
checksum=cc67efb5d5fb8928a6569b3fade2b4042ec17da04678dab127d96b46489e26c8
|
||||
checksum=a61d8be4f1a1405c60c8ef38d544f0c18c05b33b9b07e5b4b31033536165e60e
|
||||
|
||||
pre_configure() {
|
||||
sed "s/u_int\([0-9]*\)_t/uint\1_t/" -i libbridge/libbridge.h
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue