public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Added ibus-xx-segv-reg-prop.patch to avoid segv
Date: Sun, 31 May 2026 02:05:45 GMT	[thread overview]
Message-ID: <178019314598.1.5351347132417424609.rpms-ibus-c0fd76cd793a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : c0fd76cd793aaf50443e0978bf2ff05020000d0a
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2012-09-14T21:21:24+09:00
Stats  : +21/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/c0fd76cd793aaf50443e0978bf2ff05020000d0a?branch=autotool

Log:
Added ibus-xx-segv-reg-prop.patch to avoid segv

---
diff --git a/ibus-xx-segv-reg-prop.patch b/ibus-xx-segv-reg-prop.patch
new file mode 100644
index 0000000..05c11a3
--- /dev/null
+++ b/ibus-xx-segv-reg-prop.patch
@@ -0,0 +1,15 @@
+--- ibus-1.4.99.20120914/bus/ibusimpl.c.orig	2012-09-14 21:11:37.627075831 +0900
++++ ibus-1.4.99.20120914/bus/ibusimpl.c	2012-09-14 21:12:41.632072691 +0900
+@@ -282,8 +282,10 @@ _dbus_name_owner_changed_cb (BusDBusImpl
+                 if (engine != NULL) {
+                     IBusPropList *prop_list =
+                         bus_engine_proxy_get_properties (engine);
+-                    bus_panel_proxy_register_properties (ibus->panel,
+-                                                         prop_list);
++                    if (prop_list) {
++                        bus_panel_proxy_register_properties (ibus->panel,
++                                                             prop_list);
++                    }
+                 }
+             }
+         }

diff --git a/ibus.spec b/ibus.spec
index e3a0594..80c1eec 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
 
 Name:       ibus
 Version:    1.4.99.20120914
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -39,6 +39,7 @@ Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:    xinput-ibus
 Source2:    http://fujiwara.fedorapeople.org/ibus/gnome-shell/ibus-gjs-%{ibus_gjs_version}.tar.gz
 # Patch0:     ibus-HEAD.patch
+Patch0:     ibus-xx-segv-reg-prop.patch
 Patch1:     ibus-810211-no-switch-by-no-trigger.patch
 Patch2:     ibus-541492-xkb.patch
 Patch3:     ibus-530711-preload-sys.patch
@@ -211,6 +212,7 @@ zcat %SOURCE2 | tar xf -
 %endif
 
 # patch0 -p1
+%patch0 -p1
 %patch92 -p1 -b .g-s-preedit
 cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c ||
 %patch1 -p1 -b .noswitch
@@ -473,6 +475,9 @@ dconf update
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Fri Sep 14 2012 Takao Fujiwara <tfujiwar@redhat.com> - 1.4.99.20120914-2
+- Added ibus-xx-segv-reg-prop.patch to avoid segv
+
 * Fri Sep 14 2012 Takao Fujiwara <tfujiwar@redhat.com> - 1.4.99.20120914-1
 - Bumped to 1.4.99.20120914
 

                 reply	other threads:[~2026-05-31  2:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019314598.1.5351347132417424609.rpms-ibus-c0fd76cd793a@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox