rpms/gnome-applet-jalali-calendar/devel jalali-calendar-1.6.8-emptyfix.patch, NONE, 1.1 gnome-applet-jalali-calendar.spec, 1.6, 1.7
Hedayat Vatankhah
hedayat at fedoraproject.org
Fri Aug 28 07:26:16 UTC 2009
- Previous message: rpms/libXcursor/devel .cvsignore, 1.10, 1.11 libXcursor.spec, 1.25, 1.26 sources, 1.11, 1.12
- Next message: rpms/libmikmod/F-10 libmikmod-CVE-2007-6720.patch, NONE, 1.1 libmikmod-CVE-2009-0179.patch, NONE, 1.1 libmikmod.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hedayat
Update of /cvs/pkgs/rpms/gnome-applet-jalali-calendar/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11313
Modified Files:
gnome-applet-jalali-calendar.spec
Added Files:
jalali-calendar-1.6.8-emptyfix.patch
Log Message:
A patch to not iterate over an empty list
jalali-calendar-1.6.8-emptyfix.patch:
calendar.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE jalali-calendar-1.6.8-emptyfix.patch ---
diff -up jalali-calendar-1.6.8/src/calendar.py.emptyfix jalali-calendar-1.6.8/src/calendar.py
--- jalali-calendar-1.6.8/src/calendar.py.emptyfix 2009-04-19 15:15:15.000000000 +0430
+++ jalali-calendar-1.6.8/src/calendar.py 2009-08-28 11:34:25.000000000 +0430
@@ -269,7 +269,7 @@ class pcalendar(gtk.Widget):
break
customday =False
- if (gray==False):
+ if ((gray==False)and(self.extraday!=None)):
cd = 0
for ctmp in self.extraday:
if ((self.jmonth==int(ctmp[0]))and (self.day[i][j]==int(ctmp[1]))):
Index: gnome-applet-jalali-calendar.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-applet-jalali-calendar/devel/gnome-applet-jalali-calendar.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- gnome-applet-jalali-calendar.spec 7 Aug 2009 13:00:05 -0000 1.6
+++ gnome-applet-jalali-calendar.spec 28 Aug 2009 07:26:15 -0000 1.7
@@ -1,12 +1,13 @@
Name: gnome-applet-jalali-calendar
Version: 1.6.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Jalali calendar panel applet for GNOME
Group: User Interface/Desktops
License: GPLv2+
URL: http://home.gna.org/jalali-calendar
Source0: http://download.gna.org/jalali-calendar/jalali-calendar-%{version}.tar.bz2
+Patch0: jalali-calendar-1.6.8-emptyfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: gnome-python2-applet gnome-python2-gconf
@@ -25,6 +26,7 @@ Features:
%prep
%setup -n jalali-calendar-%{version} -q
+%patch0 -p1 -b .emptyfix
%build
@@ -42,6 +44,9 @@ rm -rf %{buildroot}
%{_datadir}/jalali-calendar
%changelog
+* Fri Aug 28 2009 Hedayat Vatankhah <hedayat at grad.com> - 1.6.8-2
+- Added a patch to prevent trying to iterate over an empty list
+
* Fri Aug 07 2009 Hedayat Vatankhah <hedayat at grad.com> 1.6.8-1
- Updated to 1.6.8 release
- Previous message: rpms/libXcursor/devel .cvsignore, 1.10, 1.11 libXcursor.spec, 1.25, 1.26 sources, 1.11, 1.12
- Next message: rpms/libmikmod/F-10 libmikmod-CVE-2007-6720.patch, NONE, 1.1 libmikmod-CVE-2009-0179.patch, NONE, 1.1 libmikmod.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list