[twinkle] Fix crash on incoming calls. Fixes bug #786276
Kevin Fenzi
kevin at fedoraproject.org
Wed Feb 1 20:35:04 UTC 2012
commit fbee51a8cb7528c1f1a6ea27560b5989a2198ea8
Author: Kevin Fenzi <kevin at scrye.com>
Date: Wed Feb 1 13:35:01 2012 -0700
Fix crash on incoming calls. Fixes bug #786276
twinkle-1.4.2-crashfix.patch | 13 +++++++++++++
twinkle.spec | 8 +++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/twinkle-1.4.2-crashfix.patch b/twinkle-1.4.2-crashfix.patch
new file mode 100644
index 0000000..17083b9
--- /dev/null
+++ b/twinkle-1.4.2-crashfix.patch
@@ -0,0 +1,13 @@
+diff -up twinkle-1.4.2/src/events.cpp.orig twinkle-1.4.2/src/events.cpp
+--- twinkle-1.4.2/src/events.cpp.orig 2012-01-27 18:04:23.248834949 +0100
++++ twinkle-1.4.2/src/events.cpp 2012-01-27 18:03:45.170604666 +0100
+@@ -407,6 +407,9 @@ void t_event_ui::set_display_msg(const s
+
+ void t_event_ui::exec(t_userintf *user_intf) {
+ switch (type) {
++ case TYPE_UI_CB_DISPLAY_MSG:
++ ui->cb_display_msg(msg, msg_priority);
++ break;
+ case TYPE_UI_CB_DTMF_DETECTED:
+ ui->cb_dtmf_detected(line, dtmf_event);
+ break;
diff --git a/twinkle.spec b/twinkle.spec
index 775cc9e..1e7195f 100644
--- a/twinkle.spec
+++ b/twinkle.spec
@@ -1,6 +1,6 @@
Name: twinkle
Version: 1.4.2
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: A SIP Soft Phone
Group: Applications/Internet
@@ -11,6 +11,8 @@ Patch0: twinkle-1.1-msg.patch
Patch1: twinkle-1.4.2-libccrtp.patch
Patch2: twinkle-1.4.2-cpp.patch
Patch3: twinkle-1.4.2-localtime.patch
+# Fix crash on incoming calls. https://bugzilla.redhat.com/show_bug.cgi?id=786276
+Patch4: twinkle-1.4.2-crashfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: commoncpp2-devel
@@ -42,6 +44,7 @@ Twinkle is a SIP based soft phone for making telephone calls over IP networks.
%patch1 -p1 -b .ccrtp
%patch2 -p1 -b .cpp
%patch3 -p1 -b .localtime
+%patch4 -p1 -b .crashfix
%build
export LDFLAGS=-lkio
@@ -84,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Wed Feb 01 2012 Kevin Fenzi <kevin at scrye.com> 1.4.2-16
+- Fix crash on incoming calls. Fixes bug #786276
+
* Mon Jan 23 2012 Kevin Fenzi <kevin at scrye.com> 1.4.2-16
- Fix for new libzrtpcpp
- Drop Fedora talk patch
More information about the scm-commits
mailing list