[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631639: __unused in libbsd. workaround for #522773 (linux) and #522774 (libc)



On Mon, 2012-01-02 at 04:27:54 +0100, Guillem Jover wrote:
> On Sat, 2011-06-25 at 19:06:48 +0200, Robert Millan wrote:
> > Package: libbsd-dev
> > Version: 0.3.0-1
> > Severity: wishlist
> > Tags: patch
> > User: debian-bsd@lists.debian.org
> > Usertags: kfreebsd
> > 
> > This patch implements a workaround for __unused name collision with Linux and
> > Glibc.  The trick is to define __unused only when in overlay mode, and then
> > provide replacements for broken headers using the overlay.
> 
> I think this crosses my threshold of something acceptable for libbsd.
> What I've done instead is prepare and send patches to Linux and glibc
> upstream, which is the correct fix on this issue IMO:
> 
>   <http://marc.info/?l=linux-kernel&m=132547276312101&w=2>
>   <http://www.cygwin.com/ml/libc-ports/2012-01/msg00000.html>
> 
> The one on libc-alpha is not yet visible though. Let's see how these go.

Now visible at:

  <http://sourceware.org/ml/libc-alpha/2012-01/msg00001.html>

thanks,
guillem



Reply to: