unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#25922: pkgsrc patches: older Darwin support
@ 2017-03-01 20:28 Thomas Klausner
  2017-03-14 11:30 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Klausner @ 2017-03-01 20:28 UTC (permalink / raw)
  To: 25922; +Cc: Greg Troxel

[-- Attachment #1: Type: text/plain, Size: 119 bytes --]

Another pkgsrc patch concerns itself with supporting older Darwin
releases, attached. Can you please merge it?
 Thomas

[-- Attachment #2: patch-libguile_stime.c --]
[-- Type: text/plain, Size: 480 bytes --]

$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;
     

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25922: pkgsrc patches: older Darwin support
  2017-03-01 20:28 bug#25922: pkgsrc patches: older Darwin support Thomas Klausner
@ 2017-03-14 11:30 ` Andy Wingo
  2017-03-15 18:05   ` Thomas Klausner
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2017-03-14 11:30 UTC (permalink / raw)
  To: Thomas Klausner; +Cc: 25922-done

On Wed 01 Mar 2017 21:28, Thomas Klausner <tk@giga.or.at> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25922: pkgsrc patches: older Darwin support
  2017-03-14 11:30 ` Andy Wingo
@ 2017-03-15 18:05   ` Thomas Klausner
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Klausner @ 2017-03-15 18:05 UTC (permalink / raw)
  To: Andy Wingo; +Cc: 25922-done

On Tue, Mar 14, 2017 at 12:30:32PM +0100, Andy Wingo wrote:
> On Wed 01 Mar 2017 21:28, Thomas Klausner <tk@giga.or.at> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-15 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01 20:28 bug#25922: pkgsrc patches: older Darwin support Thomas Klausner
2017-03-14 11:30 ` Andy Wingo
2017-03-15 18:05   ` Thomas Klausner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).