From 161db0f9441d8fbd4f5db91d1f868369d28ed6d6 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sun, 7 Jun 2026 23:33:53 +0200 Subject: [PATCH] ntfs-3g: update to 2026.2.25 --- switch/ntfs-3g/PKGBUILD | 16 ++++++------ ...022.10.3.patch => ntfs-3g-2026.2.25.patch} | 26 +++++++++++++++++-- 2 files changed, 32 insertions(+), 10 deletions(-) rename switch/ntfs-3g/{ntfs-3g-2022.10.3.patch => ntfs-3g-2026.2.25.patch} (50%) diff --git a/switch/ntfs-3g/PKGBUILD b/switch/ntfs-3g/PKGBUILD index 8424e5735..7be39b6e9 100644 --- a/switch/ntfs-3g/PKGBUILD +++ b/switch/ntfs-3g/PKGBUILD @@ -2,8 +2,8 @@ # Maintainer: DarkMatterCore pkgname=switch-ntfs-3g -pkgver=2022.10.3 -pkgrel=4 +pkgver=2026.2.25 +pkgrel=1 pkgdesc='An open source, freely available read/write NTFS driver' arch=('any') url='https://www.tuxera.com/community/open-source-ntfs-3g/' @@ -18,13 +18,13 @@ source=( ) prepare() { - cd ntfs-3g_ntfsprogs-${pkgver} + cd ntfs-3g-${pkgver} patch -Np1 -i ${srcdir}/ntfs-3g-${pkgver}.patch - sed -i 's#$(MAKE) $(AM_MAKEFLAGS) install-exec-hook#$(MAKE) $(AM_MAKEFLAGS)#' libntfs-3g/Makefile.in + sed -i 's#$(MAKE) $(AM_MAKEFLAGS) install-exec-hook#$(MAKE) $(AM_MAKEFLAGS)#' libntfs-3g/Makefile.in } build() { - cd ntfs-3g_ntfsprogs-${pkgver} + cd ntfs-3g-${pkgver} source /opt/devkitpro/switchvars.sh @@ -43,7 +43,7 @@ build() { } package() { - cd ntfs-3g_ntfsprogs-${pkgver} + cd ntfs-3g-${pkgver} source /opt/devkitpro/switchvars.sh @@ -54,5 +54,5 @@ package() { rm -fr "${pkgdir}${PORTLIBS_PREFIX}/share" } -sha256sums=('f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c' - 'a37bd1ce5e8e9f8471bbc521a6e4b268d74db6d5ca07607fdab3b09084d5f415') +sha256sums=('7754f3b32e8baf9c472459b4e9c981e3ae0f5039107cdd8d8201aed0a949008a' + '06623754a0d35587a665e57f5d00bb5b2f0dd9c64ff87eef5955630bb10b6e44') diff --git a/switch/ntfs-3g/ntfs-3g-2022.10.3.patch b/switch/ntfs-3g/ntfs-3g-2026.2.25.patch similarity index 50% rename from switch/ntfs-3g/ntfs-3g-2022.10.3.patch rename to switch/ntfs-3g/ntfs-3g-2026.2.25.patch index 1aa505561..c4e4310e0 100644 --- a/switch/ntfs-3g/ntfs-3g-2022.10.3.patch +++ b/switch/ntfs-3g/ntfs-3g-2026.2.25.patch @@ -1,5 +1,5 @@ diff --git a/include/ntfs-3g/ntfstime.h b/include/ntfs-3g/ntfstime.h -index f3a89dd8..80e163f8 100644 +index f3a89dd..80e163f 100644 --- a/include/ntfs-3g/ntfstime.h +++ b/include/ntfs-3g/ntfstime.h @@ -39,7 +39,7 @@ @@ -11,8 +11,30 @@ index f3a89dd8..80e163f8 100644 struct timespec { time_t tv_sec; long tv_nsec; +diff --git a/libntfs-3g/ea.c b/libntfs-3g/ea.c +index b86930a..4c0a6f4 100644 +--- a/libntfs-3g/ea.c ++++ b/libntfs-3g/ea.c +@@ -403,6 +403,8 @@ int ntfs_remove_ntfs_ea(ntfs_inode *ni) + return (res ? -1 : 0); + } + ++#ifndef DISABLE_PLUGINS ++ + /* + * Check for the presence of an EA "$LXDEV" (used by WSL) + * and return its value as a device address +@@ -467,6 +469,8 @@ int ntfs_ea_check_wsldev(ntfs_inode *ni, dev_t *rdevp) + return (res); + } + ++#endif /* DISABLE_PLUGINS */ ++ + int ntfs_ea_set_wsl_not_symlink(ntfs_inode *ni, mode_t type, dev_t dev) + { + le32 mode; diff --git a/libntfs-3g/ioctl.c b/libntfs-3g/ioctl.c -index b059a53f..a3a56722 100644 +index b059a53..a3a5672 100644 --- a/libntfs-3g/ioctl.c +++ b/libntfs-3g/ioctl.c @@ -48,7 +48,9 @@