summaryrefslogtreecommitdiff
path: root/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/patches/patch-vendor_openssl-src_src_lib.rs')
-rw-r--r--lang/rust/patches/patch-vendor_openssl-src_src_lib.rs21
1 files changed, 11 insertions, 10 deletions
diff --git a/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs b/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
index f3296eb6c55..6b3feccca3f 100644
--- a/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
+++ b/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
@@ -1,8 +1,8 @@
-$NetBSD: patch-vendor_openssl-src_src_lib.rs,v 1.1 2021/01/01 20:44:48 he Exp $
+$NetBSD: patch-vendor_openssl-src_src_lib.rs,v 1.2 2021/02/14 08:24:31 he Exp $
Provide defaults for the various NetBSD targets.
---- vendor/openssl-src/src/lib.rs.orig 2020-11-16 14:27:50.000000000 +0000
+--- vendor/openssl-src/src/lib.rs.orig 2020-12-29 03:36:31.000000000 +0000
+++ vendor/openssl-src/src/lib.rs
@@ -167,6 +167,7 @@ impl Build {
"aarch64-unknown-freebsd" => "BSD-generic64",
@@ -16,29 +16,30 @@ Provide defaults for the various NetBSD targets.
"armv7-unknown-freebsd" => "BSD-generic32",
"armv7-unknown-linux-gnueabihf" => "linux-armv4",
"armv7-unknown-linux-musleabihf" => "linux-armv4",
-+ "armv7-unknown-netbsd-eabihf" => "BSD-generic32",
++ "armv7-unknown-netbsd-eabihf" => "BSD-generic32",
"asmjs-unknown-emscripten" => "gcc",
- "i686-apple-darwin" => "darwin-i386-cc",
- "i686-linux-android" => "linux-elf",
-@@ -186,6 +188,7 @@ impl Build {
+ "i586-unknown-linux-gnu" => "linux-elf",
+ "i586-unknown-linux-musl" => "linux-elf",
+@@ -188,6 +190,7 @@ impl Build {
"i686-unknown-freebsd" => "BSD-x86-elf",
"i686-unknown-linux-gnu" => "linux-elf",
"i686-unknown-linux-musl" => "linux-elf",
-+ "i686-unknown-netbsd" => "BSD-x86-elf",
++ "i686-unknown-netbsd" => "BSD-x86-elf",
"mips-unknown-linux-gnu" => "linux-mips32",
"mips-unknown-linux-musl" => "linux-mips32",
"mips64-unknown-linux-gnuabi64" => "linux64-mips64",
-@@ -193,11 +196,13 @@ impl Build {
+@@ -195,12 +198,14 @@ impl Build {
"mipsel-unknown-linux-gnu" => "linux-mips32",
"mipsel-unknown-linux-musl" => "linux-mips32",
"powerpc-unknown-linux-gnu" => "linux-ppc",
-+ "powerpc-unknown-netbsd" => "BSD-generic32",
++ "powerpc-unknown-netbsd" => "BSD-generic32",
"powerpc64-unknown-freebsd" => "BSD-generic64",
"powerpc64-unknown-linux-gnu" => "linux-ppc64",
+ "powerpc64le-unknown-freebsd" => "BSD-generic64",
"powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
"riscv64gc-unknown-linux-gnu" => "linux-generic64",
"s390x-unknown-linux-gnu" => "linux64-s390x",
-+ "sparc64-unknown-netbsd" => "BSD-generic64",
++ "sparc64-unknown-netbsd" => "BSD-generic64",
"x86_64-apple-darwin" => "darwin64-x86_64-cc",
"x86_64-linux-android" => "linux-x86_64",
"x86_64-pc-windows-gnu" => "mingw64",