rpms/scim-bridge/devel scim-bridge-0.4.16-fixes-null-imengine.patch, NONE, 1.1 scim-bridge.spec, 1.73, 1.74

Peng Wu pwu at fedoraproject.org
Thu Apr 22 07:39:06 UTC 2010


Author: pwu

Update of /cvs/pkgs/rpms/scim-bridge/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv6757

Modified Files:
	scim-bridge.spec 
Added Files:
	scim-bridge-0.4.16-fixes-null-imengine.patch 
Log Message:
* Thu Apr 22 2010  Peng Wu <pwu at redhat.com> - 0.4.16-5
- Add a patch scim-bridge-0.4.16-fixes-null-imengine.patch,
  Resolves: bug 584462 - [abrt] crash in scim-bridge-0.4.16-4.fc13: Process /usr/bin/scim-bridge was killed by signal 11 (SIGSEGV).



scim-bridge-0.4.16-fixes-null-imengine.patch:
 scim-bridge-agent-imcontext.cpp |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE scim-bridge-0.4.16-fixes-null-imengine.patch ---
Index: scim-bridge-0.4.16/agent/scim-bridge-agent-imcontext.cpp
===================================================================
--- scim-bridge-0.4.16.orig/agent/scim-bridge-agent-imcontext.cpp
+++ scim-bridge-0.4.16/agent/scim-bridge-agent-imcontext.cpp
@@ -662,6 +662,8 @@ void ScimBridgeAgentIMContextImpl::focus
 
 void ScimBridgeAgentIMContextImpl::focus_out ()
 {
+    if (!imengine_shared && imengine == NULL) alloc_imengine ();
+
     ScimBridgeAgentIMContext *focused_imcontext = static_cast<ScimBridgeAgentIMContext*> (get_imengine ()->get_frontend_data ());
 
 	if ( !focused )


Index: scim-bridge.spec
===================================================================
RCS file: /cvs/pkgs/rpms/scim-bridge/devel/scim-bridge.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -p -r1.73 -r1.74
--- scim-bridge.spec	12 Feb 2010 03:24:49 -0000	1.73
+++ scim-bridge.spec	22 Apr 2010 07:39:04 -0000	1.74
@@ -6,7 +6,7 @@
 Name:           scim-bridge
 
 Version:        0.4.16
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        SCIM Bridge Gtk IM module
 
 Group:          System Environment/Libraries
@@ -28,7 +28,7 @@ Patch1:         scim-bridge-0.4.15-hotke
 Patch2:         scim-bridge-0.4.15-bz461373.patch
 Patch3:         scim-bridge-0.4.15-EOF.patch
 Patch4:         scim-bridge-0.4.16-fix-gtk-key-snooper.patch
-
+Patch5:         scim-bridge-0.4.16-fixes-null-imengine.patch
 
 %description
 SCIM Bridge is a C implementation of a Gtk IM module for SCIM.
@@ -87,6 +87,7 @@ This package provides the SCIM Bridge Qt
 pushd client-gtk
 %patch4 -p0
 popd
+%patch5 -p1
 
 %if %{snapshot}
 mkdir m4
@@ -157,6 +158,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Apr 22 2010  Peng Wu <pwu at redhat.com> - 0.4.16-5
+- Add a patch scim-bridge-0.4.16-fixes-null-imengine.patch,
+  Resolves: bug 584462 - [abrt] crash in scim-bridge-0.4.16-4.fc13: Process /usr/bin/scim-bridge was killed by signal 11 (SIGSEGV).
+
 * Fri Feb 12 2010 Peng Wu <pwu at redhat.com> - 0.4.16-4
 - Add a patch scim-bridge-0.4.16-fix-gtk-key-snooper.patch,
   Resolves: bug 554025 (Text input in firefox becomes increasingly sluggish)



More information about the scm-commits mailing list