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

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



Hi!

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.

thanks,
guillem



Reply to: