diff --git a/packages/sysutils/fuse3/package.mk b/packages/sysutils/fuse3/package.mk index 02f8f80abc..c62ab2707e 100644 --- a/packages/sysutils/fuse3/package.mk +++ b/packages/sysutils/fuse3/package.mk @@ -2,8 +2,8 @@ # Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv) PKG_NAME="fuse3" -PKG_VERSION="3.14.1" -PKG_SHA256="126919d72b46b3e0eb58a9c6933a2a50c36f2ea69f61fe9e78bdba9f463ffa20" +PKG_VERSION="3.15.0" +PKG_SHA256="70589cfd5e1cff7ccd6ac91c86c01be340b227285c5e200baa284e401eea2ca0" PKG_LICENSE="GPL" PKG_SITE="https://github.com/libfuse/libfuse/" PKG_URL="https://github.com/libfuse/libfuse/releases/download/fuse-${PKG_VERSION}/fuse-${PKG_VERSION}.tar.xz" diff --git a/packages/sysutils/fuse3/patches/PR804-Wrapper-around-test-applications-for-cross-compiler-.patch b/packages/sysutils/fuse3/patches/PR804-Wrapper-around-test-applications-for-cross-compiler-.patch new file mode 100644 index 0000000000..295532cff1 --- /dev/null +++ b/packages/sysutils/fuse3/patches/PR804-Wrapper-around-test-applications-for-cross-compiler-.patch @@ -0,0 +1,39 @@ +From 6d21930baa4379023414706ce1750e0d729b99f0 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Mon, 12 Jun 2023 12:15:35 +0000 +Subject: [PATCH] Wrapper around test applications for cross compiler + environment in meson.build + +This enhances commit 7be56c57f93e3436b1fbd9ecc320de5c03a3e4b8 to allow build +fuse to be built using a cross compiler + +Fixes: +../meson.build:180:12: ERROR: Can not run test applications in this cross environment. +--- + meson.build | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/meson.build b/meson.build +index 7aa4e0d..9707ea3 100644 +--- a/meson.build ++++ b/meson.build +@@ -177,10 +177,12 @@ int main() + } + ''' + +-result = cc.run(detect_getmntent_needs_unescape) +-if result.compiled() and result.returncode() == 0 and result.stdout().strip() == 'needs escaping' +- message('getmntent does not unescape') +- add_project_arguments('-DGETMNTENT_NEEDS_UNESCAPING', language: 'c') ++if not meson.is_cross_build() ++ result = cc.run(detect_getmntent_needs_unescape) ++ if result.compiled() and result.returncode() == 0 and result.stdout().strip() == 'needs escaping' ++ message('getmntent does not unescape') ++ add_project_arguments('-DGETMNTENT_NEEDS_UNESCAPING', language: 'c') ++ endif + endif + + # Write private test results into fuse_config.h (stored in build directory) +-- +2.34.1 +