pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/guile20 Fix building on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1853eefc581a
branches:  trunk
changeset: 354096:1853eefc581a
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 19 14:55:27 2016 +0000

description:
Fix building on Darwin.

diffstat:

 lang/guile20/distinfo                       |   3 ++-
 lang/guile20/patches/patch-libguile_stime.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r f45d8f705469 -r 1853eefc581a lang/guile20/distinfo
--- a/lang/guile20/distinfo     Wed Oct 19 14:47:19 2016 +0000
+++ b/lang/guile20/distinfo     Wed Oct 19 14:55:27 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/07/16 09:17:53 wiz Exp $
+$NetBSD: distinfo,v 1.4 2016/10/19 14:55:27 adam Exp $
 
 SHA1 (guile-2.0.12.tar.gz) = 51eeedadb1e12be2b728afca0a8685f69cf55f04
 RMD160 (guile-2.0.12.tar.gz) = 2967ee3a3214d1dd6f901539cf963dd2388589e6
 SHA512 (guile-2.0.12.tar.gz) = 638562b18bca8f5192ea116f89de5802c1193440c6394bbc2aad873a5b897dc9a2a05f05208c089437626d25ea4ab016bea56feb04a8cdea26d7e495cd5b3a7b
 Size (guile-2.0.12.tar.gz) = 7421088 bytes
+SHA1 (patch-libguile_stime.c) = a817e58e4ec05ad040a11ccdaacca53511ad0ad8
diff -r f45d8f705469 -r 1853eefc581a lang/guile20/patches/patch-libguile_stime.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile20/patches/patch-libguile_stime.c       Wed Oct 19 14:55:27 2016 +0000
@@ -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