]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
squashfs-tools: upgrade 4.7 -> 4.7.2
authorOsama Abdelkader <osama.abdelkader@gmail.com>
Mon, 18 Aug 2025 23:20:39 +0000 (01:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Aug 2025 20:47:33 +0000 (21:47 +0100)
Changes:
Fix build with non-static include
print_pager: make inline quoted_bs_char() static

Release notes:
https://github.com/plougher/squashfs-tools/releases/tag/4.7.2

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch [deleted file]
meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch [deleted file]
meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.2.bb [moved from meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb with 90% similarity]

diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch
deleted file mode 100644 (file)
index a15b621..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 05a895b3f996d1ac157d95b04980f5f047e7dbf7 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@arm.com>
-Date: Fri, 6 Jun 2025 15:23:07 +0100
-Subject: [PATCH] print_pager: add missing includes
-
-When building with musl:
-
-  print_pager.h:33:25: error: unknown type name 'pid_t'
-     33 | extern void wait_to_die(pid_t process);
-        |                         ^~~~~
-  print_pager.h:34:25: error: unknown type name 'pid_t'
-     34 | extern FILE *exec_pager(pid_t *process);
-        |                         ^~~~~
-
-print_pager.h uses pid_t and FILE, so add the required #includes to
-ensure that these are defined.
-
-Upstream-Status: Submitted [https://github.com/plougher/squashfs-tools/pull/314]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- squashfs-tools/print_pager.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/squashfs-tools/print_pager.h b/squashfs-tools/print_pager.h
-index c33d4d2e..f3e0da6c 100644
---- a/squashfs-tools/print_pager.h
-+++ b/squashfs-tools/print_pager.h
-@@ -30,6 +30,9 @@
- #define MORE_PAGER 2
- #define UNKNOWN_PAGER 3
-+#include <stdio.h>
-+#include <sys/types.h>
-+
- extern void wait_to_die(pid_t process);
- extern FILE *exec_pager(pid_t *process);
- extern int get_column_width();
--- 
-2.43.0
-
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch
deleted file mode 100644 (file)
index 0174163..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 4 Jun 2025 19:53:39 +0800
-Subject: [PATCH] thread: add the missing pthread.h header
-
-Fix build error on macos:
-
-In file included from mksquashfs_help.c:35:
-./thread.h:46:39: error: unknown type name 'pthread_mutex_t'; did you mean 'pthread_attr_t'?
-   46 | extern void wait_thread_idle(int tid, pthread_mutex_t *mutex);
-      |                                       ^~~~~~~~~~~~~~~
-      |                                       pthread_attr_t
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-
-Upstream-Status: Backport [b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- squashfs-tools/thread.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/squashfs-tools/thread.h b/squashfs-tools/thread.h
-index 5a22fc43..e56a58cf 100644
---- a/squashfs-tools/thread.h
-+++ b/squashfs-tools/thread.h
-@@ -22,6 +22,7 @@
-  *
-  * thread.h
-  */
-+#include <pthread.h>
- #define TRUE 1
- #define FALSE 0
similarity index 90%
rename from meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb
rename to meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.2.bb
index 8006f80aeef7ec6e2c666223495fc14775dd94d0..8bca98f41985258ad2cdb8c1ea7fdf84a48ade5e 100644 (file)
@@ -5,10 +5,8 @@ SECTION = "base"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master;tag=${PV} \
-           file://pid.patch \
-           file://thread.patch"
-SRCREV = "2e87d42ed089dc31990d83eeb07437b9d085d6d1"
+SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master;tag=${PV}"
+SRCREV = "99d23a31b471433c51e9c145aeba2ab1536e34df"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"