aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2017-02-27 20:26:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-08 11:13:48 +0000
commit8b15b7bd10db83b3390827231b54aeb3452bcb6f (patch)
treecdfd7e1d239ac8ddf1bcbb5f2941bea53a742f98 /meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
parent2c126e704ebb58afc0d79fe220dc370e09d6bfd5 (diff)
downloadopenembedded-core-contrib-8b15b7bd10db83b3390827231b54aeb3452bcb6f.tar.gz
zlib: Upgrade 1.2.8 -> 1.2.11
Licence updated by removing its first line which was containing copyright notice including year, which could change quite often. Additional empty line was deleted, too. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch')
-rw-r--r--meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch b/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
new file mode 100644
index 0000000000..403b4825c9
--- /dev/null
+++ b/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
@@ -0,0 +1,20 @@
+
+When /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache
+(in my case libstdc++.so cannot be found after building zlib(-native) and I have to call
+touch */libstdc++.so && /sbin/ldconfig to fix it.
+
+So remove ldconfig call from make install-libs
+
+Upstream-Status: Inappropriate [disable feature]
+
+diff -uNr zlib-1.2.6.orig/Makefile.in zlib-1.2.6/Makefile.in
+--- zlib-1.2.6.orig/Makefile.in 2012-01-28 23:48:50.000000000 +0100
++++ zlib-1.2.6/Makefile.in 2012-02-13 15:38:20.577700723 +0100
+@@ -199,7 +199,6 @@
+ rm -f $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \
+ ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB); \
+ ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \
+- ($(LDCONFIG) || true) >/dev/null 2>&1; \
+ fi
+ cp zlib.3 $(DESTDIR)$(man3dir)
+ chmod 644 $(DESTDIR)$(man3dir)/zlib.3