diff options
author | midipix <writeonce@midipix.org> | 2019-02-02 11:36:46 -0500 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-02-02 18:10:06 +0000 |
commit | cb468f83d4681e2d00faa0ddacaeae84874ea6a7 (patch) | |
tree | 6cb5edff529cb0e640f9325f7345519562790856 | |
parent | cc04592ed6324e04032d774dfda1281c54225873 (diff) | |
download | midipix_build-cb468f83d4681e2d00faa0ddacaeae84874ea6a7.tar.bz2 midipix_build-cb468f83d4681e2d00faa0ddacaeae84874ea6a7.tar.xz |
libz: patch: address inconsisten visibility definition of z_errmsg.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-rw-r--r-- | patches/libz-1.2.8.2015.12.26.local.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 <stdlib.h> + #include <string.h> + ++ZLIB_INTERNAL + extern const char * const z_errmsg[]; /* indexed by 2-zlib_error */ + + #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] |