head 1.4; access; symbols pkgsrc-2021Q4:1.3.0.102 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.100 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.98 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.96 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.94 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.92 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.88 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.68 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.90 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.86 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.84 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.82 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.80 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.78 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.76 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.74 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.72 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.70 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.66 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.64 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.62 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.60 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.58 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.56 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.54 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.52 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.50 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.48 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.46 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.44 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.42 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.40 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.38 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.36 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.34 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.32 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.30 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.28 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.26 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.24 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.22 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.20 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.18 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.16 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.14 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.12 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2008Q4:1.2.0.14 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.12 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.10 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.8 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.6 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.4 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.1.0.2 pkgsrc-2007Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2022.03.07.20.37.18; author wiz; state dead; branches; next 1.3; commitid UsOdw8mviv8KfkvD; 1.3 date 2009.04.07.10.53.08; author drochner; state Exp; branches; next 1.2; 1.2 date 2007.07.20.00.09.24; author gdt; state dead; branches; next 1.1; 1.1 date 2007.06.12.03.02.35; author dmcmahill; state Exp; branches; next ; desc @@ 1.4 log @guile: remove, reimported to lang/guile18 @ text @$NetBSD: patch-ao,v 1.3 2009/04/07 10:53:08 drochner Exp $ --- libguile/threads.c.orig 2008-12-08 18:42:56.000000000 +0100 +++ libguile/threads.c @@@@ -624,7 +624,7 @@@@ scm_i_init_thread_for_guile (SCM_STACKIT #if SCM_USE_PTHREAD_THREADS -#if HAVE_PTHREAD_ATTR_GETSTACK && HAVE_PTHREAD_GETATTR_NP +#if HAVE_PTHREAD_ATTR_GETSTACK && (HAVE_PTHREAD_GETATTR_NP || HAVE_PTHREAD_ATTR_GET_NP) /* This method for GNU/Linux and perhaps some other systems. It's not for MacOS X or Solaris 10, since pthread_getattr_np is not available on them. */ @@@@ -637,9 +637,17 @@@@ get_thread_stack_base () void *start, *end; size_t size; +#ifdef HAVE_PTHREAD_ATTR_GET_NP + pthread_attr_init(&attr); + pthread_attr_get_np(pthread_self (), &attr); +#else pthread_getattr_np (pthread_self (), &attr); +#endif pthread_attr_getstack (&attr, &start, &size); end = (char *)start + size; +#ifdef HAVE_PTHREAD_ATTR_GET_NP + pthread_attr_destroy(&attr); +#endif /* XXX - pthread_getattr_np from LinuxThreads does not seem to work for the main thread, but we can use scm_get_stack_base in that @ 1.3 log @support NetBSD's pthread_attr_get_np() which is similar to Linux's pthread_getattr_np(), just different, needed for get_thread_stack_base() to work which is needed for the scm_init_guile() API approved by gdt bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.8.2. Several patches are now applied upstream. Several others required significant adjustment due to upstream changes. Tested on NetBSD-current/i386. Changes in 1.8.2 (since 1.8.1): * New procedures (see the manual for details) ** set-program-arguments ** make-vtable * Incompatible changes ** The body of a top-level `define' no longer sees the binding being created In a top-level `define', the binding being created is no longer visible from the `define' body. This breaks code like "(define foo (begin (set! foo 1) (+ foo 1)))", where `foo' is now unbound in the body. However, such code was not R5RS-compliant anyway, per Section 5.2.1. * Bugs fixed ** Fractions were not `equal?' if stored in unreduced form. (A subtle problem, since printing a value reduced it, making it work.) ** srfi-60 `copy-bit' failed on 64-bit systems ** "guile --use-srfi" option at the REPL can replace core functions (Programs run with that option were ok, but in the interactive REPL the core bindings got priority, preventing SRFI replacements or extensions.) ** `regexp-exec' doesn't abort() on #\nul in the input or bad flags arg ** `kill' on mingw throws an error for a PID other than oneself ** Procedure names are attached to procedure-with-setters ** Array read syntax works with negative lower bound ** `array-in-bounds?' fix if an array has different lower bounds on each index ** `*' returns exact 0 for "(* inexact 0)" This follows what it always did for "(* 0 inexact)". ** SRFI-19: Value returned by `(current-time time-process)' was incorrect ** SRFI-19: `date->julian-day' did not account for timezone offset ** `ttyname' no longer crashes when passed a non-tty argument ** `inet-ntop' no longer crashes on SPARC when passed an `AF_INET' address ** Small memory leaks have been fixed in `make-fluid' and `add-history' ** GOOPS: Fixed a bug in `method-more-specific?' ** Build problems on Solaris fixed ** Build problems on HP-UX IA64 fixed ** Build problems on MinGW fixed @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.1 2007/06/12 03:02:35 dmcmahill Exp $ d3 5 a7 5 64-bit fix from Debian --- test-suite/tests/numbers.test.orig 2006-10-04 03:35:10.000000000 +0000 +++ test-suite/tests/numbers.test @@@@ -2243,7 +2243,7 @@@@ d9 8 a16 17 (with-test-prefix "big / real" (pass-if (nan? (max big*5 +nan.0))) - (pass-if (= big*5 (max big*5 -inf.0))) + (pass-if (eqv? (exact->inexact big*5) (max big*5 -inf.0))) (pass-if (= +inf.0 (max big*5 +inf.0))) (pass-if (= 1.0 (max (- big*5) 1.0))) (pass-if (inexact? (max big*5 1.0))) @@@@ -2252,7 +2252,7 @@@@ (with-test-prefix "real / big" (pass-if (nan? (max +nan.0 big*5))) (pass-if (= +inf.0 (max +inf.0 big*5))) - (pass-if (= big*5 (max -inf.0 big*5))) + (pass-if (eqv? (exact->inexact big*5) (max -inf.0 big*5))) (pass-if (= 1.0 (max 1.0 (- big*5)))) (pass-if (inexact? (max 1.0 big*5))) (pass-if (= (exact->inexact big*5) (max 1.0 big*5)))) @@@@ -2370,7 +2370,7 @@@@ d18 11 a28 8 (with-test-prefix "big / real" (pass-if (nan? (min big*5 +nan.0))) - (pass-if (= big*5 (min big*5 +inf.0))) + (pass-if (eqv? (exact->inexact big*5) (min big*5 +inf.0))) (pass-if (= -inf.0 (min big*5 -inf.0))) (pass-if (= 1.0 (min big*5 1.0))) (pass-if (inexact? (min (- big*5) 1.0))) @@@@ -2378,7 +2378,7 @@@@ d30 2 a31 7 (with-test-prefix "real / big" (pass-if (nan? (min +nan.0 big*5))) - (pass-if (= big*5 (min +inf.0 big*5))) + (pass-if (eqv? (exact->inexact big*5) (min +inf.0 big*5))) (pass-if (= -inf.0 (min -inf.0 big*5))) (pass-if (= 1.0 (min 1.0 big*5))) (pass-if (inexact? (min 1.0 (- big*5)))) @ 1.1 log @Update to guile-1.8.1. Note that the 1.6.x series of guile is still available in lang/guile16. Many, many changes since the last 1.6.x release including bug fixes, build fixes, and many feature additions. See the NEWS file for the full (> 1,000 lines) list of changes. @ text @d1 1 a1 1 $NetBSD$ @