aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs')
-rw-r--r--lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs b/lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs
new file mode 100644
index 000000000000..3171b5769f1a
--- /dev/null
+++ b/lang/rust/files/riscv64/patch-vendor_openssl-src_src_lib.rs
@@ -0,0 +1,10 @@
+--- vendor/openssl-src/src/lib.rs.orig 2021-11-04 11:27:54 UTC
++++ vendor/openssl-src/src/lib.rs
+@@ -260,6 +260,7 @@ impl Build {
+ "powerpc64le-unknown-freebsd" => "BSD-generic64",
+ "powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
+ "powerpc64le-unknown-linux-musl" => "linux-ppc64le",
++ "riscv64gc-unknown-freebsd" => "BSD-generic64",
+ "riscv64gc-unknown-linux-gnu" => "linux-generic64",
+ "s390x-unknown-linux-gnu" => "linux64-s390x",
+ "s390x-unknown-linux-musl" => "linux64-s390x",