[Zlib-devel] zlib 1.2.3.5 available for testing
Martin Zinser
zinser at zinser.no-ip.info
Sun Jan 10 17:38:26 EST 2010
Hello,
ok, ok I won't tell you about my favorite vcs ;-)
Instead here is the build report of zlib 1.2.3.5 and minizip 1.1b on
OpenVMS.
Both need update build scripts for OpenVMS (also compared to the ones I
wrote about earlier, for zlib since new source files were added and for
minizip due to the 1.0 -> 1.1 transition.)
The files are available at
http://zinser.no-ip.info/www/tmp/zlib_vms_1235_11b.zip
Zlib did not require code changes, besides of the pointer issue with
branch that was discussed earlier on the list.
minizp requires some minor changes in the order of includes, to get the
_LARGEFILE64_SOURCE macro consistent.
The changed order does compile cleanly on Linux.
*** ioapi.h 2010-01-04 00:36:00.000000000 -0600
--- ioapi.h.new 2010-01-10 14:04:00.000000000 -0600
***************
*** 21,26 ****
--- 21,28 ----
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H
+ #include "zlib.h"
+
#ifndef _WIN32
// Linux needs this to support file operation on files larger then
4+GB
***************
*** 42,48 ****
#include <stdio.h>
#include <stdlib.h>
- #include "zlib.h"
#ifdef _MSC_VER
#define fopen64 fopen
--- 44,49 ----
*** miniunz.c 2010-01-07 11:08:38.000000000 -0600
--- miniunz.c.new 2010-01-10 13:23:32.000000000 -0600
***************
*** 12,17 ****
--- 12,19 ----
Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com
)
*/
+ #include "unzip.h"
+
#ifndef _WIN32
#ifndef __USE_FILE_OFFSET64
#define __USE_FILE_OFFSET64
***************
*** 42,48 ****
# include <io.h>
#endif
- #include "unzip.h"
#define CASESENSITIVITY (0)
#define WRITEBUFFERSIZE (8192)
--- 44,49 ----
*** minizip.c 2010-01-07 11:08:38.000000000 -0600
--- minizip.c.new 2010-01-10 13:31:10.000000000 -0600
***************
*** 12,17 ****
--- 12,18 ----
Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com
)
*/
+ #include "zip.h"
#ifndef _WIN32
#ifndef __USE_FILE_OFFSET64
***************
*** 45,51 ****
# include <io.h>
#endif
- #include "zip.h"
#ifdef _WIN32
#define USEWIN32IOAPI
--- 46,51 ----
Btw, Makefile for minizip on Unix does not process the test target
correctly, since this references a file named readme.txt, whic his not
part of minizip. This should be easy to fix ;-)
All the best,
Martin
More information about the Zlib-devel
mailing list