From c77c0a00aa465b49209603d6848a9f4ab84a4555 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 13 Jun 2015 21:30:24 +0200
Subject: update ethtool to latest stable version

---
 package/ethtool/Makefile                 |  6 +++---
 package/ethtool/patches/patch-internal_h | 33 --------------------------------
 2 files changed, 3 insertions(+), 36 deletions(-)
 delete mode 100644 package/ethtool/patches/patch-internal_h

(limited to 'package/ethtool')

diff --git a/package/ethtool/Makefile b/package/ethtool/Makefile
index b3d73d1d1..338959bf4 100644
--- a/package/ethtool/Makefile
+++ b/package/ethtool/Makefile
@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		ethtool
-PKG_VERSION:=		3.13
-PKG_RELEASE:=		2
-PKG_HASH:=		5a5657e213f100f4aa3f33ee5f5f5907fa3440fed41aae09d0cb21f9ad92e71f
+PKG_VERSION:=		4.0
+PKG_RELEASE:=		1
+PKG_HASH:=		904887acc7d2f9c35dec04eb0e8a727a3205f346af4f4c95560ea3798de5ecff
 PKG_DESCR:=		display or change ethernet card settings
 PKG_SECTION:=		net/misc
 PKG_SITES:=		https://www.kernel.org/pub/software/network/ethtool/
diff --git a/package/ethtool/patches/patch-internal_h b/package/ethtool/patches/patch-internal_h
deleted file mode 100644
index 280f92ce7..000000000
--- a/package/ethtool/patches/patch-internal_h
+++ /dev/null
@@ -1,33 +0,0 @@
---- ethtool-3.13.orig/internal.h	2014-01-27 02:27:14.000000000 +0100
-+++ ethtool-3.13/internal.h	2014-03-23 13:47:54.000000000 +0100
-@@ -7,6 +7,7 @@
- #include "ethtool-config.h"
- #endif
- #include <stdio.h>
-+#include <stdint.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/types.h>
-@@ -17,16 +18,16 @@
- 
- /* ethtool.h expects these to be defined by <linux/types.h> */
- #ifndef HAVE_BE_TYPES
--typedef __uint16_t __be16;
--typedef __uint32_t __be32;
-+typedef uint16_t __be16;
-+typedef uint32_t __be32;
- typedef unsigned long long __be64;
- #endif
- 
- typedef unsigned long long u64;
--typedef __uint32_t u32;
--typedef __uint16_t u16;
--typedef __uint8_t u8;
--typedef __int32_t s32;
-+typedef uint32_t u32;
-+typedef uint16_t u16;
-+typedef uint8_t u8;
-+typedef int32_t s32;
- 
- #include "ethtool-copy.h"
- #include "net_tstamp-copy.h"
-- 
cgit v1.2.3