There are three conflicting patches for libgcc/config.host: (i) the
lang/gcc12 version which is applied for most platforms, (ii) one from
homebrew which is applied for Darwin/aarch64 (but should work for all
Darwin up to v23), and (iii) one intended to fix Darwin v24. This
commit applies these patches conditionally using distribution
patchsets so that they can be tested.
PATCHFILES= gcc-12.4.0-Darwin-x86_64.diff
PATCH_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles
.else # use a distribution patchset to avoid conflicts with above
-PATCHFILES= gcc-12.4.0-gcc-12.4.0-patch-libgcc_config.host
+PATCHFILES= gcc-12.4.0-patch-libgcc_config.host
PATCH_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles
.endif