From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Thu, 23 Aug 2018 12:08:43 +0200 Subject: [Buildroot] [PATCH next] package/asterisk: fix compilation with libsrtp 2.2.0 In-Reply-To: <20180823120309.08a04ced@windsurf> References: <20180823072615.32065-1-yann.morin.1998@free.fr> <20180823120309.08a04ced@windsurf> Message-ID: <20180823100843.GD9365@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2018-08-23 12:03 +0200, Thomas Petazzoni spake thusly: > On Thu, 23 Aug 2018 09:26:15 +0200, Yann E. MORIN wrote: > > diff --git a/package/asterisk/0007-res_srtp-Add-support-for-libsrtp2-with-AES-GCM.patch b/package/asterisk/0007-res_srtp-Add-support-for-libsrtp2-with-AES-GCM.patch > > new file mode 100644 > > index 0000000000..65ebe06582 > > --- /dev/null > > +++ b/package/asterisk/0007-res_srtp-Add-support-for-libsrtp2-with-AES-GCM.patch > > @@ -0,0 +1,171 @@ > > +From 95b45d1c46b35232ee0b9bdb3135b080c164c7c6 Mon Sep 17 00:00:00 2001 > > +From: Alexander Traud > > +Date: Wed, 18 Oct 2017 10:30:25 +0200 > > +Subject: [PATCH] res_srtp: Add support for libsrtp2 with AES-GCM. > > + > > +Beside allowing AES-GCM again, this adds AES-192 again. > > + > > +ASTERISK-27356 > > + > > +Change-Id: Ia97a435faf26300335d9552fa676b5d17e5f7233 > > +[yann.morin.1998 at free.fr: backport from upstream] > > +Signed-off-by: "Yann E. MORIN" > > +--- > > + configure | 104 +++++++++++++++++++++++++++++++++++++++++++++++++ > > The asterisk package has ASTERISK_AUTORECONF = YES, so carrying the > changes to the configure file doesn't seem to be very useful. Maybe not, but this is the *exact* patch from upstream. When backporting, I believe it is better to apply the exact upstream patch (if it applies) rather than mangle it. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'