From c91650a05cc1b0de7ec338dc589caec656132d89 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Mar 2014 21:03:17 +0100 Subject: fix ethtool for musl --- package/ethtool/patches/patch-internal_h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/ethtool/patches/patch-internal_h (limited to 'package/ethtool/patches/patch-internal_h') diff --git a/package/ethtool/patches/patch-internal_h b/package/ethtool/patches/patch-internal_h new file mode 100644 index 000000000..ceb246c07 --- /dev/null +++ b/package/ethtool/patches/patch-internal_h @@ -0,0 +1,25 @@ +--- ethtool-3.13.orig/internal.h 2014-01-27 02:27:14.000000000 +0100 ++++ ethtool-3.13/internal.h 2014-03-22 20:49:34.000000000 +0100 +@@ -17,16 +17,16 @@ + + /* ethtool.h expects these to be defined by */ + #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 From 83d2d4b2a47526c67cd93d6a677e7b2c2d2f4d4c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 23 Mar 2014 13:49:35 +0100 Subject: fix uclibc compile --- package/ethtool/patches/patch-internal_h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'package/ethtool/patches/patch-internal_h') diff --git a/package/ethtool/patches/patch-internal_h b/package/ethtool/patches/patch-internal_h index ceb246c07..280f92ce7 100644 --- a/package/ethtool/patches/patch-internal_h +++ b/package/ethtool/patches/patch-internal_h @@ -1,6 +1,14 @@ --- ethtool-3.13.orig/internal.h 2014-01-27 02:27:14.000000000 +0100 -+++ ethtool-3.13/internal.h 2014-03-22 20:49:34.000000000 +0100 -@@ -17,16 +17,16 @@ ++++ ethtool-3.13/internal.h 2014-03-23 13:47:54.000000000 +0100 +@@ -7,6 +7,7 @@ + #include "ethtool-config.h" + #endif + #include ++#include + #include + #include + #include +@@ -17,16 +18,16 @@ /* ethtool.h expects these to be defined by */ #ifndef HAVE_BE_TYPES -- cgit v1.2.3