summaryrefslogtreecommitdiff
path: root/lang/guile
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-11-10 09:26:21 +0000
committermaya <maya@pkgsrc.org>2016-11-10 09:26:21 +0000
commitfd66321c0e1eeb96cde7b0e84be8ba1b37e1a373 (patch)
tree47353187f2ea005d1a802b786b883922dc3440db /lang/guile
parent201f04a68d18926a278199462c8b381178373dc8 (diff)
downloadpkgsrc-fd66321c0e1eeb96cde7b0e84be8ba1b37e1a373.tar.gz
guile: SunOS specific changes - don't declare STACKBOTTOM unless
USERLIMIT is given. From Brad Forschinger in PR pkg/49787 Also from both boehm-gc commit, where there is a longer description of issues in issue #122: https://github.com/ivmai/bdwgc/issues/122 https://github.com/ivmai/bdwgc/commit/81cae56522e601fc2e9e9bab08c87d1302c118fb we have the additions here (adding the definition of STACKBOTTOM if USERLIMIT otherwise use HEURISTIC2), but not the removal of the first part, which declares STACKBOTTOM unconditionally. Reportedly fixes build on SunOS 5.10 sun4u.
Diffstat (limited to 'lang/guile')
-rw-r--r--lang/guile/distinfo4
-rw-r--r--lang/guile/patches/patch-ae17
2 files changed, 15 insertions, 6 deletions
diff --git a/lang/guile/distinfo b/lang/guile/distinfo
index 3fe7e5331ea..7402db0f3ab 100644
--- a/lang/guile/distinfo
+++ b/lang/guile/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.49 2015/11/03 22:50:36 agc Exp $
+$NetBSD: distinfo,v 1.50 2016/11/10 09:26:21 maya Exp $
SHA1 (guile-1.8.8.tar.gz) = 548d6927aeda332b117f8fc5e4e82c39a05704f9
RMD160 (guile-1.8.8.tar.gz) = 8ac185a72ad8394b14d5377549e5bbf02889faaa
SHA512 (guile-1.8.8.tar.gz) = ede6feb90cd419d8763feb8c5169275490a653919573c4dfced025b74cf591072b3a10ffb9a3f6ee3fe7b0a0956ffcf434e0859b421455c8349cea56bf427db0
Size (guile-1.8.8.tar.gz) = 3956654 bytes
SHA1 (patch-aa) = 9f697e63f253665c1a1afa3c2827195b9b7638f3
-SHA1 (patch-ae) = e53d126adbc1dc1312d40b3f118bf47591152ce5
+SHA1 (patch-ae) = d7dfd787ce9e89e33ce954de064b81068a1e08f9
SHA1 (patch-ag) = 8aeb781ba43597f37b1ce4aaa2fb0baba2e4ce9c
SHA1 (patch-ah) = 351136075aaaab96117fecc7cedc8ee989d8a1e0
SHA1 (patch-ak) = 6639ea95471a76893b0b074dcbfbd139a1571309
diff --git a/lang/guile/patches/patch-ae b/lang/guile/patches/patch-ae
index 67308939b1b..45470b4c62a 100644
--- a/lang/guile/patches/patch-ae
+++ b/lang/guile/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.17 2013/10/04 18:35:22 joerg Exp $
+$NetBSD: patch-ae,v 1.18 2016/11/10 09:26:21 maya Exp $
---- libguile/gc_os_dep.c.orig 2009-06-26 20:21:44.000000000 +0000
+--- libguile/gc_os_dep.c.orig 2010-12-13 17:25:01.000000000 +0000
+++ libguile/gc_os_dep.c
@@ -132,7 +132,7 @@ typedef int GC_bool;
# define NETBSD
@@ -39,7 +39,16 @@ $NetBSD: patch-ae,v 1.17 2013/10/04 18:35:22 joerg Exp $
*
* MACH_TYPE is a string representation of the machine type.
* OS_TYPE is analogous for the OS.
-@@ -720,10 +729,18 @@ scm_get_stack_base ()
+@@ -716,8 +721,6 @@ scm_get_stack_base ()
+ /* base is a property of the executable, so this should not break */
+ /* old executables. */
+ /* HEURISTIC2 probably works, but this appears to be preferable. */
+-# include <sys/vm.h>
+-# define STACKBOTTOM ((ptr_t) USRSTACK)
+ # ifndef USE_MMAP
+ # define USE_MMAP
+ # endif
+@@ -727,10 +730,18 @@ scm_get_stack_base ()
# define HEAP_START DATAEND
# endif
# define PROC_VDB
@@ -62,7 +71,7 @@ $NetBSD: patch-ae,v 1.17 2013/10/04 18:35:22 joerg Exp $
# include <unistd.h>
# define GETPAGESIZE() sysconf(_SC_PAGESIZE)
/* getpagesize() appeared to be missing from at least one */
-@@ -994,6 +1025,21 @@ scm_get_stack_base ()
+@@ -1008,6 +1019,21 @@ scm_get_stack_base ()
# endif
# endif