[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25922: pkgsrc patches: older Darwin support
From: |
Andy Wingo |
Subject: |
bug#25922: pkgsrc patches: older Darwin support |
Date: |
Tue, 14 Mar 2017 12:30:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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.
Andy