unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Thomas Klausner <tk@giga.or.at>
To: 25922@debbugs.gnu.org
Cc: Greg Troxel <gdt@lexort.com>
Subject: bug#25922: pkgsrc patches: older Darwin support
Date: Wed, 1 Mar 2017 21:28:16 +0100	[thread overview]
Message-ID: <20170301202816.yyewtkzs3k4gzfgu@danbala> (raw)

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

             reply	other threads:[~2017-03-01 20:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 20:28 Thomas Klausner [this message]
2017-03-14 11:30 ` bug#25922: pkgsrc patches: older Darwin support Andy Wingo
2017-03-15 18:05   ` Thomas Klausner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170301202816.yyewtkzs3k4gzfgu@danbala \
    --to=tk@giga.or.at \
    --cc=25922@debbugs.gnu.org \
    --cc=gdt@lexort.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).