Index: head/multimedia/rav1e/files/patch-build.rs =================================================================== --- head/multimedia/rav1e/files/patch-build.rs (nonexistent) +++ head/multimedia/rav1e/files/patch-build.rs (revision 569295) @@ -0,0 +1,35 @@ +error: failed to run custom build command for `rav1e v0.4.0 (/wrkdirs/usr/ports/multimedia/librav1e/work/rav1e-0.4.0)` + +Caused by: + process didn't exit successfully: `/wrkdirs/usr/ports/multimedia/librav1e/work/target/release/build/rav1e-b2f4b3ce116fbed0/build-script-build` (exit code: 101) + --- stderr + thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LlvmVersionError(TooManyComponents)', build.rs:179:16 + stack backtrace: + 0: rust_begin_unwind + 1: core::panicking::panic_fmt + 2: core::result::unwrap_failed + 3: core::result::Result::unwrap + at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/result.rs:1037:23 + 4: build_script_build::rustc_version_check + at ./build.rs:179:6 + 5: build_script_build::main + at ./build.rs:268:3 + 6: core::ops::function::FnOnce::call_once + at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/ops/function.rs:227:5 + note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. + +--- build.rs.orig 2021-03-27 02:26:03 UTC ++++ build.rs +@@ -174,12 +174,6 @@ fn build_asm_files() { + } + + fn rustc_version_check() { +- // This should match the version in the CI +- const REQUIRED_VERSION: &str = "1.44.1"; +- if version().unwrap() < Version::parse(REQUIRED_VERSION).unwrap() { +- eprintln!("rav1e requires rustc >= {}.", REQUIRED_VERSION); +- exit(1); +- } + } + + #[cfg(feature = "asm")] Property changes on: head/multimedia/rav1e/files/patch-build.rs ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property