* Disable the tests, fails with "file not found" otherwise
* no-special-snowflake-env.patch removed
Sylvestre Ledru
4 years ago
1 | 1 |
|
2 | 2 |
* Team upload.
|
3 | 3 |
* Package libgit2-sys 0.9.1 from crates.io using debcargo 2.4.0
|
|
4 |
* Disable the tests, fails with "file not found" otherwise
|
|
5 |
* no-special-snowflake-env.patch removed
|
4 | 6 |
|
5 | 7 |
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 7 Nov 2019 09:04:49 +0100
|
6 | 8 |
|
src/libgit2-sys/debian/patches/no-special-snowflake-env.patch
less
more
0 | |
Index: libgit2-sys/build.rs
|
1 | |
===================================================================
|
2 | |
--- libgit2-sys.orig/build.rs
|
3 | |
+++ libgit2-sys/build.rs
|
4 | |
@@ -11,10 +11,8 @@ fn main() {
|
5 | |
let ssh = env::var("CARGO_FEATURE_SSH").is_ok();
|
6 | |
let curl = env::var("CARGO_FEATURE_CURL").is_ok();
|
7 | |
|
8 | |
- if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
|
9 | |
- if pkg_config::find_library("libgit2").is_ok() {
|
10 | |
- return
|
11 | |
- }
|
12 | |
+ if pkg_config::find_library("libgit2").is_ok() {
|
13 | |
+ return
|
14 | |
}
|
15 | |
|
16 | |
if !Path::new("libgit2/.git").exists() {
|