From owner-svn-ports-all@freebsd.org Wed Feb 7 15:55:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCD48F107E1; Wed, 7 Feb 2018 15:55:49 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AD416F7DD; Wed, 7 Feb 2018 15:55:49 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 710A6EDD; Wed, 7 Feb 2018 15:55:49 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w17Ftn7j067674; Wed, 7 Feb 2018 15:55:49 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w17FtnNs067673; Wed, 7 Feb 2018 15:55:49 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201802071555.w17FtnNs067673@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Wed, 7 Feb 2018 15:55:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461150 - head/deskutils/spice-gtk/files X-SVN-Group: ports-head X-SVN-Commit-Author: pawel X-SVN-Commit-Paths: head/deskutils/spice-gtk/files X-SVN-Commit-Revision: 461150 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 15:55:50 -0000 Author: pawel Date: Wed Feb 7 15:55:49 2018 New Revision: 461150 URL: https://svnweb.freebsd.org/changeset/ports/461150 Log: Fix build with LibreSSL: ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_read' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_data' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_write' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_ctrl' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_set_puts' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_free' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_meth_new' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_set_init' ./.libs/libspice-client-glib-2.0.so: undefined reference to `EVP_PKEY_get0_RSA' ./.libs/libspice-client-glib-2.0.so: undefined reference to `ASN1_STRING_get0_data' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_get_new_index' ./.libs/libspice-client-glib-2.0.so: undefined reference to `BIO_set_data' cc: error: linker command failed with exit code 1 (use -v to see invocation) Patches were submitted and accepted by upstream: https://lists.freedesktop.org/archives/spice-commits/2018-January/004276.html https://lists.freedesktop.org/archives/spice-commits/2018-January/004277.html PR: 225407 Submitted by: myself Approved by: maintainer timeout Added: head/deskutils/spice-gtk/files/patch-libressl (contents, props changed) Added: head/deskutils/spice-gtk/files/patch-libressl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/spice-gtk/files/patch-libressl Wed Feb 7 15:55:49 2018 (r461150) @@ -0,0 +1,33 @@ +--- src/bio-gio.c.orig 2017-01-13 14:00:07 UTC ++++ src/bio-gio.c +@@ -23,7 +23,7 @@ + #include "spice-util.h" + #include "bio-gio.h" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD one_static_bio; + + static int BIO_meth_set_read(BIO_METHOD *biom, +--- src/spice-channel.c.orig 2018-01-21 15:48:25 UTC ++++ src/spice-channel.c +@@ -55,7 +55,7 @@ static void spice_channel_reset_capabilities(SpiceChan + static void spice_channel_send_migration_handshake(SpiceChannel *channel); + static gboolean channel_connect(SpiceChannel *channel, gboolean tls); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) + static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) + { + if (pkey->type != EVP_PKEY_RSA) { +--- spice-common/common/ssl_verify.c.orig 2018-01-21 15:52:12 UTC ++++ spice-common/common/ssl_verify.c +@@ -33,7 +33,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER) + static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) + { + return M_ASN1_STRING_data(asn1);