Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions switch/ntfs-3g/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Maintainer: DarkMatterCore <pabloacurielz@gmail.com>

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/'
Expand All @@ -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

Expand All @@ -43,7 +43,7 @@ build() {
}

package() {
cd ntfs-3g_ntfsprogs-${pkgver}
cd ntfs-3g-${pkgver}

source /opt/devkitpro/switchvars.sh

Expand All @@ -54,5 +54,5 @@ package() {

rm -fr "${pkgdir}${PORTLIBS_PREFIX}/share"
}
sha256sums=('f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c'
'a37bd1ce5e8e9f8471bbc521a6e4b268d74db6d5ca07607fdab3b09084d5f415')
sha256sums=('7754f3b32e8baf9c472459b4e9c981e3ae0f5039107cdd8d8201aed0a949008a'
'06623754a0d35587a665e57f5d00bb5b2f0dd9c64ff87eef5955630bb10b6e44')
Original file line number Diff line number Diff line change
@@ -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 @@
Expand All @@ -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 @@
Expand Down