From a06c8cc4c1351af22c14aeed7dd565455f557eb00eab0fc858f2b6fe4e908423 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 Feb 2013 20:12:59 +0000 Subject: [PATCH] Accepting request 155837 from home:sbrabec:branches:GNOME:Apps - Removed obsolete ghex-empty-search-crash.patch. (bgo#473208) OBS-URL: https://build.opensuse.org/request/show/155837 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/ghex?expand=0&rev=30 --- ghex-empty-search-crash.patch | 38 ----------------------------------- ghex.changes | 5 +++++ ghex.spec | 5 +---- 3 files changed, 6 insertions(+), 42 deletions(-) delete mode 100644 ghex-empty-search-crash.patch diff --git a/ghex-empty-search-crash.patch b/ghex-empty-search-crash.patch deleted file mode 100644 index 1dd57e3..0000000 --- a/ghex-empty-search-crash.patch +++ /dev/null @@ -1,38 +0,0 @@ -http://bugzilla.gnome.org/show_bug.cgi?id=473208 -================================================================================ ---- src/accessiblegtkhex.c -+++ src/accessiblegtkhex.c -@@ -299,11 +299,13 @@ - format_xblock (gtk_hex, str, 0,gtk_hex->document->file_size); - } - -- utf8 = g_locale_to_utf8 (str, -1, NULL, NULL, NULL); -- gail_text_util_text_setup (access_gtk_hex->textutil, utf8); -+ if (str) { -+ utf8 = g_locale_to_utf8 (str, -1, NULL, NULL, NULL); -+ gail_text_util_text_setup (access_gtk_hex->textutil, utf8); - -+ g_free (utf8); -+ } - g_free (str); -- g_free (utf8); - - return gail_text_util_get_substring (access_gtk_hex->textutil, - start_pos, end_pos); -@@ -494,11 +496,13 @@ - format_xblock (gtkhex, str, 0, gtkhex->document->file_size); - } - -- utf8 = g_locale_to_utf8 (str, -1, NULL, NULL, NULL); -- gail_text_util_text_setup (accessible_gtk_hex->textutil, str); -+ if (str) { -+ utf8 = g_locale_to_utf8 (str, -1, NULL, NULL, NULL); -+ gail_text_util_text_setup (accessible_gtk_hex->textutil, str); - -+ g_free (utf8); -+ } - g_free (str); -- g_free (utf8); - } - - diff --git a/ghex.changes b/ghex.changes index a66f2e5..8fe2c54 100644 --- a/ghex.changes +++ b/ghex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 19 17:17:47 CET 2013 - sbrabec@suse.cz + +- Removed obsolete ghex-empty-search-crash.patch. (bgo#473208) + ------------------------------------------------------------------- Tue Oct 16 16:01:53 UTC 2012 - zaitor@opensuse.org diff --git a/ghex.spec b/ghex.spec index 9ab479a..db53e42 100644 --- a/ghex.spec +++ b/ghex.spec @@ -1,7 +1,7 @@ # # spec file for package ghex # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,8 +24,6 @@ License: GPL-2.0+ Group: Development/Tools/Other Url: http://www.gnome.org/ Source: http://download.gnome.org/sources/ghex/3.6/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM ghex-empty-search-crash.patch bgo#473208 -Patch7: ghex-empty-search-crash.patch BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: intltool @@ -67,7 +65,6 @@ a non-ASCII format for saving. %prep %setup -n ghex-%{version} translation-update-upstream -%patch7 %build %configure --with-pic\