Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2020 13:41:33 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553543 - head/lang/rust/files
Message-ID:  <202010281341.09SDfXxA063202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Wed Oct 28 13:41:33 2020
New Revision: 553543
URL: https://svnweb.freebsd.org/changeset/ports/553543

Log:
  lang/rust: fix build with libressl-3.2.2
  
  PR:		250589
  Submitted by:	John Kennedy <warlock@phouka.net>

Added:
  head/lang/rust/files/patch-vendor_openssl-sys_build_main.rs   (contents, props changed)

Added: head/lang/rust/files/patch-vendor_openssl-sys_build_main.rs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/rust/files/patch-vendor_openssl-sys_build_main.rs	Wed Oct 28 13:41:33 2020	(r553543)
@@ -0,0 +1,19 @@
+--- vendor/openssl-sys/build/main.rs.ORIG	2020-10-07 02:33:31.000000000 -0700
++++ vendor/openssl-sys/build/main.rs	2020-10-23 20:45:37.047602000 -0700
+@@ -221,6 +221,7 @@
+             (3, 1, 0) => ('3', '1', '0'),
+             (3, 1, _) => ('3', '1', 'x'),
+             (3, 2, 0) => ('3', '2', '0'),
++            (3, 2, 2) => ('3', '2', '2'),
+             _ => version_error(),
+         };
+ 
+@@ -261,7 +262,7 @@
+         "
+ 
+ This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5
+-through 3.2.0, but a different version of OpenSSL was found. The build is now aborting
++through 3.2.2, but a different version of OpenSSL was found. The build is now aborting
+ due to this version mismatch.
+ 
+ "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010281341.09SDfXxA063202>