diff --git a/zziplib-0.13.59-multilib.patch b/zziplib-0.13.59-multilib.patch index 0d9ee6f..f4b7a98 100644 --- a/zziplib-0.13.59-multilib.patch +++ b/zziplib-0.13.59-multilib.patch @@ -1,7 +1,7 @@ diff -Naupr zziplib-0.13.59.orig/zzip/_config.h zziplib-0.13.59/zzip/_config.h --- zziplib-0.13.59.orig/zzip/_config.h 2010-02-14 22:29:34.000000000 +0100 +++ zziplib-0.13.59/zzip/_config.h 2010-12-04 16:22:19.809534085 +0100 -@@ -133,7 +133,10 @@ +@@ -133,7 +133,11 @@ /* whether the system defaults to 32bit off_t but can do 64bit when requested */ @@ -9,6 +9,7 @@ diff -Naupr zziplib-0.13.59.orig/zzip/_config.h zziplib-0.13.59/zzip/_config.h +#if __WORDSIZE == 32 +#ifndef ZZIP_LARGEFILE_SENSITIVE +#define ZZIP_LARGEFILE_SENSITIVE 1 ++#endif +#endif /* Define to the sub-directory in which libtool stores uninstalled libraries. diff --git a/zziplib.spec b/zziplib.spec index f77bb1c..01e7aed 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,7 +1,7 @@ Summary: Lightweight library to easily extract data from zip files Name: zziplib Version: 0.13.59 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ or MPLv1.1 Group: Applications/Archiving URL: http://zziplib.sourceforge.net/ @@ -116,6 +116,9 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool %changelog +* Thu Dec 9 2010 Hans de Goede 0.13.59-2 +- Fix broken zzip/_config.h which causes apps using zziplib to fail to compile + * Sat Dec 4 2010 Matthias Saou 0.13.59-1 - Update to 0.13.59. - Remove no longer needed 'open' patch.