[Nix-dev] [Nix-commits] SVN commit: nix - r30307 - nixpkgs/trunk/pkgs/development/libraries/zlib

Lluís Batlle i Rossell viric at viric.name
Tue Nov 8 23:47:28 CET 2011


On Tue, Nov 08, 2011 at 11:15:51PM +0100, Lluís Batlle i Rossell wrote:
> On Tue, Nov 08, 2011 at 07:04:31PM +0100, Lluís Batlle i Rossell wrote:
> > > - Slackware also
> > > (http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/l/zlib/).
> > 
> > Their comment says:
> > The issue stems from
> > misuse of zlib by other libraries, but there's no other good place
> > to put this fix.
> > 
> > From this, I think it is not a zlib problem. Zlib worked in nixpkgs for more
> > than one year.
> 
> I think the cmake people may be using a GNU/Linux distribution that has a patch
> like that applied, instead of following the zlib guidelines.
> 
> I'd prefer to push a patch to cmake, than get a broad zlib patch into
> stdenv-updates. I'll take a look.

Ok, found the zlib-devel thread, with the final patch they comment:
http://mail.madler.net/pipermail/zlib-devel_madler.net/2011-June/002583.html

That patch includes, among others pieces, the ifdef/ifndef trick. Maybe we can
take directly that patch.

Regards,
Lluís


More information about the nix-dev mailing list