diff --git a/srcpkgs/ethtool/patches/stdint.patch b/srcpkgs/ethtool/patches/stdint.patch new file mode 100644 index 00000000000..cf9ae83c2b2 --- /dev/null +++ b/srcpkgs/ethtool/patches/stdint.patch @@ -0,0 +1,25 @@ +--- ./internal.h.orig ++++ ./internal.h +@@ -7,6 +7,7 @@ + #include "ethtool-config.h" + #endif + #include ++#include + #include + #include + #include +@@ -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" diff --git a/srcpkgs/ethtool/template b/srcpkgs/ethtool/template index 0f4ad8c3927..7bfdacbcd65 100644 --- a/srcpkgs/ethtool/template +++ b/srcpkgs/ethtool/template @@ -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 " 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