patch-gcc_ada_sysdep_c 572 B

1234567891011121314
  1. $OpenBSD: patch-gcc_ada_sysdep_c,v 1.1 2014/02/07 01:27:21 tobiasu Exp $
  2. --- gcc/ada/sysdep.c.orig Sun Jan 19 01:26:27 2014
  3. +++ gcc/ada/sysdep.c Sun Jan 19 01:28:13 2014
  4. @@ -937,7 +937,8 @@ __gnat_localtime_tzoff (const time_t *timer, long *off
  5. struct tm */
  6. #elif defined (__APPLE__) || defined (__FreeBSD__) || defined (linux) ||\
  7. - (defined (__alpha__) && defined (__osf__)) || defined (__GLIBC__)
  8. + (defined (__alpha__) && defined (__osf__)) || defined (__GLIBC__) ||\
  9. + defined (__OpenBSD__)
  10. {
  11. localtime_r (timer, &tp);
  12. *off = tp.tm_gmtoff;