From 4daba66b850225c9de833083f8d898c61b5029fd Mon Sep 17 00:00:00 2001 From: misumisumi Date: Thu, 2 Jan 2025 16:52:32 +0900 Subject: [PATCH] chntpw: patch to build with gcc14 --- pkgs/by-name/ch/chntpw/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ch/chntpw/package.nix b/pkgs/by-name/ch/chntpw/package.nix index 6687cd9ad6935..603120053e27a 100644 --- a/pkgs/by-name/ch/chntpw/package.nix +++ b/pkgs/by-name/ch/chntpw/package.nix @@ -58,6 +58,11 @@ stdenv.mkDerivation rec { url = "https://sources.debian.org/data/main/c/chntpw/140201-1/debian/patches/14_improve_description"; sha256 = "11y5kc4dh4zv24nkb0jw2zwlifx6nzsd4jbizn63l6dbpqgb25rs"; }) + (fetchpatch { + name = "17_hexdump-pointer-type.patch"; + url = "https://git.launchpad.net/ubuntu/+source/chntpw/plain/debian/patches/17_hexdump-pointer-type.patch?id=aed501c87499f403293e7b9f505277567c2f3b52"; + sha256 = "sha256-ir9LFl8FJq141OwF5SbyVMtjQ1kTMH1NXlHl0XZq7m8="; + }) ]; installPhase = ''