summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2011-05-12 12:15:41 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2011-05-12 12:15:41 +0000
commit9078f83caf7874008c4e1e8e020cc0f594aa4ecc (patch)
treeb3344844f39ed7f20167dc6eb6613c8a45fb419d /lang
parent1a705f44f43e72151d15d84bd2c41ca7070eddf3 (diff)
downloadpkgsrc-9078f83caf7874008c4e1e8e020cc0f594aa4ecc.tar.gz
Increase default stack limit. This gets around a problem where the
standalone guile program fails to run (with a guile stack overflow) on at least NetBSD-5.1/alpha. http://lists.gnu.org/archive/html/guile-user/2009-12/msg00019.html and http://lists.gnu.org/archive/html/guile-devel/2009-03/msg00114.html show that others have had problems here.
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/Makefile3
-rw-r--r--lang/guile/distinfo3
-rw-r--r--lang/guile/patches/patch-aa17
3 files changed, 21 insertions, 2 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index d0242c2610b..f6823ec35ff 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2010/12/25 09:03:41 asau Exp $
+# $NetBSD: Makefile,v 1.97 2011/05/12 12:15:41 dmcmahill Exp $
DISTNAME= guile-1.8.8
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=guile/}
diff --git a/lang/guile/distinfo b/lang/guile/distinfo
index 070a74349d3..241cbc2eea8 100644
--- a/lang/guile/distinfo
+++ b/lang/guile/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.44 2010/12/25 09:03:41 asau Exp $
+$NetBSD: distinfo,v 1.45 2011/05/12 12:15:41 dmcmahill Exp $
SHA1 (guile-1.8.8.tar.gz) = 548d6927aeda332b117f8fc5e4e82c39a05704f9
RMD160 (guile-1.8.8.tar.gz) = 8ac185a72ad8394b14d5377549e5bbf02889faaa
Size (guile-1.8.8.tar.gz) = 3956654 bytes
+SHA1 (patch-aa) = 9f697e63f253665c1a1afa3c2827195b9b7638f3
SHA1 (patch-ae) = 43ed56936c8871c45ca82d1afef5b2f98b914d32
SHA1 (patch-ag) = 8aeb781ba43597f37b1ce4aaa2fb0baba2e4ce9c
SHA1 (patch-ah) = 351136075aaaab96117fecc7cedc8ee989d8a1e0
diff --git a/lang/guile/patches/patch-aa b/lang/guile/patches/patch-aa
new file mode 100644
index 00000000000..d56d4cca56c
--- /dev/null
+++ b/lang/guile/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.13 2011/05/12 12:15:41 dmcmahill Exp $
+
+### Fix brokenness where the guile standalone program immediately crashes on startup.
+### See http://lists.gnu.org/archive/html/guile-user/2009-12/msg00019.html
+### for details. This was observed on NetBSD-5.1/alpha
+
+--- libguile/eval.c.orig 2010-12-13 17:24:39.000000000 +0000
++++ libguile/eval.c
+@@ -3099,7 +3099,7 @@ scm_t_option scm_debug_opts[] = {
+ { SCM_OPTION_INTEGER, "depth", 20, "Maximal length of printed backtrace." },
+ { SCM_OPTION_BOOLEAN, "backtrace", 0, "Show backtrace on error." },
+ { SCM_OPTION_BOOLEAN, "debug", 0, "Use the debugging evaluator." },
+- { SCM_OPTION_INTEGER, "stack", 20000, "Stack size limit (measured in words; 0 = no check)." },
++ { SCM_OPTION_INTEGER, "stack", 60000, "Stack size limit (measured in words; 0 = no check)." },
+ { SCM_OPTION_SCM, "show-file-name", (unsigned long)SCM_BOOL_T, "Show file names and line numbers in backtraces when not `#f'. A value of `base' displays only base names, while `#t' displays full names."},
+ { SCM_OPTION_BOOLEAN, "warn-deprecated", 0, "Warn when deprecated features are used." }
+ };