firmware-utils: update to version 2021-10-05
[openwrt/staging/dedeckeh.git] / package / utils / busybox / patches / 001-backport-fix-build-breakage-on-mips.patch
1 From 00adcdb64a5487f0ea6b400d912dcf7c58637696 Mon Sep 17 00:00:00 2001
2 From: Denys Vlasenko <vda.linux@googlemail.com>
3 Date: Fri, 20 Aug 2021 13:33:50 +0200
4 Subject: udhcp: fix build breakage on MIPS
5
6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
7 ---
8 networking/udhcp/common.h | 12 ------------
9 1 file changed, 12 deletions(-)
10
11 diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
12 index 8c678dd32..ca778dab8 100644
13 --- a/networking/udhcp/common.h
14 +++ b/networking/udhcp/common.h
15 @@ -304,18 +304,6 @@ void udhcp_dump_packet(struct dhcp_packet *packet) FAST_FUNC;
16 # define log3s(msg) ((void)0)
17 #endif
18
19 -#if defined(__mips__)
20 -/*
21 - * The 'simple' message functions have a negative impact on the size of the
22 - * DHCP code when compiled for MIPS, so don't use them in this case.
23 - */
24 -#define bb_simple_info_msg bb_info_msg
25 -#define bb_simple_error_msg bb_error_msg
26 -#define bb_simple_perror_msg_and_die bb_perror_msg_and_die
27 -#undef log1s
28 -#define log1s log1
29 -#endif
30 -
31 /*** Other shared functions ***/
32
33 /* 2nd param is "uint32_t*" */
34 --
35 cgit v1.2.3
36
37