ethtool: update to 3.12.1.
This commit is contained in:
parent
0cdf360b68
commit
c33ae9f723
25
srcpkgs/ethtool/patches/stdint.patch
Normal file
25
srcpkgs/ethtool/patches/stdint.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- ./internal.h.orig
|
||||
+++ ./internal.h
|
||||
@@ -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>
|
||||
@@ -23,10 +24,10 @@
|
||||
#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"
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'ethtool'
|
||||
pkgname=ethtool
|
||||
version=3.11
|
||||
version=3.12.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
short_desc="Utility for controlling network drivers and hardware"
|
||||
@ -8,4 +8,4 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.kernel.org/pub/software/network/ethtool/"
|
||||
license="GPL-2"
|
||||
distfiles="http://www.kernel.org/pub/software/network/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
checksum=d53f5546196a95387f25c2f413d7537aad74b74a5c7b62f0aafd545f9e602fd4
|
||||
checksum=616ec632cddcba7240a23582b05380b69f1b359280e8db3fe3bb46498b621149
|
||||
|
Loading…
Reference in New Issue
Block a user