Browse Source

net/mii-tool: fix kernel 4.9 compatibility

Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
lilik-openwrt-22.03
Stijn Segers 7 years ago
parent
commit
8b829cdbc1
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      net/mii-tool/Makefile
  2. +10
    -0
      net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch

+ 1
- 1
net/mii-tool/Makefile View File

@ -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
- 0
net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch View 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…
Cancel
Save