rpms/tk/F-12 tk-8.5.7-color.patch,NONE,1.1 tk.spec,1.64,1.65

Nikola Pajkovsky npajkovs at fedoraproject.org
Wed Dec 9 18:36:28 UTC 2009


Author: npajkovs

Update of /cvs/extras/rpms/tk/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv715

Modified Files:
	tk.spec 
Added Files:
	tk-8.5.7-color.patch 
Log Message:
Resolves: #545807 - Color hash problem on x86_64

tk-8.5.7-color.patch:
 tkColor.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE tk-8.5.7-color.patch ---
--- tk8.5.7/generic/tkColor.c.color	2007-12-13 16:24:13.000000000 +0100
+++ tk8.5.7/generic/tkColor.c	2009-12-09 19:22:12.207246662 +0100
@@ -302,6 +302,7 @@
      * First, check to see if there's already a mapping for this color name.
      */
 
+    memset(&valueKey, 0, sizeof(valueKey));
     valueKey.red = colorPtr->red;
     valueKey.green = colorPtr->green;
     valueKey.blue = colorPtr->blue;


Index: tk.spec
===================================================================
RCS file: /cvs/extras/rpms/tk/F-12/tk.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -p -r1.64 -r1.65
--- tk.spec	11 Aug 2009 08:02:52 -0000	1.64
+++ tk.spec	9 Dec 2009 18:36:28 -0000	1.65
@@ -4,7 +4,7 @@
 Summary: The graphical toolkit for the Tcl scripting language
 Name: tk
 Version: %{vers}
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch:   1
 License: TCL
 Group: Development/Languages
@@ -25,6 +25,8 @@ Patch1: tk8.5-make.patch
 Patch2: tk8.5-conf.patch
 # this patch isn't needed since tk8.6b1
 Patch3: tk-seg_input.patch
+# this patch is tracked in tk tracker
+Patch4: tk-8.5.7-color.patch
 
 %description
 When paired with the Tcl scripting language, Tk provides a fast and powerful
@@ -49,6 +51,7 @@ The package contains the development fil
 %patch1 -p1 -b .make
 %patch2 -p1 -b .conf
 %patch3 -p1 -b .seg
+%patch4 -p1 -b .color
 
 %build
 cd unix
@@ -116,6 +119,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Wed Dec 9 2009 Nikola Pajkovsky <npajkovs at redhat.com> - 1:8.5.7-3
+- Resolves: #545807 - Color hash problem on x86_64
+
 * Tue Aug 11 2009 Nikola Pajkovsky <npajkovs at redhat.com> - 1:8.5.7-2
 - Fix Source0 url
 




More information about the scm-commits mailing list