timezone-fix.patch 493 B

123456789101112131415
  1. diff -NurBabdH gtk+-1.2.10/gtk/testrgb.c gtk+-1.2.10-timezone-fix/gtk/testrgb.c
  2. --- gtk+-1.2.10/gtk/testrgb.c 2000-08-18 23:36:34.000000000 +0200
  3. +++ gtk+-1.2.10-timezone-fix/gtk/testrgb.c 2005-03-03 11:18:09.000000000 +0100
  4. @@ -49,7 +49,10 @@
  5. get_time (void)
  6. {
  7. struct timeval tv;
  8. - struct timezone tz;
  9. + struct timezone {
  10. + int tz_minuteswest; /* minutes W of Greenwich */
  11. + int tz_dsttime; /* type of dst correction */
  12. + } tz;
  13. gettimeofday (&tv, &tz);