[PATCH 1/2 v2] Filter newlines from BUILD_REQUIRES
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Dec 3 19:39:47 GMT 2022
On Dec 3 18:07, Jon Turney via Cygwin-apps wrote:
> On 03/12/2022 16:19, Corinna Vinschen via Cygwin-apps wrote:
> > From: Corinna Vinschen <corinna-fFDxGeQsSAIb1SvskN2V4Q@public.gmane.org>
> >
> > BUILD_REQUIRES is added verbatim to the build-depends: line in
> > the *-src.hint file. If the cygport file defines BUILD_REQUIRES
> > with newlines, e. g.
> >
> > BUILD_REQUIRES="
> > a
> > b
> > "
> >
> > The -src.hint file is broken. Avoid this by filtering out any
> > newline's from BUILD_REQUIRES before using it in the subsequent
> > expression building the -src.hint file.
>
> Thanks.
>
> Attached is a patch I wrote taking a slightly more general approach.
Yeah, that looks much better to me.
Thanks,
Corinna
More information about the Cygwin-apps
mailing list