Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Try to build anacron-2.3-30.src.rpm on latest fedora-development
Here is extracted error messages...
gregor.c: In function `day_num':
gregor.c:79: error: assignment of read-only variable `isleap'
make: *** [gregor.o] Error 1
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240043
Debian solved this problem with following patch.
--- anacron-2.3/gregor.c.orig 2000-06-23 02:00:14.000000000 +0200
+++ anacron-2.3/gregor.c 2004-03-26 20:45:13.000000000 +0100
@@ -65,7 +65,7 @@
- const int isleap; /* save three calls to leap() */
+ int isleap; /* save three calls to leap() */
/* Some validity checks */
*** Bug 116249 has been marked as a duplicate of this bug. ***
That is very true.
Sorry for my carelessness.
And, thank you!
It looks like fixed in anacron-2.3-31.