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

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).