diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-01 03:44:11 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-03 21:56:52 -0500 |
commit | 8b868f32f7e1b57c90da65157ea59eb6ce337cc9 (patch) | |
tree | 3659db750a529d3e7abf0bc2c4f1fdbb3f0886af /user/grub/0002-revert-gawk.patch | |
parent | 2c9ea8d0ea3c4510b5a4c9314c84c4444c933726 (diff) | |
download | packages-8b868f32f7e1b57c90da65157ea59eb6ce337cc9.tar.gz packages-8b868f32f7e1b57c90da65157ea59eb6ce337cc9.tar.bz2 packages-8b868f32f7e1b57c90da65157ea59eb6ce337cc9.tar.xz packages-8b868f32f7e1b57c90da65157ea59eb6ce337cc9.zip |
user/grub: Update to 2.12_rc1
Fixes: #1065, #1066, #1073
Diffstat (limited to 'user/grub/0002-revert-gawk.patch')
-rw-r--r-- | user/grub/0002-revert-gawk.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/user/grub/0002-revert-gawk.patch b/user/grub/0002-revert-gawk.patch new file mode 100644 index 000000000..565e22d6a --- /dev/null +++ b/user/grub/0002-revert-gawk.patch @@ -0,0 +1,19 @@ +Revert "grub-core/genmoddep.awk: Ensure output is deterministic" + +This reverts commit 87648e9c12a32bddb005b899edc44c2c9c63df82. + +We don't ship gawk, so we can't use asorti. The old way worked fine enough. + +--- grub-2.12-rc1/grub-core/genmoddep.awk.old 2023-07-10 15:43:48.000000000 +0000 ++++ grub-2.12-rc1/grub-core/genmoddep.awk 2023-10-01 07:52:03.407286373 +0000 +@@ -59,9 +59,7 @@ + } + modlist = "" + depcount[mod] = 0 +- n = asorti(uniqmods, w) +- for (i = 1; i <= n; i++) { +- depmod = w[i] ++ for (depmod in uniqmods) { + modlist = modlist " " depmod; + inverse_dependencies[depmod] = inverse_dependencies[depmod] " " mod + depcount[mod]++ |