From cb468f83d4681e2d00faa0ddacaeae84874ea6a7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Feb 2019 11:36:46 -0500 Subject: libz: patch: address inconsisten visibility definition of z_errmsg. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/libz-1.2.8.2015.12.26.local.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'patches') diff --git a/patches/libz-1.2.8.2015.12.26.local.patch b/patches/libz-1.2.8.2015.12.26.local.patch index 739acf47..fe647ba3 100644 --- a/patches/libz-1.2.8.2015.12.26.local.patch +++ b/patches/libz-1.2.8.2015.12.26.local.patch @@ -9,3 +9,14 @@ ln -fs libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.1 ln -fs libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so +diff -u a/zutil.h b/zutil.h +--- a/zutil.h 2015-12-21 17:11:08.000000000 -0500 ++++ b/zutil.h 2019-02-02 11:35:16.680927483 -0500 +@@ -21,6 +21,7 @@ + #include + #include + ++ZLIB_INTERNAL + extern const char * const z_errmsg[]; /* indexed by 2-zlib_error */ + + #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] -- cgit v1.2.3