rpms/gcalctool/devel fortify.patch, NONE, 1.1 gcalctool.spec, 1.62, 1.63

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Apr 8 16:39:35 UTC 2008


Author: mclasen

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

Modified Files:
	gcalctool.spec 
Added Files:
	fortify.patch 
Log Message:
Don't abort on the first keypress


fortify.patch:

--- NEW FILE fortify.patch ---
diff -up gcalctool-5.22.1/gcalctool/gtk.c.fortify gcalctool-5.22.1/gcalctool/gtk.c
--- gcalctool-5.22.1/gcalctool/gtk.c.fortify	2008-04-08 12:28:12.000000000 -0400
+++ gcalctool-5.22.1/gcalctool/gtk.c	2008-04-08 12:28:38.000000000 -0400
@@ -917,7 +917,6 @@ set_bit_panel()
 
           case EXPRS: 
               {
-                  char *bit_str, label[3], tmp[MAXLINE];
                   int ret = usable_num(MP);
                   if (ret || !is_integer(MP)) {
                       gtk_widget_set_sensitive(X->bit_panel, FALSE);


Index: gcalctool.spec
===================================================================
RCS file: /cvs/extras/rpms/gcalctool/devel/gcalctool.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- gcalctool.spec	7 Apr 2008 15:52:41 -0000	1.62
+++ gcalctool.spec	8 Apr 2008 16:38:39 -0000	1.63
@@ -1,6 +1,6 @@
 Name:           gcalctool
 Version:        5.22.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A desktop calculator
 
 Group:          Applications/System
@@ -9,6 +9,9 @@
 Source0:        http://download.gnome.org/sources/gcalctool/5.22/gcalctool-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=526976         
+Patch0:		fortify.patch
+
 BuildRequires: atk-devel >= 1.5
 BuildRequires: glib2-devel
 BuildRequires: gtk2-devel >= 2.6.0
@@ -37,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .fortify
 
 
 %build
@@ -100,6 +104,9 @@
 
 
 %changelog
+* Tue Apr  8 2008 Matthias Clasen <mclasen at redhat.com> - 5.22.1-2
+- Don't abort on the first keypress
+
 * Mon Apr  7 2008 Matthias Clasen <mclasen at redhat.com> - 5.22.1-1
 - Update to 5.22.1
 




More information about the fedora-extras-commits mailing list