pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/guile20 lang/guile20: Support DragonFly



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60c020b2dcde
branches:  trunk
changeset: 355465:60c020b2dcde
user:      marino <marino%pkgsrc.org@localhost>
date:      Sat Dec 03 03:15:33 2016 +0000

description:
lang/guile20: Support DragonFly

In addition to fixing boehm-gc, guile20 requires a couple of patches
from DPorts to build on DragonFly.

diffstat:

 lang/guile20/distinfo                         |   4 +++-
 lang/guile20/patches/patch-lib_signal.in.h    |  14 ++++++++++++++
 lang/guile20/patches/patch-libguile_threads.c |  15 +++++++++++++++
 3 files changed, 32 insertions(+), 1 deletions(-)

diffs (51 lines):

diff -r bac67da16849 -r 60c020b2dcde lang/guile20/distinfo
--- a/lang/guile20/distinfo     Sat Dec 03 03:09:26 2016 +0000
+++ b/lang/guile20/distinfo     Sat Dec 03 03:15:33 2016 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.4 2016/10/19 14:55:27 adam Exp $
+$NetBSD: distinfo,v 1.5 2016/12/03 03:15:33 marino 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-lib_signal.in.h) = a5ddf019ed1e33b9f5b9994d1368be88660684a5
 SHA1 (patch-libguile_stime.c) = a817e58e4ec05ad040a11ccdaacca53511ad0ad8
+SHA1 (patch-libguile_threads.c) = 6250af1130fb8a6f22db4ba04c9f70bc6c9f0ade
diff -r bac67da16849 -r 60c020b2dcde lang/guile20/patches/patch-lib_signal.in.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile20/patches/patch-lib_signal.in.h        Sat Dec 03 03:15:33 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_signal.in.h,v 1.1 2016/12/03 03:15:33 marino Exp $
+
+DragonFly support.
+
+--- lib/signal.in.h.orig       2016-06-29 09:12:27 UTC
++++ lib/signal.in.h
+@@ -61,6 +61,7 @@
+ #if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \
+     && ((defined __APPLE__ && defined __MACH__) \
+         || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ \
++        || defined __DragonFly__ \
+         || defined __sun || defined __ANDROID__) \
+     && ! defined __GLIBC__
+ # include <pthread.h>
diff -r bac67da16849 -r 60c020b2dcde lang/guile20/patches/patch-libguile_threads.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile20/patches/patch-libguile_threads.c     Sat Dec 03 03:15:33 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libguile_threads.c,v 1.1 2016/12/03 03:15:33 marino Exp $
+
+DragonFly support.
+
+--- libguile/threads.c.orig    2016-06-20 20:35:06 UTC
++++ libguile/threads.c
+@@ -2252,7 +2252,7 @@ scm_ia64_ar_bsp (const void *opaque)
+   return (void *) ctx->uc_mcontext.sc_ar_bsp;
+ }
+ # endif /* linux */
+-# ifdef __FreeBSD__
++# if defined __FreeBSD__ || defined __DragonFly__
+ #  include <ucontext.h>
+ void *
+ scm_ia64_register_backing_store_base (void)



Home | Main Index | Thread Index | Old Index