From 4b56f6a9cee6e027ffe8ad8a3a7e9807a4795cee Mon Sep 17 00:00:00 2001 From: Lemmy Huang Date: Sun, 6 Jul 2025 16:57:02 +0800 Subject: [PATCH] fix 20.03 LTS build failed Signed-off-by: Lemmy Huang (cherry picked from commit afa8ef2c8d49384ab8fe83381268830a5ec7c619) --- 0193-fix-20.03-LTS-build-failed.patch | 25 +++++++++++++++++++++++++ lwip.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0193-fix-20.03-LTS-build-failed.patch diff --git a/0193-fix-20.03-LTS-build-failed.patch b/0193-fix-20.03-LTS-build-failed.patch new file mode 100644 index 0000000..9c1c28d --- /dev/null +++ b/0193-fix-20.03-LTS-build-failed.patch @@ -0,0 +1,25 @@ +From ebea70af688bb3a424457cdcc5447daecf720690 Mon Sep 17 00:00:00 2001 +From: Lemmy Huang +Date: Sun, 6 Jul 2025 16:53:09 +0800 +Subject: [PATCH] fix 20.03-LTS build failed + +Signed-off-by: Lemmy Huang +--- + src/include/arch/sys_arch.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/include/arch/sys_arch.h b/src/include/arch/sys_arch.h +index d70e776..d0189b5 100644 +--- a/src/include/arch/sys_arch.h ++++ b/src/include/arch/sys_arch.h +@@ -33,6 +33,7 @@ + #ifndef _LWIP_ARCH_SYS_ARCH_H_ + #define _LWIP_ARCH_SYS_ARCH_H_ + ++#include + #include + #include + #include +-- +2.33.0 + diff --git a/lwip.spec b/lwip.spec index be44ae1..aa76d0e 100644 --- a/lwip.spec +++ b/lwip.spec @@ -4,7 +4,7 @@ Summary: lwip is a small independent implementation of the TCP/IP protocol suite Name: lwip Version: 2.2.0 -Release: 71 +Release: 72 License: BSD URL: http://savannah.nongnu.org/projects/lwip/ Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip @@ -208,6 +208,7 @@ Patch9189: 0189-udp-fix-ip6_frag-nfb-and-last.patch Patch9190: 0190-udp-fix-recv_udp-sys_mbox_trypost-failed.patch Patch9191: 0191-sk_event-fix-rtw-epoll-wrong-event-notify-and-remove.patch Patch9192: 0192-tcp-reduce-TCP_SNDQUEUELOWAT-to-1800.patch +Patch9193: 0193-fix-20.03-LTS-build-failed.patch BuildRequires: gcc-c++ dos2unix dpdk-devel @@ -237,6 +238,9 @@ cd %{_builddir}/%{name}-%{version}/src %{_libdir}/liblwip.a %changelog +* Sun Jul 06 2025 LemmyHuang - 2.2.0-72 +- fix 20.03 LTS build failed + * Sat Jul 05 2025 LemmyHuang - 2.2.0-71 - tcp udp: merge RTW and RTC modes - mempool: supports async and sync memory modes -- Gitee