busybox/tc-no-TCA_CBQ.patch
Thorsten Kukuk a4cb87b751 - Add patch to fix build on non-x86* architectures:
* busybox-1.37.0-fix-conditional-for-sha1_process_block64_shaNI.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=132
2024-10-07 09:03:13 +00:00

19 lines
409 B
Diff

--- busybox-1.36.1/networking/tc.c.old 2023-01-03 15:14:43.000000000 +0100
+++ busybox-1.36.1/networking/tc.c 2024-03-14 10:04:19.733155657 +0100
@@ -233,6 +233,7 @@
#endif
static int cbq_print_opt(struct rtattr *opt)
{
+#ifdef TCA_CBQ_MAX
struct rtattr *tb[TCA_CBQ_MAX+1];
struct tc_ratespec *r = NULL;
struct tc_cbq_lssopt *lss = NULL;
@@ -320,6 +321,7 @@
}
}
done:
+#endif
return 0;
}