Merge pull request #5011 from Borromini/mii-tool
mii-tool: fix kernel 4.9 compatibility
This commit is contained in:
commit
80c3c0bd2f
2 changed files with 11 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=mii-tool
|
||||
PKG_VERSION=2016-10-06-$(PKG_SOURCE_VERSION)
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code
|
||||
|
|
10
net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch
Normal file
10
net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/iptunnel.c 2016-07-10 20:15:29.000000000 +0200
|
||||
+++ b/iptunnel.c 2017-10-19 19:51:09.172782821 +0200
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <netinet/in.h>
|
||||
-#include <netinet/ip.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
Loading…
Reference in a new issue