Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d4f852c2d |
2 changed files with 34 additions and 2 deletions
|
|
@ -0,0 +1,27 @@
|
|||
From 4d815754f9f32c54ec47f9e323940f6332a7cb5d Mon Sep 17 00:00:00 2001
|
||||
From: Mike FABIAN <mfabian@redhat.com>
|
||||
Date: Tue, 30 Apr 2019 10:32:13 +0200
|
||||
Subject: [PATCH] Fix segmentation fault when using ibus-m17n with vi-telex in
|
||||
gedit in Gnome Wayland
|
||||
|
||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1704156
|
||||
---
|
||||
src/m17n-core.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/m17n-core.c b/src/m17n-core.c
|
||||
index fe5aa77..642dfee 100644
|
||||
--- a/src/m17n-core.c
|
||||
+++ b/src/m17n-core.c
|
||||
@@ -930,6 +930,8 @@ m17n_object_unref (void *object)
|
||||
M17NObjectRecord *record;
|
||||
unsigned *count;
|
||||
|
||||
+ if (object == NULL)
|
||||
+ return -1;
|
||||
if (! obj->ref_count_extended)
|
||||
{
|
||||
if (! --obj->ref_count)
|
||||
--
|
||||
2.20.1
|
||||
|
||||
|
|
@ -3,13 +3,14 @@
|
|||
|
||||
Name: m17n-lib
|
||||
Version: 1.8.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Multilingual text library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.nongnu.org/m17n/
|
||||
Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-1.8.0-multilib.patch
|
||||
Patch1: Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
|
||||
|
||||
BuildRequires: m17n-db-devel libthai-devel
|
||||
BuildRequires: libxml2-devel libXft-devel
|
||||
|
|
@ -57,7 +58,7 @@ Tools to test M17n GUI widget library.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
#autoreconf -ivf
|
||||
|
|
@ -112,6 +113,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||
%{_libdir}/libm17n-gui.so.*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 30 2019 Mike FABIAN <mfabian@redhat.com> - 1.8.0-3
|
||||
- Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland
|
||||
- Resolves: rhbz#1704156
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue