Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install error about missing pc file #8

Closed
wants to merge 61 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7b3f71b
Change version number to 1.2.6.1.
madler Jan 30, 2012
5dac2aa
Avoid the use of the Objective-C reserved name "id".
madler Jan 30, 2012
3fb727c
Include io.h in gzguts.h for Microsoft compilers.
madler Jan 30, 2012
98e5787
Fix problem with ./configure --prefix and gzgetc macro.
madler Jan 31, 2012
a8d23bb
Include gz_header definition when compiling zlib solo.
madler Feb 2, 2012
55b8b5f
Put gzflags() functionality back in zutil.c.
madler Feb 2, 2012
f9e4edc
Avoid library header include in crc32.c for Z_SOLO.
madler Feb 2, 2012
2dadd2f
Use name in GCC_CLASSIC as C compiler for coverage testing, if set.
madler Feb 4, 2012
fc68b60
Minor cleanup in contrib/minizip/zip.c [Vollant].
madler Feb 4, 2012
9894494
Update make_vms.com [Zinser].
madler Feb 5, 2012
1a4ba8c
Remove unnecessary gzgetc_ function.
madler Feb 11, 2012
7d45cf5
Use optimized byte swap operations for Microsoft and GNU [Snyder].
madler Feb 11, 2012
75143f8
Fix minor typo in zlib.h comments [Rześniowiecki].
madler Feb 11, 2012
94acb3c
zlib 1.2.6.1
madler Feb 12, 2012
72e2c8f
Change version number to 1.2.7.
madler Feb 13, 2012
5bbdc12
Don't use built-in byte swaps if compiled solo.
madler Feb 13, 2012
eee7b9e
Remove unnecessary include for byte swap built-in [Bosmans].
madler Feb 14, 2012
455adc3
Expunge gzgetc_ from configuration files.
madler Feb 14, 2012
d1714a5
Replace use of memmove() with a simple copy for portability.
madler Feb 18, 2012
6838df9
Test for existence of strerror.
madler Feb 18, 2012
d81e721
Restore gzgetc_ for backward compatibility with 1.2.6.
madler Feb 18, 2012
6601033
Fix build with non-GNU make on Solaris.
edwintorok Feb 14, 2012
a75d6ea
Require gcc 4.0 or later on Mac OS X to use the hidden attribute.
madler Feb 18, 2012
10fca84
Include unistd.h for Watcom C.
madler Feb 18, 2012
d63c888
Use __WATCOMC__ instead of __WATCOM__.
madler Feb 19, 2012
8435052
Update version numbers and year in win32/README-WIN32.txt.
madler Feb 20, 2012
e6d2a84
Do not use the visibility attribute if NO_VIZ defined.
madler Feb 20, 2012
3f4339b
Improve the detection of no hidden visibility attribute.
madler Feb 20, 2012
80f3e39
Avoid using __int64 for gcc or solo compilation.
madler Feb 20, 2012
05de38d
Cast to char * in gzprintf to avoid warnings [Zinser].
madler Mar 3, 2012
513dfcc
Fix make_vms.com for VAX [Zinser].
madler Mar 3, 2012
2547c6c
Don't use library or built-in byte swaps.
madler Mar 3, 2012
dab7531
Simplify test and use of gcc hidden attribute.
madler Mar 3, 2012
53bfe01
Fix bug in gzclose_w() when gzwrite() fails to allocate memory.
madler Mar 3, 2012
755c41d
Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen().
madler Mar 3, 2012
41a18e1
Fix bug in test/minigzip.c for configure --solo.
madler Mar 4, 2012
e3ba2a1
Fix contrib/vstudio project link errors [Mohanathas].
madler Mar 4, 2012
2e04ce0
Make sure that O_EXCL is used portably.
madler Mar 4, 2012
2cd90d2
Add ability to choose the builder in make_vms.com [Schweda].
madler Mar 10, 2012
9f4d905
Add DESTDIR support to mingw32 win32/Makefile.gcc.
binki Mar 9, 2012
e2abd78
Avoid warnings when O_CLOEXEC or O_EXCL are not defined.
madler Mar 10, 2012
e076ca8
Fix comments in win32/Makefile.gcc for proper usage.
madler Mar 10, 2012
5d5befa
Update copyright years in gzlib.c.
madler Mar 11, 2012
f886792
Allow overriding the default install locations for cmake.
Mar 11, 2012
ca6e7a0
Generate and install the pkg-config file with cmake.
Mar 11, 2012
cd71ef3
Build both a static and a shared version of zlib with cmake.
Mar 11, 2012
c1e84b2
Include version symbols for cmake builds.
Mar 11, 2012
39c7ed1
If using cmake with MSVC, add the source directory to the includes.
Mar 12, 2012
142f051
Remove unneeded EXTRA_CFLAGS from win32/Makefile.gcc [Truta].
madler Mar 13, 2012
9c08a82
Move obsolete emx makefile to old [Truta].
madler Mar 13, 2012
8dc21b1
Allow the use of -Wundef when compiling or using zlib.
madler Mar 14, 2012
cb1c1a3
Avoid the use of the -u option with mktemp.
madler Mar 14, 2012
b18595d
Repair some damage caused by -Wundef allowance.
madler Mar 14, 2012
50a1738
Make sure that unistd.h is included before using _LFS64_LARGEFILE.
madler Mar 14, 2012
da32fd2
Improve inflate() documentation on the use of Z_FINISH.
madler Mar 14, 2012
a3881cc
Recognize clang as gcc.
madler Mar 15, 2012
dbe0bed
Add gzopen_w() in Windows for wide character path names.
madler Mar 17, 2012
49b5d79
Rename zconf.h in CMakeLists.txt to move it out of the way.
syntheticpp Mar 17, 2012
2c42538
Add source directory in CMakeLists.txt for building examples.
syntheticpp Mar 17, 2012
a1af6e9
Fix gzopen_w() type and add #include for the type.
madler Mar 18, 2012
e424b29
find generated pc file also in build dir
syntheticpp Mar 18, 2012
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 32 additions & 20 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)

