pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/guile20/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 19 14:56:17 UTC 2016

Added Files:
        pkgsrc/lang/guile20/patches: patch-libguile_stime.c

Log Message:
Fix building on Darwin.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/guile20/patches/patch-libguile_stime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/guile20/patches/patch-libguile_stime.c
diff -u /dev/null pkgsrc/lang/guile20/patches/patch-libguile_stime.c:1.1
--- /dev/null   Wed Oct 19 14:56:17 2016
+++ pkgsrc/lang/guile20/patches/patch-libguile_stime.c  Wed Oct 19 14:56:17 2016
@@ -0,0 +1,15 @@
+$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;
+     



Home | Main Index | Thread Index | Old Index