litecoin: fix gcc-13
build failure
Without the change build fails on `master` as https://hydra.nixos.org/build/249019697: support/lockedpool.cpp: In member function 'void Arena::free(void*)': support/lockedpool.cpp:102:20: error: 'runtime_error' is not a member of 'std' 102 | throw std::runtime_error("Arena: invalid or double free"); | ^~~~~~~~~~~~~
This commit is contained in:
parent
82e5bc1a59
commit
964b613a0d
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user