Created attachment 495630 [details] Patch for github commit f9694097dd69354b03cb8af959094c7f260db0a1 The current zlib version has a bug, that affects amongst other applications net-wireless/unifi/unifi-5.5.20 (not available in main portage tree but in 2 overlays - see http://gpo.zugaina.org/net-wireless/unifi) Without the patch the website the unifi server delivers causes the browsers to show only content encoding/decoding errors. Patch @ Github: https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1 Bug Report @ Fedora/Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=1469424 Discussion @ Ubiquiti Networks: https://community.ubnt.com/t5/UniFi-Wireless/ERR-CONTENT-DECODING-FAILED-on-guest-portal-customisation/td-p/1903419 In the discussuon there is a linked patch. I've added this to the "files" subdirectory as "f9694097dd69354b03cb8af959094c7f260db0a1.patch" and added PATCHES=( "${FILESDIR}/f9694097dd69354b03cb8af959094c7f260db0a1.patch" ) to the ebuild and reemerged zlib. Now everything works!
Just noticed that the uploaded patch file contains some garbage and needs cleanup. Seems to works fine though even with the garbage header on top and bottom :-)
Fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4965144f442ee530185ad7106c30079ac3cacb5 Thank you for the report!