]> git.proxmox.com Git - rustc.git/commitdiff
Update patch for missing import
authorXimin Luo <infinity0@debian.org>
Mon, 16 Oct 2017 15:32:36 +0000 (17:32 +0200)
committerXimin Luo <infinity0@debian.org>
Mon, 16 Oct 2017 15:32:36 +0000 (17:32 +0200)
debian/patches/u-output-failed-commands.patch

index 98f556c087009b5d35e730d48e18014c14c610a3..90d4a1a014d2f1789af07b6db2206e3337880261 100644 (file)
@@ -28,7 +28,7 @@ Bug: https://github.com/rust-lang/rust/pull/44680
          build.run_quiet(cmd);
 --- a/src/bootstrap/lib.rs
 +++ b/src/bootstrap/lib.rs
-@@ -134,7 +134,7 @@
+@@ -134,13 +134,13 @@
  #[cfg(unix)]
  extern crate libc;
  
@@ -37,6 +37,13 @@ Bug: https://github.com/rust-lang/rust/pull/44680
  use std::collections::{HashSet, HashMap};
  use std::env;
  use std::fs::{self, File};
+ use std::io::Read;
+ use std::path::{PathBuf, Path};
+-use std::process::Command;
++use std::process::{self, Command};
+ use std::slice;
+ use build_helper::{run_silent, run_suppressed, try_run_silent, try_run_suppressed, output, mtime};
 @@ -245,7 +245,7 @@
      crates: HashMap<Interned<String>, Crate>,
      is_sudo: bool,