Merge pull request #289861 from trofi/litecoin-gcc-13-fix

litecoin: fix `gcc-13` build failure
This commit is contained in:
Nick Cao 2024-02-19 09:43:05 -05:00 committed by GitHub
commit 8bdaa7d1a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,14 @@ mkDerivation rec {
url = "https://aur.archlinux.org/cgit/aur.git/plain/boost1770.patch?h=litecoin-qt&id=dc75ad854af123f375b5b683be64aa14573170d7";
hash = "sha256-PTkYQRA8n5a9yR2AvpzH5natsXT2W6Xjo0ONCPJx78k=";
})
# Fix gcc-13 build by adding missing headers:
# https://github.com/litecoin-project/litecoin/pull/929
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/litecoin-project/litecoin/commit/6d1adb19aa79a8e8e140582759515bbd76816aa0.patch";
hash = "sha256-1y4Iz2plMw5HMAjl9x50QQpYrYaUd2WKrrAcUnQmlBY=";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook ];