Date: Fri, 9 Sep 2016 19:40:51 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421633 - head/net/asterisk13/files Message-ID: <201609091940.u89Jepht036103@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Fri Sep 9 19:40:50 2016 New Revision: 421633 URL: https://svnweb.freebsd.org/changeset/ports/421633 Log: net/asterisk13: Fix broken patch file - Patch was the svn diff to the tree - Convert to a regular patch file PR: 211707 Added: head/net/asterisk13/files/patch-res_res__rtp__asterisk.c - copied, changed from r421632, head/net/asterisk13/files/patch-res-res_rtp_asterisk.c Deleted: head/net/asterisk13/files/patch-res-res_rtp_asterisk.c Copied and modified: head/net/asterisk13/files/patch-res_res__rtp__asterisk.c (from r421632, head/net/asterisk13/files/patch-res-res_rtp_asterisk.c) ============================================================================== --- head/net/asterisk13/files/patch-res-res_rtp_asterisk.c Fri Sep 9 19:31:42 2016 (r421632, copy source) +++ head/net/asterisk13/files/patch-res_res__rtp__asterisk.c Fri Sep 9 19:40:50 2016 (r421633) @@ -1,35 +1,15 @@ -Index: net/asterisk13/files/patch-res_res__rtp__asterisk.c -=================================================================== ---- net/asterisk13/files/patch-res_res__rtp__asterisk.c (revision 0) -+++ net/asterisk13/files/patch-res_res__rtp__asterisk.c (working copy) -@@ -0,0 +1,15 @@ -+$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.1 2016/07/30 21:12:15 sthen Exp $ -+ -+Obtained from OpenBSD cvs -+ -+--- res/res_rtp_asterisk.c.orig 2016-07-21 14:54:02 UTC -++++ res/res_rtp_asterisk.c -+@@ -1357,7 +1357,7 @@ static int ast_rtp_dtls_set_configuratio -+ return 0; -+ } -+ -+-#if OPENSSL_VERSION_NUMBER < 0x10002000L -++#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) -+ rtp->ssl_ctx = SSL_CTX_new(DTLSv1_method()); -+ #else -+ rtp->ssl_ctx = SSL_CTX_new(DTLS_method()); +$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.1 2016/07/30 21:12:15 sthen Exp $ -Property changes on: net/asterisk13/files/patch-res_res__rtp__asterisk.c -___________________________________________________________________ -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 +Obtained from OpenBSD cvs + +--- res/res_rtp_asterisk.c.orig 2016-07-21 14:54:02 UTC ++++ res/res_rtp_asterisk.c +@@ -1357,7 +1357,7 @@ static int ast_rtp_dtls_set_configuratio + return 0; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10002000L ++#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) + rtp->ssl_ctx = SSL_CTX_new(DTLSv1_method()); + #else + rtp->ssl_ctx = SSL_CTX_new(DTLS_method());
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609091940.u89Jepht036103>