pesign: fix build with gcc14

- add patch from upstream commit:
https://github.com/rhboot/pesign/commit/1f9e2fa0b4d872fdd01ca3ba81b04dfb1211a187
that fixes `calloc-transposed-args` error with gcc14:
```
pesigcheck.c: In function 'check_signature':
pesigcheck.c:243:34: error: 'calloc' sizes specified with 'sizeof' in the
earlier argument and not in the later argument
[-Werror=calloc-transposed-args]
243 | reasonps = calloc(sizeof(struct reason), 512);
| ^~~~~~
pesigcheck.c:243:34: note: earlier argument should specify number of
elements, later size of each element
pesigcheck.c:284:53: error: 'calloc' sizes specified with 'sizeof' in the
earlier argument and not in the later argument
[-Werror=calloc-transposed-args]
284 | new_reasons = calloc(sizeof(struct reason), num_reasons);
| ^~~~~~
pesigcheck.c:284:53: note: earlier argument should specify number of
elements, later size of each element
```

ghpzin f29bdc10 a793ee39

+10
+10
pkgs/by-name/pe/pesign/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 nss, 7 efivar, ··· 21 rev = version; 22 hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; 23 }; 24 25 # nss-util is missing because it is already contained in nss 26 # Red Hat seems to be shipping a separate nss-util:
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + fetchpatch2, 6 pkg-config, 7 nss, 8 efivar, ··· 22 rev = version; 23 hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; 24 }; 25 + 26 + patches = [ 27 + # fix build with gcc14 28 + # https://github.com/rhboot/pesign/pull/119 29 + (fetchpatch2 { 30 + url = "https://github.com/rhboot/pesign/commit/1f9e2fa0b4d872fdd01ca3ba81b04dfb1211a187.patch?full_index=1"; 31 + hash = "sha256-viVM4Z0jAEAWC3EdJVHcWe21aQskH5XE85lOd6Xd/qU="; 32 + }) 33 + ]; 34 35 # nss-util is missing because it is already contained in nss 36 # Red Hat seems to be shipping a separate nss-util: