Skip to content

Commit 2aae4fa

Browse files
committed
Remove commented out code
1 parent 36a4117 commit 2aae4fa

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

ttf2mesh-sys/build.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,6 @@ fn main() {
2828
.write_to_file(out_path.join("bindings.rs"))
2929
.expect("Couldn't write bindings!");
3030

31-
/*
32-
let patch_path = manifest_dir.join("ttf2mesh-fix.patch");
33-
let patch_file = std::fs::File::open(patch_path).unwrap();
34-
35-
//// patching, see https://github.com/fetisov/ttf2mesh/pull/2
36-
if std::process::Command::new("patch")
37-
.arg("-v")
38-
.status()
39-
.is_err()
40-
{
41-
panic!("Can not apply ttf2mesh patch. Please make sure that you have `patch` command installed.")
42-
}
43-
44-
std::process::Command::new("patch")
45-
.current_dir(manifest_dir.join("ttf2mesh"))
46-
.args("-r - --forward -p1".split(" "))
47-
.stdin(patch_file)
48-
.status()
49-
.unwrap();
50-
//// /patching
51-
*/
52-
5331
cc::Build::new()
5432
.flag("-Wall")
5533
.flag("-pedantic")

0 commit comments

Comments
 (0)