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 0000000000000000000000000000000000000000..9c1c28d1963358b9e707fa441d47a24a0a862aa0 --- /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 be44ae1a06e8c0b42dab7e3357c54a3e74160065..aa76d0ec4cbc35bff031adc68c0f67c4951d5981 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