diff options
author | madpilot <madpilot@FreeBSD.org> | 2016-08-10 15:28:08 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2016-08-10 15:28:08 +0800 |
commit | 49c1f67db201d9e340cd37e16d31a7d24c615d6a (patch) | |
tree | 8f2b10836e841b01c5104f3935e8399135c1017e /net | |
parent | e40d5abffadcaabff18eef7bb45c053ac961a75e (diff) | |
download | freebsd-ports-gnome-49c1f67db201d9e340cd37e16d31a7d24c615d6a.tar.gz freebsd-ports-gnome-49c1f67db201d9e340cd37e16d31a7d24c615d6a.tar.zst freebsd-ports-gnome-49c1f67db201d9e340cd37e16d31a7d24c615d6a.zip |
Add patch to fix build with libressl.
PR: 211707
Submitted by: olivierw1+bugzilla-freebsd@hotmail.com
Patch by: brnrd@
Obtained From: http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/telephony/asterisk/patches/patch-res_res_rtp_asterisk_c?rev=1.1&content-type=text/plain
MFH: 2016Q3
Diffstat (limited to 'net')
-rw-r--r-- | net/asterisk13/files/patch-res-res_rtp_asterisk.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net/asterisk13/files/patch-res-res_rtp_asterisk.c b/net/asterisk13/files/patch-res-res_rtp_asterisk.c new file mode 100644 index 000000000000..868d596ba75a --- /dev/null +++ b/net/asterisk13/files/patch-res-res_rtp_asterisk.c @@ -0,0 +1,35 @@ +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()); + +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 |