iproute2: unbreak musl build.

This commit is contained in:
Juan RP 2015-03-17 16:24:40 +01:00
parent aeb80306a5
commit c700ecb9b3
2 changed files with 11 additions and 1 deletions

View file

@ -10,3 +10,13 @@ Don't redefine in6_addr due to including linux/in6.h; use netinet/in.h instead.
#define SYSFS_BRIDGE_ATTR "bridge"
#define SYSFS_BRIDGE_FDB "brforward"
--- include/utils.h.orig 2015-03-17 16:22:53.526187290 +0100
+++ include/utils.h 2015-03-17 16:23:57.390030763 +0100
@@ -1,6 +1,7 @@
#ifndef __UTILS_H__
#define __UTILS_H__ 1
+#include <sys/param.h> /* MAXPATHLEN */
#include <sys/types.h>
#include <asm/types.h>
#include <resolv.h>

View file

@ -1,7 +1,7 @@
# Template file for 'iproute2'
pkgname=iproute2
version=3.19.0
revision=2
revision=3
build_pie=yes
hostmakedepends="pkg-config perl flex"
makedepends="libfl-devel db-devel>=5.3 iptables-devel>=1.4.21"