1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-20 21:19:09 +00:00
termux-packages/packages/hfsutils/lfs.patch
Vladimir Serbinenko 73e4437907 hfsutils: New package.
This is a set of tools for manipulating of HFS images in userspace.
2017-08-10 02:11:42 +02:00

15 lines
308 B
Diff

Support >4GiB images. Based on Debian patch
--- hfsutils-3.2.6.orig/libhfs/os/unix.c
+++ hfsutils-3.2.6/libhfs/os/unix.c
@@ -19,6 +19,9 @@
* $Id: unix.c,v 1.8 1998/11/02 22:09:13 rob Exp $
*/
+#define _FILE_OFFSET_BITS 64
+#define _LARGE_FILES
+
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif