summaryrefslogtreecommitdiffhomepage
path: root/patches/libz-1.2.8.2015.12.26.local.patch
blob: fe647ba383c6006651d7173afc8dfa49c6eef238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- libz-1.2.8.2015.12.26/Makefile.in.orig	2015-12-21 22:12:17.000000000 +0000
+++ libz-1.2.8.2015.12.26/Makefile.in	2017-12-26 10:04:53.364000000 +0000
@@ -145,7 +145,7 @@
 
 install-shared-lib-so: libz.so
 	mkdir -p $(DESTDIR)$(libdir)
-	install -m 644 libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.$(VERSION)
+	install -m 755 libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.$(VERSION)
 	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)]