advancecomp: pull upstream patch for gcc-11 support

This commit is contained in:
Sergei Trofimovich 2021-11-22 10:06:43 +00:00
parent 43a7d62e07
commit ed869fb417

View file

@ -26,6 +26,13 @@ stdenv.mkDerivation rec {
sha256 = "0cdv9g87c1y8zwhqkd9ba2zjw4slcvg7yzcqv43idvnwb5fl29n7";
excludes = [ "doc/history.d" ];
})
# Pull upstream fix for gcc-11:
(fetchpatch {
name = "gcc-11.patch";
url = "https://github.com/amadvance/advancecomp/commit/7b08f7a2af3f66ab95437e4490499cebb20e5e41.patch";
sha256 = "0gpppq6b760m1429g7d808ipdgb4lrqc1b6xk2457y66pbaiwc9s";
})
];
# autover.sh relies on 'git describe', which obviously doesn't work as we're not cloning