Codebase list rust-stfu8 / abfe15c
Update pkg-config Ximin Luo 5 years ago
2 changed file(s) with 23 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 rust-pkg-config (0.3.12-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package pkg-config 0.3.12 from crates.io using debcargo 2.2.4
3 * Fix patch to match exhaustively so it doesn't FTBFS.
4
5 -- Ximin Luo <infinity0@debian.org> Wed, 25 Jul 2018 08:15:36 -0700
6
07 rust-pkg-config (0.3.12-1) unstable; urgency=medium
18
29 * Package pkg-config 0.3.12 from crates.io using debcargo 2.2.4
99 //! probing for the library named `foo`.
1010 //!
1111 @@ -81,7 +79,7 @@
12
12
1313 // Only use pkg-config in host == target situations by default (allowing an
1414 // override).
1515 - (host == target || env::var_os("PKG_CONFIG_ALLOW_CROSS").is_some())
2929 CrossCompilation,
3030
3131 /// Failed to run `pkg-config`.
32 @@ -137,10 +134,6 @@
32 @@ -137,13 +134,9 @@
3333 fn description(&self) -> &str {
3434 match *self {
3535 Error::EnvNoPkgConfig(_) => "pkg-config requested to be aborted",
3939 - }
4040 Error::Command { .. } => "failed to run pkg-config",
4141 Error::Failure { .. } => "pkg-config did not exit sucessfully",
42 Error::__Nonexhaustive => panic!(),
42 - Error::__Nonexhaustive => panic!(),
43 + Error::CrossCompilation | Error::__Nonexhaustive => panic!(),
44 }
45 }
46
4347 @@ -214,10 +207,6 @@
4448 Error::EnvNoPkgConfig(ref name) => {
4549 write!(f, "Aborted because {} is set", name)
5155 Error::Command { ref command, ref cause } => {
5256 write!(f, "Failed to run `{}`: {}", command, cause)
5357 }
58 @@ -233,7 +222,7 @@
59 }
60 Ok(())
61 }
62 - Error::__Nonexhaustive => panic!(),
63 + Error::CrossCompilation | Error::__Nonexhaustive => panic!(),
64 }
65 }
66 }
5467 @@ -388,7 +377,11 @@
5568 }
5669