head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.178 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.176 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.174 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.172 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.170 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.168 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.166 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.164 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.162 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.160 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.158 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.156 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.154 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.152 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.150 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.148 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.146 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.144 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.142 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.140 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.138 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.136 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.134 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.130 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.110 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.132 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.128 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.126 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.124 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.122 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.120 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.118 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.116 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.114 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.112 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.108 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.106 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.104 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.102 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.100 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.98 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.96 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.94 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.92 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.90 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.88 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.86 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.84 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.82 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.80 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.78 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.76 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.74 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.72 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.70 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.68 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.66 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.64 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.62 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.60 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.58 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.56 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.54 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.52 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.50 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.48 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.46 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.44 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.42 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.40 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.38 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.36 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.34 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.32 pkgsrc-2008Q1:1.9.0.30 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.28 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.26 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.24 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.22 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.20 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.18 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.16 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.14 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.12 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.10 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.8 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.6 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.4 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.2 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.8.0.8 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.6 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.4 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.2 netbsd-1-6-1-base:1.8 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1997-09-25:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.9 date 2004.06.22.14.05.39; author minskim; state Exp; branches; next 1.8; 1.8 date 2002.12.17.14.45.13; author drochner; state Exp; branches; next 1.7; 1.7 date 2002.11.25.05.39.35; author schmonz; state Exp; branches; next 1.6; 1.6 date 2002.11.25.04.18.47; author schmonz; state dead; branches; next 1.5; 1.5 date 2001.08.30.13.56.28; author mrg; state Exp; branches; next 1.4; 1.4 date 2000.03.30.11.56.32; author wiz; state dead; branches; next 1.3; 1.3 date 98.08.07.11.13.53; author agc; state Exp; branches; next 1.2; 1.2 date 98.08.05.10.47.20; author frueauf; state Exp; branches; next 1.1; 1.1 date 97.10.27.04.51.39; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.10.27.04.51.39; author hubertf; state Exp; branches; next ; desc @@ 1.9 log @Disable multibyte support only when wctype_t is not available. The previous patches disabled it on NetBSD unconditionally. Bump PKGREVISION. Pointed out by Kibum Han. Thanks to junyoung@@ for testing. OK'ed by schmonz@@ and wiz@@. @ text @$NetBSD: patch-ac,v 1.8 2002/12/17 14:45:13 drochner Exp $ --- include/shmbutil.h.orig Mon May 6 19:58:39 2002 +++ include/shmbutil.h Tue Dec 17 15:27:20 2002 @@@@ -33,7 +33,7 @@@@ #if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H) # include # include -# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ +# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T) # define HANDLE_MULTIBYTE 1 # endif #endif /* HAVE_WCTYPE_H && HAVE_WCHAR_H */ @ 1.8 log @fix a fix: "#define HANDLE_MULTIBYTE 0" doesn't work as expected if it is tested for by "#if defined"... @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && !defined(__NetBSD__) @ 1.7 log @Disable multibyte support on NetBSD to fix compile error. @ text @d3 3 a5 9 --- include/shmbutil.h.orig Mon May 6 13:58:39 2002 +++ include/shmbutil.h @@@@ -30,11 +30,16 @@@@ /* For platforms which support the ISO C amendement 1 functionality we support user defined character classes. */ /* Solaris 2.5 has a bug: must be included before . */ +#if defined (__NetBSD__) +# define HANDLE_MULTIBYTE 0 +#endif d9 2 a10 2 # if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ +# if !defined(HANDLE_MULTIBYTE) a11 1 +# endif a13 1 @ 1.6 log @Update to 2.05b, and fix MASTER_SITES. Lots of changes since 2.05. Here are some of them, excerpted from NEWS: - New code to handle multibyte characters. - `select' was changed to be more ksh-compatible - There is now a bindable edit-and-execute-command readline command, like the vi-mode `v' command, bound to C-xC-e in emacs mode. - The shell now performs arithmetic in the largest integer size the machine supports (intmax_t), instead of long. - There is a new configuration option `--enable-mem-scramble', controls bash malloc behavior of writing garbage characters into memory at allocation and free time. - The `complete' and `compgen' builtins now have a new `-s/-A service' option to complete on names from /etc/services. - `read' has a new `-u fd' option to read from a specified file descriptor. - The expansion of $LINENO inside a shell function is only relative to the function start if the shell is interactive -- if the shell is running a script, $LINENO expands to the line number in the script. This is as POSIX-2001 requires. - The bash debugger in examples/bashdb has been modified to work with the new DEBUG trap semantics, the command set has been made more gdb-like, and the changes to $LINENO make debugging functions work better. Code from Gary Vaughan. - New [n]<&word- and [n]>&word- redirections from ksh93 -- move fds (dup and close). - The `echo' builtin now accepts \0xxx (zero to three octal digits following the `0') in addition to \xxx (one to three octal digits) for SUSv3/XPG6/ POSIX.1-2001 compliance. - Added support for DESTDIR installation root prefix, so you can do a `make install DESTDIR=bash-root' and do easier binary packaging. - New `-A group/-g' option to complete and compgen; does group name completion. - The ksh-like `ERR' trap has been added. The `ERR' trap will be run whenever the shell would have exited if the -e option were enabled. It is not inherited by shell functions. - configure has a new `--enable-largefile' option, like other GNU utilities. - `for' loops now allow empty word lists after `in', like the latest POSIX drafts require. - The builtin `ulimit' now takes two new non-numeric arguments: `hard', meaning the current hard limit, and `soft', meaning the current soft limit, in addition to `unlimited' Also, there is a "New unwind-protect implementation from Paul Eggert", which I believe obviates the need for two sparc64-related patches. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2001/08/30 13:56:28 mrg Exp $ d3 19 a21 78 --- unwind_prot.c.orig Wed Feb 14 23:00:55 2001 +++ unwind_prot.c Thu Aug 30 11:24:44 2001 @@@@ -51,7 +51,7 @@@@ points to this. */ typedef struct { int *variable; - char *desired_setting; + UWP desired_setting; int size; } SAVED_VAR; @@@@ -280,8 +280,9 @@@@ discard_saved_var (sv) SAVED_VAR *sv; { - if (sv->size != sizeof (int)) - free (sv->desired_setting); + if (sv->size != sizeof (int) && sv->size != sizeof (short) && + sv->size != sizeof (char *)) + free (sv->desired_setting.p); free (sv); } @@@@ -293,13 +294,16 @@@@ restore_variable (sv) SAVED_VAR *sv; { - if (sv->size != sizeof (int)) - { - FASTCOPY ((char *)sv->desired_setting, (char *)sv->variable, sv->size); - free (sv->desired_setting); - } - else - *(sv->variable) = (int)sv->desired_setting; + if (sv->size == sizeof (int)) + *(int *)(sv->variable) = sv->desired_setting.i; + else if (sv->size == sizeof (short)) + *(short *)(sv->variable) = sv->desired_setting.s; + else if (sv->size == sizeof (char *)) + *(char **)(sv->variable) = sv->desired_setting.p; + else { + FASTCOPY ((char *)sv->desired_setting.p, (char *)sv->variable, sv->size); + free (sv->desired_setting.p); + } free (sv); } @@@@ -312,19 +316,22 @@@@ void unwind_protect_var (var, value, size) int *var; - char *value; + UWP *value; int size; { SAVED_VAR *s = (SAVED_VAR *)xmalloc (sizeof (SAVED_VAR)); s->variable = var; - if (size != sizeof (int)) - { - s->desired_setting = (char *)xmalloc (size); - FASTCOPY (value, (char *)s->desired_setting, size); - } - else - s->desired_setting = value; + if (size == sizeof (int)) { + s->desired_setting.i = value->i; + } else if (size == sizeof (short)) { + s->desired_setting.s = value->s; + } else if (size == sizeof (char *)) { + s->desired_setting.p = value->p; + } else { + s->desired_setting.p = (char *)xmalloc (size); + FASTCOPY (value, (char *)s->desired_setting.p, size); + } s->size = size; add_unwind_protect ((Function *)restore_variable, (char *)s); } @ 1.5 log @fix bash on sparc64; the patches are from Shin'ichiro TAYA , tested by Martti Kuparinen and myself... @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update bash to 2.04; also add variable BASH_STATIC for static linking. Changes: too many to list here, check the CHANGES file. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 1998/08/07 11:13:53 agc Exp $ d3 78 a80 11 --- lib/glob/Makefile.in.orig Tue Sep 16 12:13:23 1997 +++ lib/glob/Makefile.in Tue Aug 4 21:18:05 1998 @@@@ -46,7 +46,7 @@@@ # The header files for this library. HSOURCES = $(srcdir)/fnmatch.h -OBJECTS = glob.o fnmatch.o +OBJECTS = glob.o #fnmatch.o # The texinfo files which document this library. DOCSOURCE = doc/glob.texi @ 1.3 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update bash2 to 2.02.1, closes pr 5913 by John Darrow. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 11 a11 19 *** lib/glob/Makefile.in.orig Fri Oct 4 19:02:34 1996 --- lib/glob/Makefile.in Tue May 27 01:48:43 1997 *************** *** 45,51 **** # The header files for this library. HSOURCES = $(srcdir)/fnmatch.h ! OBJECTS = glob.o fnmatch.o # The texinfo files which document this library. DOCSOURCE = doc/glob.texi --- 45,51 ---- # The header files for this library. HSOURCES = $(srcdir)/fnmatch.h ! OBJECTS = glob.o #fnmatch.o # The texinfo files which document this library. DOCSOURCE = doc/glob.texi @ 1.1.1.1 log @get everything in @ text @@