94f4017
diff -rupN --no-dereference zlib-1.2.11/configure.ac zlib-1.2.11-new/configure.ac
94f4017
--- zlib-1.2.11/configure.ac	1970-01-01 01:00:00.000000000 +0100
94f4017
+++ zlib-1.2.11-new/configure.ac	2020-11-12 22:09:58.320508742 +0100
94f4017
@@ -0,0 +1,13 @@
94f4017
+#                                               -*- Autoconf -*-
94f4017
+# Process this file with autoconf to produce a configure script.
94f4017
+
94f4017
+AC_INIT([zlib], [1.2.11], [bugzilla.redhat.com])
94f4017
+AC_CONFIG_SRCDIR([gzlib.c])
94f4017
+AC_CONFIG_MACRO_DIR([m4])
94f4017
+AM_INIT_AUTOMAKE([foreign subdir-objects])
94f4017
+LT_INIT
94f4017
+
94f4017
+AC_SUBST([HAVE_UNISTD_H], [0])
94f4017
+AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], [])
94f4017
+AC_CONFIG_FILES([Makefile zlib.pc zconf.h:zconf.h.in])
94f4017
+AC_OUTPUT
94f4017
diff -rupN --no-dereference zlib-1.2.11/Makefile.am zlib-1.2.11-new/Makefile.am
94f4017
--- zlib-1.2.11/Makefile.am	1970-01-01 01:00:00.000000000 +0100
94f4017
+++ zlib-1.2.11-new/Makefile.am	2020-11-12 22:09:58.320508742 +0100
94f4017
@@ -0,0 +1,37 @@
2a1975b
+ACLOCAL_AMFLAGS = -I m4 --install
2a1975b
+
2a1975b
+lib_LTLIBRARIES = libz.la
2a1975b
+
2a1975b
+libz_la_SOURCES = \
2a1975b
+	adler32.c \
2a1975b
+	compress.c \
2a1975b
+	crc32.c \
2a1975b
+	crc32.h \
89656eb
+	gzclose.c \
89656eb
+	gzlib.c \
89656eb
+	gzread.c \
89656eb
+	gzwrite.c \
2a1975b
+	uncompr.c \
2a1975b
+	deflate.c \
2a1975b
+	deflate.h \
2a1975b
+	trees.c \
2a1975b
+	trees.h \
2a1975b
+	zutil.c \
2a1975b
+	zutil.h \
2a1975b
+	inflate.c \
2a1975b
+	inflate.h \
2a1975b
+	infback.c \
2a1975b
+	inftrees.c \
2a1975b
+	inftrees.h \
2a1975b
+	inffast.c \
2a1975b
+	inffast.h \
2a1975b
+	infflate.h
2a1975b
+
2a1975b
+# Use -version-number to match the file name used before autoconfiscation.
7335e33
+libz_la_LDFLAGS = -version-number 1:2:11 -no-undefined
2a1975b
+
2a1975b
+include_HEADERS = zlib.h
2a1975b
+nodist_include_HEADERS = zconf.h
2a1975b
+
2a1975b
+dist_man_MANS = zlib.3
2a1975b
+
94f4017
diff -rupN --no-dereference zlib-1.2.11/zlib.pc.in zlib-1.2.11-new/zlib.pc.in
94f4017
--- zlib-1.2.11/zlib.pc.in	2010-04-18 08:48:15.000000000 +0200
94f4017
+++ zlib-1.2.11-new/zlib.pc.in	2020-11-12 22:09:58.320508742 +0100
945b6d9
@@ -1,7 +1,6 @@
945b6d9
 prefix=@prefix@
945b6d9
 exec_prefix=@exec_prefix@
945b6d9
 libdir=@libdir@
945b6d9
-sharedlibdir=@sharedlibdir@
945b6d9
 includedir=@includedir@
945b6d9
 
945b6d9
 Name: zlib
94f4017
@@ -9,5 +8,5 @@ Description: zlib compression library
945b6d9
 Version: @VERSION@
945b6d9
 
945b6d9
 Requires:
945b6d9
-Libs: -L${libdir} -L${sharedlibdir} -lz
945b6d9
+Libs: -L${libdir} -lz
945b6d9
 Cflags: -I${includedir}