aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2016-08-10 15:28:08 +0800
committermadpilot <madpilot@FreeBSD.org>2016-08-10 15:28:08 +0800
commit49c1f67db201d9e340cd37e16d31a7d24c615d6a (patch)
tree8f2b10836e841b01c5104f3935e8399135c1017e /net
parente40d5abffadcaabff18eef7bb45c053ac961a75e (diff)
downloadfreebsd-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.c35
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
>-2/+2 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-041-3/+2 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-061-3/+3 * KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-032-51/+10 * Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3 * Present KDE SC 4.4.4 for FreeBSD.makc2010-06-021-3/+3 * - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-113-27/+36 * - update to 1.4.1dinoex2010-03-281-0/+1 * Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-072-4/+3 * - update to jpeg-8dinoex2010-02-051-0/+1 * The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-021-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-272-5/+5 * The FreeBSD KDE is please to announce the release of KDE 4.3.1,tabthorpe2009-09-022-4/+4 * clean upmakc2009-08-081-3/+0 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-053-12/+31 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-031-3/+3 * Update KDE ports to 4.2.3makc2009-05-101-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-022-5/+3 * Update KDE to 4.2.1.makc2009-03-091-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-092-19/+24 * kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-143-6/+6 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.1miwi2008-09-032-4/+4 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.0miwi2008-08-104-256/+215 * Update to KDE 3.5.8lofi2007-10-302-4/+3 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-043-5/+3 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-141-3/+3 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-201-3/+3 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-132-5/+3 * Update to KDE 3.5.3lofi2006-06-061-3/+3 * Update to KDE 3.5.2lofi2006-03-311-3/+3 * Update to KDE 3.5.1.lofi2006-02-011-3/+3 * Update to KDE 3.5.0lofi2006-01-092-83/+3 * Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-051-2/+2 * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-012-6/+2 * Update to KDE 3.4.1lofi2005-06-262-4/+49 * Update to KDE 3.4lofi2005-03-212-21/+64 * Fix kde3-i18n ports.lofi2004-12-161-2/+2 * Update to KDE 3.3.2lofi2004-12-142-3/+3 * Update to KDE 3.3.1lofi2004-11-081-2/+2 * Update to KDE 3.3lofi2004-08-313-9/+3 * Update to version 3.2.3lofi2004-06-102-2/+3 * Update to KDE 3.2.2lofi2004-04-202-18/+139 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-103-6/+200 * Update to KDE 3.2.0lofi2004-02-051-3/+1 * Mon dieu, forgot the pkg-plists for those two!lofi2004-02-051-0/+165