project(zlib C)

if(NOT DEFINED BUILD_SHARED_LIBS)
option(BUILD_SHARED_LIBS "Build a shared library form of zlib" ON)
endif()
set(VERSION "1.2.7")

set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables")
set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers")
set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages")
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")

include(CheckTypeSize)
include(CheckFunctionExists)
Expand Down Expand Up @@ -56,23 +60,27 @@ if(MSVC)
set(CMAKE_DEBUG_POSTFIX "d")
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
endif()

if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
# If we're doing an out of source build and the user has a zconf.h
# in their source tree...
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h)
message(FATAL_ERROR
"You must remove ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h "
"from the source tree. This file is included with zlib "
"but CMake generates this file for you automatically "
"in the build directory.")
message(STATUS "Renaming")
message(STATUS " ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h")
message(STATUS "to 'zconf.h.included' because this file is included with zlib")
message(STATUS "but CMake generates it automatically in the build directory.")
file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.included)
endif()
endif()

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein
${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(ZLIB_PC ${CMAKE_CURRENT_BINARY_DIR}/zlib.pc)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zlib.pc.cmakein
${ZLIB_PC} @ONLY)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein
${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY)
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR})


#============================================================================
Expand Down Expand Up @@ -139,9 +147,9 @@ if(MINGW)
set(ZLIB_SRCS ${ZLIB_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
endif(MINGW)

add_library(zlib ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)

set_target_properties(zlib PROPERTIES SOVERSION 1)

if(NOT CYGWIN)
Expand All @@ -157,23 +165,27 @@ endif()

if(UNIX)
# On unix-like platforms the library is almost always called libz
set_target_properties(zlib PROPERTIES OUTPUT_NAME z)
set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)
set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,zlib.map")
elseif(BUILD_SHARED_LIBS AND WIN32)
# Creates zlib1.dll when building shared library version
set_target_properties(zlib PROPERTIES SUFFIX "1.dll")
endif()

if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL )
install(TARGETS zlib
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib )
install(TARGETS zlib zlibstatic
RUNTIME DESTINATION "${INSTALL_BIN_DIR}"
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
LIBRARY DESTINATION "${INSTALL_LIB_DIR}" )
endif()
if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL )
install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION include)
install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION "${INSTALL_INC_DIR}")
endif()
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
install(FILES zlib.3 DESTINATION "${INSTALL_MAN_DIR}/man3")
endif()
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
install(FILES zlib.3 DESTINATION share/man/man3)
install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}")
endif()

#============================================================================
Expand Down
17 changes: 17 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@

ChangeLog file for zlib

Changes in 1.2.7 (xx Feb 2012)
-

Changes in 1.2.6.1 (12 Feb 2012)
- Avoid the use of the Objective-C reserved name "id"
- Include io.h in gzguts.h for Microsoft compilers
- Fix problem with ./configure --prefix and gzgetc macro
- Include gz_header definition when compiling zlib solo
- Put gzflags() functionality back in zutil.c
- Avoid library header include in crc32.c for Z_SOLO
- Use name in GCC_CLASSIC as C compiler for coverage testing, if set
- Minor cleanup in contrib/minizip/zip.c [Vollant]
- Update make_vms.com [Zinser]
- Remove unnecessary gzgetc_ function
- Use optimized byte swap operations for Microsoft and GNU [Snyder]
- Fix minor typo in zlib.h comments [Rzesniowiecki]

