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

Bug#547724: apt-get build-dep $PACKAGE doesn't handle build-dependencies with architecture wildcards



tags 547724 - patch
thanks

On Sa, 2010-06-26 at 19:15 +0200, Sebastian Andrzej Siewior wrote:
> tags 547724 + patch
> thanks
> 
> * Sebastian Andrzej Siewior | 2010-06-23 21:37:26 [+0200]:
> 
> >-i$arch" while resolving deps. So I guess I sneak some informations
> >during the build-process and hack the compare into
> >debListParser::ParseDepends().
> 
> The patch attached does the work.
Your patch does not make much sense. APT is written in C++, but you are
writing raw C code (and use different function naming style).

Furthermore, I think it should be much easier to support this than you
do in your patch. We just need to do replace 'any' in the architecture
wildcard by '*' and check if it matches the current arch or the current
arch prefixed by 'linux-' by calling fnmatch().

Regards,
Julian

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





Reply to: