5cf55c
diff -up ./x86_64-redhat-linux-gnu/zzip/_config.h.orig ./x86_64-redhat-linux-gnu/zzip/_config.h
5cf55c
--- ./x86_64-redhat-linux-gnu/zzip/_config.h.orig	2018-02-01 22:13:36.593910695 +0200
5cf55c
+++ ./x86_64-redhat-linux-gnu/zzip/_config.h	2018-02-01 22:15:40.341476130 +0200
5cf55c
@@ -133,7 +133,11 @@
5cf55c
 
5cf55c
 /* whether the system defaults to 32bit off_t but can do 64bit when requested
5cf55c
    */
5cf55c
-/* #undef LARGEFILE_SENSITIVE */
5cf55c
+#if __WORDSIZE == 32
5cf55c
+#ifndef ZZIP_LARGEFILE_SENSITIVE 
5cf55c
+#define ZZIP_LARGEFILE_SENSITIVE  1 
5cf55c
+#endif
5cf55c
+#endif
5cf55c
 
5cf55c
 /* Define to the sub-directory in which libtool stores uninstalled libraries.
5cf55c
    */
5cf55c
@@ -183,8 +187,12 @@
5cf55c
 
5cf55c
 /* The number of bytes in type long */
5cf55c
 #ifndef ZZIP_SIZEOF_LONG 
5cf55c
+#if __WORDSIZE == 32
5cf55c
+#define ZZIP_SIZEOF_LONG  4
5cf55c
+#elif __WORDSIZE == 64
5cf55c
 #define ZZIP_SIZEOF_LONG  8 
5cf55c
 #endif
5cf55c
+#endif
5cf55c
 
5cf55c
 /* The number of bytes in type short */
5cf55c
 #ifndef ZZIP_SIZEOF_SHORT 
5cf55c
@@ -219,7 +227,11 @@
5cf55c
 #endif
5cf55c
 
5cf55c
 /* Number of bits in a file offset, on hosts where this is settable. */
5cf55c
-/* #undef _FILE_OFFSET_BITS */
5cf55c
+#if __WORDSIZE == 32
5cf55c
+#ifndef ZZIP__FILE_OFFSET_BITS 
5cf55c
+#define ZZIP__FILE_OFFSET_BITS  64 
5cf55c
+#endif
5cf55c
+#endif
5cf55c
 
5cf55c
 /* Define for large files, on AIX-style hosts. */
5cf55c
 /* #undef _LARGE_FILES */