Browse Source

fix uclibc compile

Waldemar Brodkorb 10 years ago
parent
commit
83d2d4b2a4
2 changed files with 11 additions and 3 deletions
  1. 1 1
      package/ethtool/Makefile
  2. 10 2
      package/ethtool/patches/patch-internal_h

+ 1 - 1
package/ethtool/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		ethtool
 PKG_VERSION:=		3.13
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		dcb8f345d44ee79108282e7d0bdf5013
 PKG_DESCR:=		display or change ethernet card settings
 PKG_SECTION:=		net

+ 10 - 2
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 <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