[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25922: pkgsrc patches: older Darwin support
From: |
Thomas Klausner |
Subject: |
bug#25922: pkgsrc patches: older Darwin support |
Date: |
Wed, 15 Mar 2017 19:05:07 +0100 |
On Tue, Mar 14, 2017 at 12:30:32PM +0100, Andy Wingo wrote:
> On Wed 01 Mar 2017 21:28, Thomas Klausner <address@hidden> writes:
>
> > Another pkgsrc patch concerns itself with supporting older Darwin
> > releases, attached. Can you please merge it?
> > Thomas
> >
> > $NetBSD: patch-libguile_stime.c,v 1.1 2016/10/19 14:56:17 adam Exp $
> >
> > Fix building on Darwin.
> >
> > --- libguile/stime.c.orig 2016-10-19 07:55:02.000000000 +0000
> > +++ libguile/stime.c
> > @@ -828,7 +828,7 @@ scm_init_stime()
> > if (clock_gettime (CLOCK_REALTIME, &posix_real_time_base) == 0)
> > get_internal_real_time = get_internal_real_time_posix_timer;
> >
> > -#ifdef HAVE_POSIX_CPUTIME
> > +#if defined(HAVE_POSIX_CPUTIME) && defined(HAVE_CLOCK_GETCPUCLOCKID)
> > {
> > clockid_t dummy;
> >
>
> I believe this was fixed in 2.1.6, so I think you can drop this one.
Confirmed fixed in 2.1.8, thanks!
Thomas