* gnu/packages/mit-krb5.scm (mit-krb5)[source]: Use version-major+minor.
[arguments]: Use modify-phases. Split and rewrite 'unpack' phase into
'unpack', 'apply-patches', and 'enter-source-directory' phases. Add a
'pre-check' phase instead of replacing the 'check' phase. Combine
substitutions on the same file. In the 'unpack' phase, find
native-inputs with names starting with "patch/" and apply them all.
Print a message for each patch applied. Do not rely on the result of
'chdir', which is unspecified. Determine the names of the inner tar
file and the directory in a more robust way. Add (ice-9 ftw),
(ice-9 match) and (srfi srfi-1) to #:modules.
* gnu/packages/patches/mit-krb5-init-fix.patch: New file.
* gnu/packages/mit-krb5.scm (mit-krb5): Apply patch at the end of the custom
unpack phase.
* gnu-system.am (dist_patch_DATA): Add patch.