diff -Nur rpm.org/SOURCES/anacron-2.3-gregor.patch rpm/SOURCES/anacron-2.3-gregor.patch --- rpm.org/SOURCES/anacron-2.3-gregor.patch 1970-01-01 09:00:00.000000000 +0900 +++ rpm/SOURCES/anacron-2.3-gregor.patch 2004-05-21 21:30:17.000000000 +0900 @@ -0,0 +1,11 @@ +--- anacron-2.3/gregor.c.org 2000-06-23 09:00:14.000000000 +0900 ++++ anacron-2.3/gregor.c 2004-05-21 21:29:13.136792848 +0900 +@@ -65,7 +65,7 @@ + { + int dn; + int i; +- const int isleap; /* save three calls to leap() */ ++ int isleap; /* save three calls to leap() */ + + /* Some validity checks */ + diff -Nur rpm.org/SPECS/anacron.spec rpm/SPECS/anacron.spec --- rpm.org/SPECS/anacron.spec 2004-02-14 04:30:44.000000000 +0900 +++ rpm/SPECS/anacron.spec 2004-05-21 21:31:12.000000000 +0900 @@ -9,6 +9,7 @@ Source2: anacron.init Patch0: anacron-2.3-mk-incl.patch Patch1: anacron-2.3-mail-content-type-77108.patch +Patch2: anacron-2.3-gregor.patch Requires: /bin/sh Requires: crontabs Prereq: /sbin/chkconfig @@ -33,9 +34,10 @@ %setup -q %patch0 -p1 -b .incl %patch1 -p1 -b .charset +%patch2 -p1 -b .gregor %build -make CFLAGS="$RPM_OPT_FLAGS" +make CC=gcc34 CFLAGS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT/{etc/,usr/sbin/,%{_mandir}/man5,%{_mandir}/man8/} @@ -248,3 +250,4 @@ * Sat Apr 10 1999 Chmouel Boudjnah - First version mainly inspired from the Debian package. +