--- a/src/Pure/System/isabelle_system.scala Wed Sep 10 22:19:34 2025 +0200
+++ b/src/Pure/System/isabelle_system.scala Wed Sep 10 22:21:52 2025 +0200
@@ -523,6 +523,7 @@
strip: Int = 1,
progress: Progress = new Progress
): Unit = {
+ Isabelle_System.require_command("patch")
with_tmp_file("patch", ext = "rej") { rej =>
val result =
Isabelle_System.bash("patch -f -p" + strip + " -r " + File.bash_path(rej),
--- a/src/Tools/VSCode/src/component_vscodium.scala Wed Sep 10 22:19:34 2025 +0200
+++ b/src/Tools/VSCode/src/component_vscodium.scala Wed Sep 10 22:21:52 2025 +0200
@@ -350,6 +350,7 @@
platform_context.mingw.check()
+ Isabelle_System.require_command("patch")
if (!platform.is_windows) {
Isabelle_System.require_command("git")
Isabelle_System.require_command("jq")