summaryrefslogtreecommitdiff
path: root/filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
diff options
context:
space:
mode:
authoradam <adam>2014-05-19 12:22:06 +0000
committeradam <adam>2014-05-19 12:22:06 +0000
commit710cc368a0e4ba02e5481a339ef48b740dbeebd3 (patch)
tree1a4fa7a8bb103ede87204c2de0120aa00792525f /filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
parent9b0395a806cf461531e00b5cfbf05f192be2f3b3 (diff)
downloadpkgsrc-710cc368a0e4ba02e5481a339ef48b740dbeebd3.tar.gz
Changes 2014.2.15:
libntfs: added use of hd library to get the legacy BIOS geometry libntfs: switched to /proc/mounts for checking existing mounts libntfs: fixed usa checking by ntfsck on 4K sector disks libntfs: fixed processing compressed data beyond file size (Windows 8 compliance) libntfs: fixed expanding a resident attribute without inserting holes libntfs: allow DACLs to not have any ACE libntfs: ignore unmapped regions when checking whether sparse libntfs: upgraded the Win32 interface for use with ntfsprogs ntfsresize: enabled relocating the MFT when shrinking a volume ntfsresize: fixed trying to update the MFT and Bitmap on a test run ntfsresize: fixed updating all the MFT runs in a relocated MFT ntfsresize: set the backup boot sector when the size is reliable ntfsresize: reserved a single sector for the backup boot sector ntfsundelete: output the modification time when scanning files ntfsundelete: ported to Windows ntfsclone: fixed wiping fragmented metadata when creating a metadata image ntfsclone: allowed cloning a file system despite allocation errors ntfsclone: fixed bad copying of the backup boot sector ntfsclone: ported to Windows ntfsdecrypt: made compatible with libgrypt-1.6
Diffstat (limited to 'filesystems/libntfs/patches/patch-include_ntfs-3g_types.h')
-rw-r--r--filesystems/libntfs/patches/patch-include_ntfs-3g_types.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/filesystems/libntfs/patches/patch-include_ntfs-3g_types.h b/filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
new file mode 100644
index 00000000000..0dd5594dcd0
--- /dev/null
+++ b/filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
@@ -0,0 +1,21 @@
+$NetBSD: patch-include_ntfs-3g_types.h,v 1.1 2014/05/19 12:22:06 adam Exp $
+
+--- include/ntfs-3g/types.h.orig 2013-01-13 06:46:35.000000000 +0000
++++ include/ntfs-3g/types.h
+@@ -68,6 +68,16 @@ typedef sle64 leVCN;
+ typedef s64 LCN;
+ typedef sle64 leLCN;
+
++/* XXX For some reason, including sys/mount.h on osx defines TRUE and FALSE
++ * so clear them here.
++ */
++#ifdef FALSE
++#undef FALSE
++#endif
++#ifdef TRUE
++#undef TRUE
++#endif
++
+ /*
+ * The NTFS journal $LogFile uses log sequence numbers which are signed 64-bit
+ * values. We define our own type LSN, to allow for type checking and better