[Buildroot] [PATCH 1/1] package/libgsm: bump version to 1.0.23
Bernd Kuhls
bernd at kuhls.net
Sat Oct 4 12:28:03 UTC 2025
Removed patch which is included in this release.
Added sha256 hash provided by upstream.
Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
.../0002-Fix-signal-handler-prototype.patch | 61 -------------------
package/libgsm/libgsm.hash | 3 +-
package/libgsm/libgsm.mk | 2 +-
3 files changed, 3 insertions(+), 63 deletions(-)
delete mode 100644 package/libgsm/0002-Fix-signal-handler-prototype.patch
diff --git a/package/libgsm/0002-Fix-signal-handler-prototype.patch b/package/libgsm/0002-Fix-signal-handler-prototype.patch
deleted file mode 100644
index c28cf584a1..0000000000
--- a/package/libgsm/0002-Fix-signal-handler-prototype.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 7ffab0a5028f0bfcb864c2387f41b8d4eb33fb8e Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
-Date: Fri, 29 Aug 2025 17:27:55 +0200
-Subject: [PATCH] Fix signal handler prototype
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Recent versions of gcc, starting from gcc 15.x, are more picky about
-function prototypes, and that cause the following issue:
-
-usr/include/signal.h:93:23: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
-
-ultimately causing a build failure.
-
-This patch fixes that by ensuring the signal handler has the right
-prototype. The onintr() function is not only used as a signal handler,
-but also on memory allocation failure, in which case a dummy value of
-0 is passed as argument, since anyway this value isn't used by
-onintr().
-
-Upstream: sent by e-mail to Jutta Degener <jutta at pobox.com>
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
----
- src/toast.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/toast.c b/src/toast.c
-index 05cd0b3..70a14ba 100644
---- a/src/toast.c
-+++ b/src/toast.c
-@@ -211,7 +211,7 @@ static char * suffix P2((name, suf), char *name, char * suf)
- }
-
-
--static void catch_signals P1((fun), SIGHANDLER_T (*fun) ())
-+static void catch_signals P1((fun), SIGHANDLER_T (*fun) (int))
- {
- #ifdef SIGHUP
- signal( SIGHUP, fun );
-@@ -230,7 +230,7 @@ static void catch_signals P1((fun), SIGHANDLER_T (*fun) ())
- #endif
- }
-
--static SIGHANDLER_T onintr P0()
-+static SIGHANDLER_T onintr P1((signo), int signo)
- {
- char * tmp = outname;
-
-@@ -253,7 +253,7 @@ static char * emalloc P1((len), size_t len)
- if (!(s = malloc(len))) {
- fprintf(stderr, "%s: failed to malloc %d bytes -- abort\n",
- progname, (int)len);
-- onintr();
-+ onintr(0);
- exit(1);
- }
- return s;
---
-2.50.1
-
diff --git a/package/libgsm/libgsm.hash b/package/libgsm/libgsm.hash
index b3a4702152..36d90d93bd 100644
--- a/package/libgsm/libgsm.hash
+++ b/package/libgsm/libgsm.hash
@@ -1,3 +1,4 @@
+# From https://www.quut.com/gsm/
+sha256 8b7591a85ac9adce858f2053005e6b2eb20c23b8b8a868dffb2969645fa323c0 gsm-1.0.23.tar.gz
# Locally computed
-sha256 f0072e91f6bb85a878b2f6dbf4a0b7c850c4deb8049d554c65340b3bf69df0ac gsm-1.0.22.tar.gz
sha256 81c68a3374937ed9b5e4929c709e81a2c4b35b5d1f450ecf8c473e2daea46ff6 COPYRIGHT
diff --git a/package/libgsm/libgsm.mk b/package/libgsm/libgsm.mk
index 1c7b860ece..0e5ae9da4a 100644
--- a/package/libgsm/libgsm.mk
+++ b/package/libgsm/libgsm.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBGSM_VERSION = 1.0.22
+LIBGSM_VERSION = 1.0.23
LIBGSM_SOURCE = gsm-$(LIBGSM_VERSION).tar.gz
LIBGSM_SITE = http://www.quut.com/gsm
LIBGSM_LICENSE = gsm
--
2.47.3
More information about the buildroot
mailing list