diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /grub/no-asorti.patch | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'grub/no-asorti.patch')
| -rw-r--r-- | grub/no-asorti.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/grub/no-asorti.patch b/grub/no-asorti.patch new file mode 100644 index 00000000..90834ab4 --- /dev/null +++ b/grub/no-asorti.patch @@ -0,0 +1,15 @@ +diff --git a/grub-core/genmoddep.awk b/grub-core/genmoddep.awk +index cc987a5..5e9f942 100644 +--- a/grub-core/genmoddep.awk ++++ b/grub-core/genmoddep.awk +@@ -63,9 +63,7 @@ END { + } + 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]++ |