Merge pull request #4679 from heitbaum/ntfs-3g_update

ntfs-3g_update: update to 2017.3.23AR.5 (Advanced Release)
This commit is contained in:
CvH 2020-11-23 11:52:55 +01:00 committed by GitHub
commit 59085f2104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 32 deletions

View File

@ -1,12 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ntfs-3g_ntfsprogs"
PKG_VERSION="2017.3.23"
PKG_SHA256="3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5"
PKG_VERSION="2017.3.23AR.5"
PKG_SHA256="04ccf583b495806cefb71850e5899e50aed5e7bf23365259f2badaa9af21e5ed"
PKG_LICENSE="GPL"
PKG_SITE="http://www.ntfs-3g.org/"
PKG_URL="http://tuxera.com/opensource/$PKG_NAME-$PKG_VERSION.tgz"
PKG_SITE="https://jp-andre.pagesperso-orange.fr/"
PKG_URL="https://jp-andre.pagesperso-orange.fr/$PKG_NAME-$PKG_VERSION.tgz"
PKG_DEPENDS_TARGET="toolchain fuse libgcrypt"
PKG_LONGDESC="A NTFS driver with read and write support."
PKG_TOOLCHAIN="autotools"

View File

@ -1,28 +0,0 @@
From 801c894b3723ed6345982e0105b342ec119f81ee Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Sat, 16 Jun 2018 15:38:06 +0100
Subject: [PATCH] Fix for NTFS partitions mounted with Windows 10 Creators
Update
See: https://bugzilla.redhat.com/show_bug.cgi?id=1527231
---
libntfs-3g/volume.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libntfs-3g/volume.c b/libntfs-3g/volume.c
index 68b8ee1..d36c7d5 100644
--- a/libntfs-3g/volume.c
+++ b/libntfs-3g/volume.c
@@ -959,7 +959,8 @@ ntfs_volume *ntfs_device_mount(struct ntfs_device *dev, ntfs_mount_flags flags)
vol->mftmirr_size = l;
}
ntfs_log_debug("Comparing $MFTMirr to $MFT...\n");
- for (i = 0; i < vol->mftmirr_size; ++i) {
+ /* Windows 10 does not update the full $MFTMirr any more */
+ for (i = 0; (i < vol->mftmirr_size) && (i < FILE_first_user); ++i) {
MFT_RECORD *mrec, *mrec2;
const char *ESTR[12] = { "$MFT", "$MFTMirr", "$LogFile",
"$Volume", "$AttrDef", "root directory", "$Bitmap",
--
2.14.1