[Buildroot] [PATCH] package/sexpect: bump to version 2.3.15
Arnout Vandecappelle
arnout at rnout.be
Wed Oct 22 16:43:18 UTC 2025
In reply of:
> Drop upstream patch.
>
> Main change in this release is cmake 4 build fix.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Applied to 2025.02.x and 2025.08.x. Thanks
> ---
> ...1-Unconditionally-define-_GNU_SOURCE.patch | 69 -------------------
> package/sexpect/sexpect.hash | 2 +-
> package/sexpect/sexpect.mk | 2 +-
> 3 files changed, 2 insertions(+), 71 deletions(-)
> delete mode 100644 package/sexpect/0001-Unconditionally-define-_GNU_SOURCE.patch
>
> 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 bb8b60f0c0d9..000000000000
> --- 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 at tkos.co.il>
> -From: Baruch Siach <baruch at tkos.co.il>
> -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 <baruch at tkos.co.il>
> ----
> - 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 <fcntl.h>
> - #include <limits.h>
> -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 <string.h>
> - #include <stdio.h>
> -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 <assert.h>
> - #include <fcntl.h>
> ---
> -2.45.2
> -
> diff --git a/package/sexpect/sexpect.hash b/package/sexpect/sexpect.hash
> index d5121176269e..ce1232de82fe 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 7b878600e41f..bbc84c1ca6ec 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
> --
> 2.51.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
More information about the buildroot
mailing list