Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix][aix] debianutils succeeded!
Date: Wed, 11 Apr 2007 11:49:50
Message-Id: 1176292144.11181.38.camel@sapc154
In Reply to: Re: [gentoo-alt] [prefix][aix] debianutils succeeded! by Fabian Groffen
On Wed, 2007-04-11 at 12:35 +0200, Fabian Groffen wrote:
> On 11-04-2007 11:45:30 +0200, Michael Haubenwallner wrote: > > On Tue, 2007-04-10 at 21:30 +0200, Fabian Groffen wrote: > > > On 02-04-2007 16:41:44 +0200, Michael Haubenwallner wrote: > > > > Hi, > > > > > > > > now I've reworked my old patch and successfully emerged > > > > sys-apps/debianutils-2.17.5 > > > > > > the only drawback is that it breaks compilation on platforms that do > > > have getopt_long. > > > > Hmm, cannot see how this breaks linux - which platforms do you mean ? > > Darwin at least. > > > > I'll try and see if I can make a --with-included-getopt configure option > > > or something. > > > > That getopt_long.c should be empty if "HAVE_GETOPT_LONG" is true. > > hmm, then it is probably empty, but still has a redeclaration of the > used struct there as a conflicting type or something. debianutils do > work fine on Darwin, so I'll look more into it later.
Ah, yes. Maybe that "#ifndef HAVE_GETOPT_LONG" needs to be in getopt_long.h too... /haubi/ Salomon Automation GmbH - Friesachstra?e 15 - A-8114 Friesach bei Graz Sitz der Gesellschaft: Friesach bei Graz UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

Attachments

File name MIME type
debianutils-nogetopt-long.patch text/x-patch

Replies

Subject Author
Re: [gentoo-alt] [prefix][aix] debianutils succeeded! Fabian Groffen <grobian@g.o>