Merge pull request #291001 from trofi/wownero-gcc-13-fix

wownero: fix `gcc-13` build
This commit is contained in:
Weijia Wang 2024-02-24 04:32:47 +01:00 committed by GitHub
commit ed2668f7d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, boost , boost
, libsodium , libsodium
@ -45,6 +46,15 @@ stdenv.mkDerivation rec {
hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c="; hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c=";
}; };
patches = [
# Fix gcc-13 build due to missing <cstdint> neaders
(fetchpatch {
name = "gcc-13.patch";
url = "https://git.wownero.com/wownero/wownero/commit/f983ac77805a494ea4a05a00398c553e1359aefd.patch";
hash = "sha256-9acQ4bHAKFR+lMgrpQyBmb+9YZYi1ywHoo1jBcIgmGs=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
]; ];