Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / veracrypt / fix-paths.patch
blob56b4fc483804a7b833ef210fc99845ec698b7d6c
1 diff --color --unified --recursive --text a/Core/VolumeCreator.h b/Core/VolumeCreator.h
2 --- a/Core/VolumeCreator.h 2021-06-20 20:54:50.725210056 +0300
3 +++ b/Core/VolumeCreator.h 2021-06-20 20:58:46.117742419 +0300
4 @@ -77,12 +77,12 @@
5 switch (fsType)
7 #if defined (TC_LINUX)
8 - case VolumeCreationOptions::FilesystemType::Ext2: return "mkfs.ext2";
9 - case VolumeCreationOptions::FilesystemType::Ext3: return "mkfs.ext3";
10 - case VolumeCreationOptions::FilesystemType::Ext4: return "mkfs.ext4";
11 - case VolumeCreationOptions::FilesystemType::NTFS: return "mkfs.ntfs";
12 - case VolumeCreationOptions::FilesystemType::exFAT: return "mkfs.exfat";
13 - case VolumeCreationOptions::FilesystemType::Btrfs: return "mkfs.btrfs";
14 + case VolumeCreationOptions::FilesystemType::Ext2: return "@ext2@";
15 + case VolumeCreationOptions::FilesystemType::Ext3: return "@ext3@";
16 + case VolumeCreationOptions::FilesystemType::Ext4: return "@ext4@";
17 + case VolumeCreationOptions::FilesystemType::NTFS: return "@ntfs@";
18 + case VolumeCreationOptions::FilesystemType::exFAT: return "@exfat@";
19 + case VolumeCreationOptions::FilesystemType::Btrfs: return "@btrfs@";
20 #elif defined (TC_MACOSX)
21 case VolumeCreationOptions::FilesystemType::MacOsExt: return "newfs_hfs";
22 case VolumeCreationOptions::FilesystemType::exFAT: return "newfs_exfat";