drop clang-sys patches already applied upstream in 0.28.1
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Daniel Kahn Gillmor
4 years ago
src/clang-sys/debian/patches/fix-dep-glob.patch
less
more
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 | |
}
|
src/clang-sys/debian/patches/relax-deps.patch
less
more
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 = []
|
src/clang-sys/debian/patches/series
less
more
0 | |
relax-deps.patch
|
1 | |
fix-dep-glob.patch
|