From 79614fa03eec4af1a1162a13c95f832439d480a5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 14 Nov 2014 14:40:28 -0500 Subject: [PATCH] add theora fix --- linphone-3.6.1-theora-fix.patch | 12 ++++++++++++ linphone.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 linphone-3.6.1-theora-fix.patch diff --git a/linphone-3.6.1-theora-fix.patch b/linphone-3.6.1-theora-fix.patch new file mode 100644 index 0000000..b0e6201 --- /dev/null +++ b/linphone-3.6.1-theora-fix.patch @@ -0,0 +1,12 @@ +diff -up linphone-3.6.1/mediastreamer2/src/videofilters/theora.c.fix linphone-3.6.1/mediastreamer2/src/videofilters/theora.c +--- linphone-3.6.1/mediastreamer2/src/videofilters/theora.c.fix 2014-11-14 14:34:59.416313134 -0500 ++++ linphone-3.6.1/mediastreamer2/src/videofilters/theora.c 2014-11-14 14:35:44.657985230 -0500 +@@ -332,7 +332,7 @@ static void enc_process(MSFilter *f){ + if (need_send_conf(s,elapsed)){ + if (s->packed_conf) { + om=dupmsg(s->packed_conf); +- ms_message("sending theora packed conf (%i bytes)",msgdsize(om)); ++ ms_message("sending theora packed conf (%i bytes)",(int)msgdsize(om)); + packetize_and_send(f,s,om,timestamp,THEORA_PACKED_CONF); + }else { + ms_error("No packed conf to send."); diff --git a/linphone.spec b/linphone.spec index 0f0bef1..1bea6e7 100644 --- a/linphone.spec +++ b/linphone.spec @@ -6,9 +6,10 @@ Summary: Phone anywhere in the whole world by using the Internet License: GPLv2+ URL: http://www.linphone.org/ -Source0: http://download.savannah.gnu.org/releases/linphone/3.5.x/sources/%{name}-%{version}.tar.gz +Source0: http://download.savannah.gnu.org/releases/linphone/3.7.x/sources/%{name}-%{version}.tar.gz Patch0: linphone-3.6.1-rootca.patch Patch1: linphone-3.6.1-arm.patch +Patch2: linphone-3.6.1-theora-fix.patch # for video support BuildRequires: glew-devel @@ -101,6 +102,7 @@ Libraries and headers required to develop software with mediastreamer2. %ifarch %{arm} %patch1 -p1 -b .arm %endif +%patch2 -p1 -b .theora-fix autoreconf -i -f