summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2017-05-24 01:11:48 +0200
committerFabio Rossi <rossi.f@inwind.it>2017-05-24 01:11:48 +0200
commit1711b1a7f942f53e76ead20c3885814857db3fde (patch)
tree5080259cdb6b203802683e498494c9aa85c09119
parentFix support to kernel 4.9 and add 4.10 and 4.11 for old =vmware-modules-304 (diff)
downloadvmware-1711b1a7f942f53e76ead20c3885814857db3fde.tar.gz
vmware-1711b1a7f942f53e76ead20c3885814857db3fde.tar.bz2
vmware-1711b1a7f942f53e76ead20c3885814857db3fde.zip
Fix zlib.so loading with latest vmware version
-rw-r--r--app-emulation/vmware-player/vmware-player-12.5.6.5528349.ebuild7
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-12.5.6.5528349.ebuild7
2 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/vmware-player-12.5.6.5528349.ebuild b/app-emulation/vmware-player/vmware-player-12.5.6.5528349.ebuild
index 5375681..0ddef20 100644
--- a/app-emulation/vmware-player/vmware-player-12.5.6.5528349.ebuild
+++ b/app-emulation/vmware-player/vmware-player-12.5.6.5528349.ebuild
@@ -258,6 +258,13 @@ src_install() {
"${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1
fi
+ # bug 616958
+ # system libs don't work anymore with embedeed zlib because it doesn't support ZLIB_1.2.9,
+ # add this hack to bypass embedded zlib which is always loaded and required during startup
+ # of vmware since 12.5.x
+ dosym /$(get_libdir)/libz.so.1 \
+ "${VM_INSTALL_DIR}"/lib/vmware/lib/libz.so.1/libz.so.1
+
# install the ancillaries
insinto /usr
doins -r share
diff --git a/app-emulation/vmware-workstation/vmware-workstation-12.5.6.5528349.ebuild b/app-emulation/vmware-workstation/vmware-workstation-12.5.6.5528349.ebuild
index 73ad701..9fec09f 100644
--- a/app-emulation/vmware-workstation/vmware-workstation-12.5.6.5528349.ebuild
+++ b/app-emulation/vmware-workstation/vmware-workstation-12.5.6.5528349.ebuild
@@ -275,6 +275,13 @@ src_install() {
"${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1
fi
+ # bug 616958
+ # system libs don't work anymore with embedeed zlib because it doesn't support ZLIB_1.2.9,
+ # add this hack to bypass embedded zlib which is always loaded and required during startup
+ # of vmware since 12.5.x
+ dosym /$(get_libdir)/libz.so.1 \
+ "${VM_INSTALL_DIR}"/lib/vmware/lib/libz.so.1/libz.so.1
+
# install the ancillaries
insinto /usr
doins -r share