rpms/ghex/devel ghex-search-crash.patch, NONE, 1.1 ghex.spec, 1.11, 1.12

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Wed Aug 9 06:10:27 UTC 2006


Author: thl

Update of /cvs/extras/rpms/ghex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20465

Modified Files:
	ghex.spec 
Added Files:
	ghex-search-crash.patch 
Log Message:
2.8.2-2 -- apply ghex-search-crash.patch from b.g.o #339055, fixes #175957

ghex-search-crash.patch:

--- NEW FILE ghex-search-crash.patch ---
--- src/gtkhex.c
+++ src/gtkhex.c
@@ -2290,7 +2290,7 @@
 												   gint len,
 												   const gchar *colour)
 {
-	GtkHex_AutoHighlight *new = g_malloc0(sizeof(GtkHex_Highlight));
+	GtkHex_AutoHighlight *new = g_malloc0(sizeof(GtkHex_AutoHighlight));
 
 	new->search_string = g_memdup(search, len);
 	new->search_len = len;


Index: ghex.spec
===================================================================
RCS file: /cvs/extras/rpms/ghex/devel/ghex.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ghex.spec	15 Jul 2006 14:26:15 -0000	1.11
+++ ghex.spec	9 Aug 2006 06:10:27 -0000	1.12
@@ -1,6 +1,6 @@
 Name:           ghex
 Version:        2.8.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        Binary editor for GNOME
 
@@ -8,7 +8,8 @@
 License:        GPL
 URL:            http://www.gnome.org/softwaremap/projects/ghex
 Source0:        http://ftp.gnome.org/pub/GNOME/sources/ghex/2.8/ghex-2.8.2.tar.bz2
-Patch:          ghex-no-scrollkeeper.patch
+Patch0:         ghex-no-scrollkeeper.patch
+Patch1:		ghex-search-crash.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libgnomeui-devel
@@ -42,7 +43,8 @@
 
 %prep
 %setup -q
-%patch -p1 -b .noscrollkeeper
+%patch0 -p1 -b .noscrollkeeper
+%patch1 -b .searchcrash
 
 %build
 %configure
@@ -108,6 +110,9 @@
 
 
 %changelog
+* Wed Aug 09 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 2.8.2-2
+- apply ghex-search-crash.patch from b.g.o #339055 -- fixes #175957 
+
 * Sat Jul 15 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 2.8.2-1
 - Update to 2.8.2
 - Don't use the libtool worksaroung anymore




More information about the fedora-extras-commits mailing list