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: email@example.com
> > 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:
> The one on libc-alpha is not yet visible though. Let's see how these go.
Now visible at: