lol

zfs_2_3: fix building with llvm 21 (#446815)

authored by

Adam C. Stephens and committed by
GitHub
dada4234 74075164

+9
+9
pkgs/os-specific/linux/zfs/2_3.nix
··· 3 3 lib, 4 4 nixosTests, 5 5 stdenv, 6 + fetchpatch, 6 7 ... 7 8 }@args: 8 9 ··· 16 17 17 18 # this package should point to the latest release. 18 19 version = "2.3.4"; 20 + 21 + extraPatches = [ 22 + (fetchpatch { 23 + name = "fix_llvm-21_-wuninitialized-const-pointer_warning.patch"; 24 + url = "https://github.com/openzfs/zfs/commit/9acedbaceec362d08a33ebfe7c4c7efcee81d094.patch"; 25 + hash = "sha256-bjMRuT8gsMuwCnrS5PfG9vYthRvcFaWCCfQbCTVZdpw="; 26 + }) 27 + ]; 19 28 20 29 tests = { 21 30 inherit (nixosTests.zfs) series_2_3;