Changes in 1.2.6 (29 Jan 2012)
- Update the Pascal interface in contrib/pascal
- Fix function numbers for gzgetc_ in zlibvc.def files
Expand Down
1 change: 1 addition & 0 deletions INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zlib.3 Man page for zlib
zlib.3.pdf Man page in PDF format
zlib.map Linux symbol information
zlib.pc.in Template for pkg-config descriptor
zlib.pc.cmakein zlib.pc template for cmake
zlib2ansi perl script to convert source files for C++ compilation

amiga/ makefiles for Amiga SAS C
Expand Down
12 changes: 6 additions & 6 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CPP=$(CC) -E

STATICLIB=libz.a
SHAREDLIB=libz.so
SHAREDLIBV=libz.so.1.2.6
SHAREDLIBV=libz.so.1.2.7
SHAREDLIBM=libz.so.1
LIBS=$(STATICLIB) $(SHAREDLIBV)

Expand All @@ -53,7 +53,6 @@ includedir = ${prefix}/include
mandir = ${prefix}/share/man
man3dir = ${mandir}/man3
pkgconfigdir = ${libdir}/pkgconfig
tempfile := $(shell mktemp -u __XXXXXX)

OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o
OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
Expand Down Expand Up @@ -228,10 +227,11 @@ zlib.3.pdf: zlib.3
groff -mandoc -f H -T ps zlib.3 | ps2pdf - zlib.3.pdf

zconf.h.cmakein: zconf.h.in
-@echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" > $(tempfile)
-@sed -f $(tempfile) zconf.h.in > zconf.h.cmakein
-@touch -r zconf.h.in zconf.h.cmakein
-@rm $(tempfile)
-@ TEMPFILE=`mktemp __XXXXXX`; \
echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" >> $$TEMPFILE &&\
sed -f $$TEMPFILE zconf.h.in > zconf.h.cmakein &&\
touch -r zconf.h.in zconf.h.cmakein &&\
rm $$TEMPFILE

zconf: zconf.h.in
cp -p zconf.h.in zconf.h
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ZLIB DATA COMPRESSION LIBRARY

zlib 1.2.6 is a general purpose data compression library. All the code is
zlib 1.2.7 is a general purpose data compression library. All the code is
thread safe. The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
Expand Down Expand Up @@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
issue of Dr. Dobb's Journal; a copy of the article is available at
http://marknelson.us/1997/01/01/zlib-engine/ .

The changes made in version 1.2.6 are documented in the file ChangeLog.
The changes made in version 1.2.7 are documented in the file ChangeLog.

Unsupported third party contributions are provided in directory contrib/ .

Expand Down
1 change: 0 additions & 1 deletion as400/bndsrc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
/********************************************************************/

EXPORT SYMBOL("gzgetc_")
EXPORT SYMBOL("gzflags")

/********************************************************************/
/* *MODULE INFLATE ZLIB 01/02/01 00:15:09 */
Expand Down
2 changes: 1 addition & 1 deletion as400/compile.clp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@
&MODLIB/TREES &MODLIB/UNCOMPR +
&MODLIB/ZUTIL) +
SRCFILE(&SRCLIB/&CTLFILE) SRCMBR(BNDSRC) +
TEXT('ZLIB 1.2.6') TGTRLS(&TGTRLS)
TEXT('ZLIB 1.2.7') TGTRLS(&TGTRLS)

ENDPGM
2 changes: 1 addition & 1 deletion as400/readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ZLIB version 1.2.6 for AS400 installation instructions
ZLIB version 1.2.7 for AS400 installation instructions

I) From an AS400 *SAVF file:

Expand Down
10 changes: 4 additions & 6 deletions as400/zlib.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
* ZLIB.INC - Interface to the general purpose compression library
*
* ILE RPG400 version by Patrick Monnerat, DATASPHERE.
* Version 1.2.6
* Version 1.2.7
*
*
* WARNING:
Expand All @@ -22,12 +22,12 @@
*
* Versioning information.
*
D ZLIB_VERSION C '1.2.6'
D ZLIB_VERNUM C X'1260'
D ZLIB_VERSION C '1.2.7'
D ZLIB_VERNUM C X'1270'
D ZLIB_VER_MAJOR C 1
D ZLIB_VER_MINOR C 2
D ZLIB_VER_REVISION...
D C 6
D C 7
D ZLIB_VER_SUBREVISION...
D C 0
*
Expand Down Expand Up @@ -442,6 +442,4 @@
D PR 10I 0 extproc('deflateResetKeep') End and init. stream
D strm like(z_stream) Expansion stream
*
D gzflags PR 10U 0 extproc('gzflags')
*
/endif
44 changes: 35 additions & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ else
}
fi

