Magellan Linux

Annotation of /trunk/unzip/patches/unzip-5.52-fix_libz.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 640 byte(s)
-import

1 niro 153 Submitted By: BLFS Book <blfs-book@linuxfromscratch.org>
2     Date: 2003-10-03
3     Initial Package Version: 5.50
4     Origin: NA
5     Description: Fixes compilation against system zlib.
6    
7     $LastChangedBy: randy $
8     $Date: 2007-05-08 20:40:04 $
9    
10     diff -urN unzip-5.50/api.c unzip-5.50-rcl/api.c
11     --- unzip-5.50/api.c Thu Nov 22 23:43:26 2001
12     +++ unzip-5.50-rcl/api.c Sat Sep 28 14:31:51 2002
13     @@ -48,6 +48,11 @@
14     #endif
15     #include "unzvers.h"
16    
17     +/* This is defined as zlibVersion() in zlib.h version 1.1.4 */
18     +#ifdef zlib_version
19     +# undef zlib_version
20     +#endif
21     +
22     #ifdef DLL /* This source file supplies DLL-only interface code. */
23    
24     jmp_buf dll_error_return;