diff options
author | spz <spz@pkgsrc.org> | 2016-12-11 15:56:13 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2016-12-11 15:56:13 +0000 |
commit | ac49c4810fa81236554d623b39aa0225d4bad2cc (patch) | |
tree | c3389b2bcd79f14a55a381c227af9485e6961f7f | |
parent | 94dcf402b7256d0a7b6ea273a97cb4c062a2b6cb (diff) | |
download | pkgsrc-ac49c4810fa81236554d623b39aa0225d4bad2cc.tar.gz |
Pullup ticket #5154 - requested by bsiegert
lang/guile20: build fix
Revisions pulled up:
- lang/guile20/distinfo 1.4
- lang/guile20/patches/patch-libguile_stime.c 1.1
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: adam
Date: Wed Oct 19 14:55:27 UTC 2016
Modified Files:
pkgsrc/lang/guile20: distinfo
Log Message:
Fix building on Darwin.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/guile20/distinfo
-------------------------------------------------------------------
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
-rw-r--r-- | lang/guile20/distinfo | 3 | ||||
-rw-r--r-- | lang/guile20/patches/patch-libguile_stime.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/guile20/distinfo b/lang/guile20/distinfo index 01a38807ed3..d195c4392b0 100644 --- a/lang/guile20/distinfo +++ b/lang/guile20/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2016/07/16 09:17:53 wiz Exp $ +$NetBSD: distinfo,v 1.3.2.1 2016/12/11 15:56:13 spz 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 --git a/lang/guile20/patches/patch-libguile_stime.c b/lang/guile20/patches/patch-libguile_stime.c new file mode 100644 index 00000000000..6ff04fd68d0 --- /dev/null +++ b/lang/guile20/patches/patch-libguile_stime.c @@ -0,0 +1,15 @@ +$NetBSD: patch-libguile_stime.c,v 1.1.2.2 2016/12/11 15:56:13 spz 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; + |