summaryrefslogtreecommitdiff
path: root/package/ethtool
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-09 09:45:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-09 09:45:47 +0200
commitf513c95ed78c5a73c64dff2282f28e326f509a05 (patch)
tree6e2d8bb5428c5d109ff96a973288ca040ab6733c /package/ethtool
parentdbf536c78a1130e2ada29fa008646ea26ccf41af (diff)
ethtool: update to 6.14
Diffstat (limited to 'package/ethtool')
-rw-r--r--package/ethtool/Makefile4
-rw-r--r--package/ethtool/patches/patch-netlink_msgbuff_c15
-rw-r--r--package/ethtool/patches/patch-netlink_permaddr_c14
3 files changed, 31 insertions, 2 deletions
diff --git a/package/ethtool/Makefile b/package/ethtool/Makefile
index 5360d31ee..ddf9ae9d8 100644
--- a/package/ethtool/Makefile
+++ b/package/ethtool/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ethtool
-PKG_VERSION:= 5.15
+PKG_VERSION:= 6.14
PKG_RELEASE:= 1
-PKG_HASH:= 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d
+PKG_HASH:= 9338bb00e492878d3bbe3cd2894e60db35813634c208db0b20f5c7ee84da69b1
PKG_DESCR:= display or change ethernet card settings
PKG_DEPENDS:= libmnl
PKG_BUILDDEP:= libmnl
diff --git a/package/ethtool/patches/patch-netlink_msgbuff_c b/package/ethtool/patches/patch-netlink_msgbuff_c
new file mode 100644
index 000000000..6c8338bb5
--- /dev/null
+++ b/package/ethtool/patches/patch-netlink_msgbuff_c
@@ -0,0 +1,15 @@
+--- ethtool-6.14.orig/netlink/msgbuff.c 2024-10-08 23:24:51.000000000 +0200
++++ ethtool-6.14/netlink/msgbuff.c 2025-04-09 09:16:53.367670289 +0200
+@@ -4,10 +4,12 @@
+ * Data structures and code for flexible message buffer abstraction.
+ */
+
++#define _BSD_SOURCE
+ #include <string.h>
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <stdint.h>
++#include <unistd.h>
+
+ #include "../internal.h"
+ #include "netlink.h"
diff --git a/package/ethtool/patches/patch-netlink_permaddr_c b/package/ethtool/patches/patch-netlink_permaddr_c
new file mode 100644
index 000000000..3230c13df
--- /dev/null
+++ b/package/ethtool/patches/patch-netlink_permaddr_c
@@ -0,0 +1,14 @@
+--- ethtool-6.14.orig/netlink/permaddr.c 2022-12-08 13:20:15.000000000 +0100
++++ ethtool-6.14/netlink/permaddr.c 2025-04-09 09:17:36.070462620 +0200
+@@ -4,9 +4,11 @@
+ * Implementation of "ethtool -P <dev>"
+ */
+
++#define _BSD_SOURCE
+ #include <errno.h>
+ #include <string.h>
+ #include <stdio.h>
++#include <unistd.h>
+ #include <linux/rtnetlink.h>
+ #include <linux/if_link.h>
+