internal/rosa: apply patches in specified order

This seems more intuitive than letting the filesystem decide, and having to use awkward names.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-10 15:31:58 +09:00
parent 8e9b3a2ed1
commit e1f16e7720
2 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -1053,7 +1053,7 @@ func (ctx *evalContext) pf(
return
}
attr.Patches = append(attr.Patches, KV{
strings.TrimSuffix(filepath.Base(pathname), ".patch"),
filepath.Base(pathname),
unsafe.String(unsafe.SliceData(p), len(p)),
})
}