Codebase list rust-libslirp / 7ef32a6
Patch clang-sys: glob 0.3 kpcyrd 4 years ago
6 changed file(s) with 54 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 rust-clang-sys (0.28.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package clang-sys 0.28.0 from crates.io using debcargo 2.2.10
3
4 -- kpcyrd <git@rxv.cc> Sun, 14 Jul 2019 16:10:28 +0000
5
06 rust-clang-sys (0.27.0-1) unstable; urgency=medium
17
28 * Package clang-sys 0.27.0 from crates.io using debcargo 2.2.9
6464 Copyright:
6565 2018-2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
6666 2018-2019 Ximin Luo <infinity0@debian.org>
67 2018-2019 kpcyrd <git@rxv.cc>
6768 License: Apache-2.0
6869
6970 License: Apache-2.0
00 overlay = "."
1 uploaders = ["Ximin Luo <infinity0@debian.org>"]
1 uploaders = [
2 "Ximin Luo <infinity0@debian.org>",
3 "kpcyrd <git@rxv.cc>",
4 ]
5 excludes = ["ci/**"]
26
37 [packages.lib]
48 depends = ["libclang-dev"]
0 --- a/build/common.rs
1 +++ b/build/common.rs
2 @@ -77,7 +77,7 @@ fn search_directory(directory: &Path, filenames: &[String]) -> Vec<(PathBuf, Str
3 options.require_literal_separator = true;
4
5 paths.flat_map(|p| {
6 - if let Ok(paths) = glob::glob_with(&p, &options) {
7 + if let Ok(paths) = glob::glob_with(&p, options) {
8 paths.filter_map(Result::ok).collect()
9 } else {
10 vec![]
11 @@ -155,7 +155,7 @@ pub fn search_libclang_directories(files: &[String], variable: &str) -> Vec<(Pat
12 options.case_sensitive = false;
13 options.require_literal_separator = true;
14 for directory in directories.iter().rev() {
15 - if let Ok(directories) = glob::glob_with(directory, &options) {
16 + if let Ok(directories) = glob::glob_with(directory, options) {
17 for directory in directories.filter_map(Result::ok).filter(|p| p.is_dir()) {
18 found.extend(search_directories(&directory, files));
19 }
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -22,7 +22,7 @@
3 license = "Apache-2.0"
4 repository = "https://github.com/KyleMayes/clang-sys"
5 [dependencies.glob]
6 -version = "0.2.11"
7 +version = "0.3"
8
9 [dependencies.libc]
10 version = "0.2.39"
11 @@ -32,7 +32,7 @@
12 version = "0.5.0"
13 optional = true
14 [build-dependencies.glob]
15 -version = "0.2.11"
16 +version = "0.3"
17
18 [features]
19 clang_3_5 = []
0 relax-deps.patch
1 fix-dep-glob.patch