net/mii-tool: fix kernel 4.9 compatibility
authorStijn Segers <redacted>
Fri, 27 Oct 2017 18:16:53 +0000 (20:16 +0200)
committerStijn Segers <redacted>
Fri, 27 Oct 2017 18:16:53 +0000 (20:16 +0200)
Signed-off-by: Stijn Segers <redacted>
net/mii-tool/Makefile
net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch [new file with mode: 0644]

index b14e8273b152c3c8faf4aa62d259ae63dbcb8af0..f67f1022d3c3d7a197ae8286f53cede2b33f2f60 100644 (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
diff --git a/net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch b/net/mii-tool/patches/001-mii-tool-4.9-compatibility.patch
new file mode 100644 (file)
index 0000000..2472b1c
--- /dev/null
@@ -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>
git clone https://git.99rst.org/PROJECT