patch-gcc_ada_a-calend_adb 632 B

123456789101112131415
  1. $OpenBSD: patch-gcc_ada_a-calend_adb,v 1.1.1.1 2016/09/04 16:20:15 pascal Exp $
  2. --- gcc/ada/a-calend.adb.orig Mon Jan 20 00:59:54 2014
  3. +++ gcc/ada/a-calend.adb Mon Jan 20 01:00:33 2014
  4. @@ -684,9 +684,7 @@ package body Ada.Calendar is
  5. type int_Pointer is access all Interfaces.C.int;
  6. type long_Pointer is access all Interfaces.C.long;
  7. - type time_t is
  8. - range -(2 ** (Standard'Address_Size - Integer'(1))) ..
  9. - +(2 ** (Standard'Address_Size - Integer'(1)) - 1);
  10. + type time_t is new Long_Long_Integer;
  11. type time_t_Pointer is access all time_t;
  12. procedure localtime_tzoff