spdlog: 1.8.5 -> 1.9.2, fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155163350

+9 -1
+9 -1
pkgs/development/libraries/spdlog/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, fmt_8 }: 1 + { lib, stdenv, fetchFromGitHub, cmake, fmt_8, fetchpatch }: 2 2 3 3 let 4 4 generic = { version, sha256 }: ··· 12 12 rev = "v${version}"; 13 13 inherit sha256; 14 14 }; 15 + 16 + patches = [ 17 + # glibc 2.34 compat 18 + (fetchpatch { 19 + url = "https://github.com/gabime/spdlog/commit/d54b8e89c058f3cab2b32b3e9a2b49fd171d5895.patch"; 20 + sha256 = "sha256-pb7cREF90GXb5Mbs8xFLQ+eLo6Xum13/xYa8JUgJlbI="; 21 + }) 22 + ]; 15 23 16 24 nativeBuildInputs = [ cmake ]; 17 25 # spdlog <1.3 uses a bundled version of fmt