diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-19 22:42:02 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-19 22:42:02 -0500 |
commit | 1fa4c88ee21866eeb0feae8f6b0bf609a04711cc (patch) | |
tree | 99ddd7dc3d18f0fa1bf52220b1511d4e2a395032 /user/mac-fdisk/mac-fdisk-largerthan2gb.patch | |
parent | d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c (diff) | |
download | packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.gz packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.bz2 packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.xz packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.zip |
user/mac-fdisk: new package
Diffstat (limited to 'user/mac-fdisk/mac-fdisk-largerthan2gb.patch')
-rw-r--r-- | user/mac-fdisk/mac-fdisk-largerthan2gb.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/mac-fdisk/mac-fdisk-largerthan2gb.patch b/user/mac-fdisk/mac-fdisk-largerthan2gb.patch new file mode 100644 index 000000000..b33487ca9 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-largerthan2gb.patch @@ -0,0 +1,14 @@ +--- a/fdisk.h ++++ b/fdisk.h +@@ -2,6 +2,11 @@ + fdisk.h + */ + ++#ifdef __linux__ ++#define _FILE_OFFSET_BITS 64 ++#define _LARGE_FILES ++#endif ++ + #define SECTOR_SIZE 512 + #define NETBSD_PARTITION 0xa5 + #define cround(n) (((n) + display_factor * unit_flag) / display_factor) |