[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building gnat-4.9 on kfreebsd/Debian + Hurd



On Thu, 2014-02-27 at 08:42 +0100, Svante Signell wrote:
> On Mon, 2014-02-10 at 16:06 +0100, Xavier Grave wrote:

> I have patched the s-osinte-kfreebsd-gnu.adb, we shall see :)

> > On Mon, 10 Feb 2014 14:01:16 +0000, Brian Drummond wrote:
> > > On Mon, 2014-02-10 at 14:51 +0100, Xavier Grave wrote:
> I think the
> change from gnat-4.8 to gnat-4.9 in s-osinte-posix.adb is wrong
> (edited):

> return timespec'(tv_sec => S,
> -  tv_nsec => long (Long_Long_Integer (F * 10#1#E9)));
> +  tv_nsec => time_t (Long_Long_Integer (F * 10#1#E9)));
> end To_Timespec;

FYI: gnat-4.9 builds fine when going back to the gnat-4.8 version of
s-osinte-posix.adb (and keeping s-osinte-gnu.ads the same as before)
(I think kFreeBSD should build fine too without the need for the latest
update: s-osinte-posix.adb->s-osinte-kfreebsd-gnu.adb
in ada-kfreebsd.diff. Haven't checked (yet) though.)


Reply to: