|
Message-ID: <20110412144351.GH5881@erwin>
Date: Tue, 12 Apr 2011 16:43:51 +0200
From: Valentin Ochs <a@....de>
To: musl@...ts.openwall.com
Subject: Re: [compatibility] zsh, autoconf
On Tue, Apr 12, 2011 at 09:41:48AM -0400, Rich Felker wrote:
> > zsh:
> > - define HAVE_STRUCT_TIMEZONE in zsh's config.h (bleeping ./configure...)
> > I suspect that a few of these bugs are because autoconf doesn't detect
> > some types because of missing feature test macros, then it redefines
> > some crap and gcc pukes "error: two or more data types in declaration
> > specifiers" all over the place, resulting in more broken stuff! \o/
> > http://twitter.com/timmartin2/status/23365017839599616 got it right.
>
> "struct timezone" is legacy crap that's only defined if -D_GNU_SOURCE
> is used. It's probably the same issue as configure not detecting
> sigset_t etc.
It is.
> A better question would be: why are they using struct timezone? It is
> *absolutely* *useless*. Probably you should just submit a patch to
> remove it.
I just want to get the stuff to compile, not look through the software
and fix obsolete stuff :P
There's so much code that needs patches for musl, I'd need years if I
also fixed their other crap for them ;)
> > - needs to include <sys/resource.h>
> > - needs RLIM_NLIMITS, which is in asm-generic/resource.h, but not
> > resource.h
>
> This I can add - afaik RLIM_* is in the reserved namespace for
> sys/resource.h.
rlim_ and/or RLIMIT_ --- I guess you could let that
count.
--Valentin
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.