mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
squashfs-tools: bump to version 4.7.2
Contains backported patch '0001-print_pager-add-missing-includes.patch' so we can remove it. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
6408f9ef6e
commit
a1562ef772
@@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=squashfs-tools
|
||||
PKG_VERSION:=4.7
|
||||
PKG_VERSION:=4.7.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
@@ -18,7 +18,7 @@ PKG_CPE_ID:=cpe:/a:squashfs-tools_project:squashfs-tools
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/plougher/squashfs-tools/tar.gz/${PKG_VERSION}?
|
||||
PKG_HASH:=f1605ef720aa0b23939a49ef4491f6e734333ccc4bda4324d330da647e105328
|
||||
PKG_HASH:=4672b5c47d9418d3a5ae5b243defc6d9eae8275b9771022247c6a6082c815914
|
||||
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -1,34 +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.
|
||||
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
squashfs-tools/print_pager.h | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- 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();
|
||||
Reference in New Issue
Block a user