gcc12: switch to Homebrew patch on aarch64-darwin

We can presume that this patch is better tested and better maintained.
This commit is contained in:
Theodore Ni 2022-09-04 11:07:27 -07:00
parent 60abfb419a
commit 816cb20bd3
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -63,11 +63,9 @@ let majorVersion = "12";
../gcc-12-gfortran-driving.patch
../ppc-musl.patch
] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch {
# TODO: switch back to Homebrew patches:
# was "https://github.com/Homebrew/formula-patches/raw/76677f2b/gcc/gcc-12.1.0-arm.diff"
name = "gcc-12-darwin-aarch64-support.patch";
url = "https://github.com/tjni/gcc-12-branch/compare/releases/gcc-12.2...gcc-12-2-darwin.diff";
sha256 = "sha256-hjM9q6tsdzoGOQWJ7v3BaeVxdWQGTaEnep2ZSwX5+74=";
url = "https://github.com/Homebrew/formula-patches/raw/1d184289/gcc/gcc-12.2.0-arm.diff";
sha256 = "sha256-omclLslGi/2yCV4pNBMaIpPDMW3tcz/RXdupbNbeOHA=";
})
++ optional langD ../libphobos.patch