Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631550 - sys-libs/zlib-1.2.11 needs patch f9694097dd69354b03cb8af959094c7f260db0a1
Summary: sys-libs/zlib-1.2.11 needs patch f9694097dd69354b03cb8af959094c7f260db0a1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-20 17:29 UTC by Gerald
Modified: 2017-10-02 09:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for github commit f9694097dd69354b03cb8af959094c7f260db0a1 (f9694097dd69354b03cb8af959094c7f260db0a1.patch,2.87 KB, application/mbox)
2017-09-20 17:29 UTC, Gerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald 2017-09-20 17:29:41 UTC
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!
Comment 1 Gerald 2017-09-20 17:31:38 UTC
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 :-)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-22 21:54:30 UTC
Fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4965144f442ee530185ad7106c30079ac3cacb5

Thank you for the report!