dtc: fix the test against glibc-2.41 (#390474)

+5
+5
pkgs/by-name/dt/dtc/package.nix
··· 33 url = "https://github.com/dgibson/dtc/commit/9a969f3b70b07bbf1c9df44a38d7f8d1d3a6e2a5.patch"; 34 hash = "sha256-YrRzc3ATNmU6LYNHEQeU8wtjt1Ap7/gNFvtRR14PQEE="; 35 }) 36 ]; 37 38 env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;
··· 33 url = "https://github.com/dgibson/dtc/commit/9a969f3b70b07bbf1c9df44a38d7f8d1d3a6e2a5.patch"; 34 hash = "sha256-YrRzc3ATNmU6LYNHEQeU8wtjt1Ap7/gNFvtRR14PQEE="; 35 }) 36 + # glibc-2.41 support 37 + (fetchpatch2 { 38 + url = "https://github.com/dgibson/dtc/commit/ce1d8588880aecd7af264e422a16a8b33617cef7.patch"; 39 + hash = "sha256-t1CxKnbCXUArtVcniAIdNvahOGXPbYhPCZiTynGLvfo="; 40 + }) 41 ]; 42 43 env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;