This is the mail archive of the
mailing list for the Cygwin project.
Re: [PATCH cygport 2/3] Don't allow SRC_URI or PATCH_URI to depend on ARCH
On 02/05/2017 14:31, Andrew Schulman wrote:
The values which SRC_URI and PATCH_URI evaluate to should not change
depending on ARCH, as this will make the source package arch-dependent
In that case what's the right thing to do when we have arch-specific
patches? For example screen has one, for x86_64 only.
You could wrap C code in the patch in #ifdef __x86_64__ / #endif
However, looking at screen-terminfo-autoconf.patch, it would seem to be
entirely benign to use that on x86.
I don't quite understand how screen reliably builds on any x86_64
platform without that patch...