diff --git a/package/sexpect/0001-Unconditionally-define-_GNU_SOURCE.patch b/package/sexpect/0001-Unconditionally-define-_GNU_SOURCE.patch deleted file mode 100644 index bb8b60f0c0..0000000000 --- a/package/sexpect/0001-Unconditionally-define-_GNU_SOURCE.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 7ef4ef027c5064502bba23869aed9d1595a4e301 Mon Sep 17 00:00:00 2001 -Message-ID: <7ef4ef027c5064502bba23869aed9d1595a4e301.1732873390.git.baruch@tkos.co.il> -From: Baruch Siach -Date: Fri, 29 Nov 2024 11:36:16 +0200 -Subject: [PATCH] Unconditionally define _GNU_SOURCE - -uClibc also uses _GNU_SOURCE to expose glibc compatible API extensions. -But toolchain built with uClibc don't define __gnu_linux__. This leads -to implicit declaration warnings at build time. With GCC 14 these -warnings become errors by default. - -For example: - -.../sexpect-2.3.14/server.c: In function 'expect_exact': -.../sexpect-2.3.14/server.c:630:17: error: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? - [-Wimplicit-function-declaration] - 630 | found = strcasestr(g.expbuf, g.conn.pass.pattern); - | ^~~~~~~~~~ - | strcasecmp - -Define _GNU_SOURCE unconditionally to fix the build. - -Upstream: https://github.com/clarkwang/sexpect/pull/40 -Signed-off-by: Baruch Siach ---- - main.c | 2 -- - pty.c | 2 -- - server.c | 2 -- - 3 files changed, 6 deletions(-) - -diff --git a/main.c b/main.c -index 886050a887c1..2bc7c867e297 100644 ---- a/main.c -+++ b/main.c -@@ -1,7 +1,5 @@ - --#if defined(__gnu_linux__) || defined(__CYGWIN__) - #define _GNU_SOURCE --#endif - - #include - #include -diff --git a/pty.c b/pty.c -index bf4f6e99805e..f90325d87c77 100644 ---- a/pty.c -+++ b/pty.c -@@ -1,7 +1,5 @@ - --#if defined(__gnu_linux__) || defined(__CYGWIN__) - #define _GNU_SOURCE --#endif - - #include - #include -diff --git a/server.c b/server.c -index c7e41e0a7dc4..308852f08089 100644 ---- a/server.c -+++ b/server.c -@@ -1,7 +1,5 @@ - --#if defined(__gnu_linux__) || defined(__CYGWIN__) - #define _GNU_SOURCE --#endif - - #include - #include --- -2.45.2 - diff --git a/package/sexpect/sexpect.hash b/package/sexpect/sexpect.hash index d512117626..ce1232de82 100644 --- a/package/sexpect/sexpect.hash +++ b/package/sexpect/sexpect.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 f6801c8b979d56eec54aedd7ede06e2342f382cee291beea88b52869186c557c sexpect-2.3.14.tar.gz +sha256 44f5711aa99f3ccf9c4b0edfcd9a7d25fa64b442574624ce451713d1532c1a7e sexpect-2.3.15.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE diff --git a/package/sexpect/sexpect.mk b/package/sexpect/sexpect.mk index 7b878600e4..bbc84c1ca6 100644 --- a/package/sexpect/sexpect.mk +++ b/package/sexpect/sexpect.mk @@ -4,7 +4,7 @@ # ################################################################################ -SEXPECT_VERSION = 2.3.14 +SEXPECT_VERSION = 2.3.15 SEXPECT_SITE = $(call github,clarkwang,sexpect,v$(SEXPECT_VERSION)) SEXPECT_LICENSE = GPL-3.0 SEXPECT_LICENSE_FILES = LICENSE