tryboth()
{
show $*
got=`( $* ) 2>&1`
ret=$?
printf %s "$got" >> configure.log
if test $ret -ne 0; then
return $ret
fi
test "$got" = ""
}

echo >> configure.log

cat > $test.c <<EOF
Expand All @@ -149,6 +161,7 @@ cflags=${CFLAGS-"-O3"}
# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
case "$cc" in
*gcc*) gcc=1 ;;
*clang*) gcc=1 ;;
esac
case `$cc -v 2>&1` in
*gcc*) gcc=1 ;;
Expand Down Expand Up @@ -367,6 +380,21 @@ EOF
fi
fi

echo >> configure.log

cat > $test.c <<EOF
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
EOF
if try $CC $CFLAGS -o $test $test.c; then
echo "Checking for strerror... Yes." | tee -a configure.log
else
CFLAGS="${CFLAGS} -DNO_STRERROR"
SFLAGS="${SFLAGS} -DNO_STRERROR"
echo "Checking for strerror... No." | tee -a configure.log
fi

cp -p zconf.h.in zconf.h

echo >> configure.log
Expand Down Expand Up @@ -416,6 +444,9 @@ fi

if test $cover -eq 1; then
CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage"
if test -n "$GCC_CLASSIC"; then
CC=$GCC_CLASSIC
fi
fi

echo >> configure.log
Expand All @@ -432,7 +463,6 @@ int main()
return 0;
}
EOF

if try $CC -c $CFLAGS $test.c; then
echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log

Expand Down Expand Up @@ -609,22 +639,18 @@ fi
if test "$gcc" -eq 1; then
echo >> configure.log
cat > $test.c <<EOF
#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33)
# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
#else
# define ZLIB_INTERNAL
#endif
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
EOF
if try $CC -c $CFLAGS $test.c; then
if tryboth $CC -c $CFLAGS $test.c; then
CFLAGS="$CFLAGS -DHAVE_HIDDEN"
SFLAGS="$SFLAGS -DHAVE_HIDDEN"
echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
else
CFLAGS="$CFLAGS -DNO_VIZ"
SFLAGS="$SFLAGS -DNO_VIZ"
echo "Checking for attribute(visibility) support... No." | tee -a configure.log
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion contrib/delphi/ZLib.pas
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const OutBuf: Pointer; BufSize: Integer);

const
zlib_version = '1.2.6';
zlib_version = '1.2.7';

type
EZlibError = class(Exception);
Expand Down
2 changes: 1 addition & 1 deletion contrib/dotzlib/DotZLib/UnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public class InfoTests
public void Info_Version()
{
Info info = new Info();
Assert.AreEqual("1.2.6", Info.Version);
Assert.AreEqual("1.2.7", Info.Version);
Assert.AreEqual(32, info.SizeOfUInt);
Assert.AreEqual(32, info.SizeOfULong);
Assert.AreEqual(32, info.SizeOfPointer);
Expand Down
4 changes: 2 additions & 2 deletions contrib/infback9/inftree9.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define MAXBITS 15

const char inflate9_copyright[] =
" inflate9 1.2.6 Copyright 1995-2012 Mark Adler ";
" inflate9 1.2.7 Copyright 1995-2012 Mark Adler ";
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
Expand Down Expand Up @@ -64,7 +64,7 @@ unsigned short FAR *work;
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
133, 133, 133, 133, 144, 203, 69};
133, 133, 133, 133, 144, 78, 68};
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
Expand Down
2 changes: 1 addition & 1 deletion contrib/minizip/configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT([minizip], [1.2.6], [bugzilla.redhat.com])
AC_INIT([minizip], [1.2.7], [bugzilla.redhat.com])
AC_CONFIG_SRCDIR([minizip.c])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
Expand Down
4 changes: 2 additions & 2 deletions contrib/minizip/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1115,9 +1115,9 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename,
zi->ci.flag = flagBase;
if ((level==8) || (level==9))
zi->ci.flag |= 2;
if ((level==2))
if (level==2)
zi->ci.flag |= 4;
if ((level==1))
if (level==1)
zi->ci.flag |= 6;
if (password != NULL)
zi->ci.flag |= 1;
Expand Down
4 changes: 2 additions & 2 deletions contrib/pascal/zlibpas.pas
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
interface

const
ZLIB_VERSION = '1.2.6';
ZLIB_VERNUM = $1260;
ZLIB_VERSION = '1.2.7';
ZLIB_VERNUM = $1270;

type
alloc_func = function(opaque: Pointer; items, size: Integer): Pointer;
Expand Down
Loading