head 1.32; access; symbols pkgsrc-2015Q2:1.31.0.4 pkgsrc-2015Q2-base:1.31 pkgsrc-2015Q1:1.31.0.2 pkgsrc-2015Q1-base:1.31 pkgsrc-2014Q4:1.30.0.6 pkgsrc-2014Q4-base:1.30 pkgsrc-2014Q3:1.30.0.4 pkgsrc-2014Q3-base:1.30 pkgsrc-2014Q2:1.30.0.2 pkgsrc-2014Q2-base:1.30 pkgsrc-2014Q1:1.29.0.8 pkgsrc-2014Q1-base:1.29 pkgsrc-2013Q4:1.29.0.6 pkgsrc-2013Q4-base:1.29 pkgsrc-2013Q3:1.29.0.4 pkgsrc-2013Q3-base:1.29 pkgsrc-2013Q2:1.29.0.2 pkgsrc-2013Q2-base:1.29 pkgsrc-2013Q1:1.28.0.2 pkgsrc-2013Q1-base:1.28 pkgsrc-2012Q4:1.26.0.4 pkgsrc-2012Q4-base:1.26 pkgsrc-2012Q3:1.26.0.2 pkgsrc-2012Q3-base:1.26 pkgsrc-2012Q2:1.22.0.6 pkgsrc-2012Q2-base:1.22 pkgsrc-2012Q1:1.22.0.4 pkgsrc-2012Q1-base:1.22 pkgsrc-2011Q4:1.22.0.2 pkgsrc-2011Q4-base:1.22 pkgsrc-2011Q3:1.21.0.24 pkgsrc-2011Q3-base:1.21 pkgsrc-2011Q2:1.21.0.22 pkgsrc-2011Q2-base:1.21 pkgsrc-2011Q1:1.21.0.20 pkgsrc-2011Q1-base:1.21 pkgsrc-2010Q4:1.21.0.18 pkgsrc-2010Q4-base:1.21 pkgsrc-2010Q3:1.21.0.16 pkgsrc-2010Q3-base:1.21 pkgsrc-2010Q2:1.21.0.14 pkgsrc-2010Q2-base:1.21 pkgsrc-2010Q1:1.21.0.12 pkgsrc-2010Q1-base:1.21 pkgsrc-2009Q4:1.21.0.10 pkgsrc-2009Q4-base:1.21 pkgsrc-2009Q3:1.21.0.8 pkgsrc-2009Q3-base:1.21 pkgsrc-2009Q2:1.21.0.6 pkgsrc-2009Q2-base:1.21 pkgsrc-2009Q1:1.21.0.4 pkgsrc-2009Q1-base:1.21 pkgsrc-2008Q4:1.21.0.2 pkgsrc-2008Q4-base:1.21 pkgsrc-2008Q3:1.20.0.28 pkgsrc-2008Q3-base:1.20 cube-native-xorg:1.20.0.26 cube-native-xorg-base:1.20 pkgsrc-2008Q2:1.20.0.24 pkgsrc-2008Q2-base:1.20 cwrapper:1.20.0.22 pkgsrc-2008Q1:1.20.0.20 pkgsrc-2008Q1-base:1.20 pkgsrc-2007Q4:1.20.0.18 pkgsrc-2007Q4-base:1.20 pkgsrc-2007Q3:1.20.0.16 pkgsrc-2007Q3-base:1.20 pkgsrc-2007Q2:1.20.0.14 pkgsrc-2007Q2-base:1.20 pkgsrc-2007Q1:1.20.0.12 pkgsrc-2007Q1-base:1.20 pkgsrc-2006Q4:1.20.0.10 pkgsrc-2006Q4-base:1.20 pkgsrc-2006Q3:1.20.0.8 pkgsrc-2006Q3-base:1.20 pkgsrc-2006Q2:1.20.0.6 pkgsrc-2006Q2-base:1.20 pkgsrc-2006Q1:1.20.0.4 pkgsrc-2006Q1-base:1.20 pkgsrc-2005Q4:1.20.0.2 pkgsrc-2005Q4-base:1.20 pkgsrc-2005Q3:1.18.0.4 pkgsrc-2005Q3-base:1.18 pkgsrc-2005Q2:1.18.0.2 pkgsrc-2005Q2-base:1.18 pkgsrc-2005Q1:1.17.0.2 pkgsrc-2005Q1-base:1.17 pkgsrc-2004Q4:1.14.0.4 pkgsrc-2004Q4-base:1.14 pkgsrc-2004Q3:1.14.0.2 pkgsrc-2004Q3-base:1.14 pkgsrc-2004Q2:1.12.0.4 pkgsrc-2004Q2-base:1.12 pkgsrc-2004Q1:1.12.0.2 pkgsrc-2004Q1-base:1.12 pkgsrc-2003Q4:1.10.0.4 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.10.0.2 netbsd-1-6-1-base:1.10 netbsd-1-6:1.9.0.6 netbsd-1-6-RELEASE-base:1.9 pkgviews:1.9.0.2 pkgviews-base:1.9 buildlink2:1.7.0.2 buildlink2-base:1.9 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1997-10-03:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.32 date 2015.09.02.10.54.29; author szptvlfn; state dead; branches; next 1.31; commitid je8hn1WvcWaXsFzy; 1.31 date 2015.03.19.12.34.37; author jperkin; state Exp; branches; next 1.30; commitid dMtVVw6BeMp0odey; 1.30 date 2014.06.25.08.38.37; author wiz; state Exp; branches; next 1.29; commitid SXAe3sj27zBeFSFx; 1.29 date 2013.05.10.01.17.33; author riastradh; state Exp; branches; next 1.28; 1.28 date 2013.02.22.13.40.30; author jperkin; state Exp; branches; next 1.27; 1.27 date 2013.01.03.15.37.23; author ryoon; state Exp; branches; next 1.26; 1.26 date 2012.08.17.10.53.10; author wiz; state Exp; branches; next 1.25; 1.25 date 2012.08.17.07.53.39; author wiz; state Exp; branches; next 1.24; 1.24 date 2012.08.16.14.19.35; author wiz; state Exp; branches; next 1.23; 1.23 date 2012.07.22.10.03.40; author ryoon; state Exp; branches; next 1.22; 1.22 date 2011.11.11.18.45.46; author joerg; state Exp; branches; next 1.21; 1.21 date 2008.12.21.16.53.31; author uebayasi; state Exp; branches; next 1.20; 1.20 date 2005.12.07.03.00.50; author uebayasi; state Exp; branches; next 1.19; 1.19 date 2005.10.11.12.43.00; author joerg; state Exp; branches; next 1.18; 1.18 date 2005.04.07.14.16.41; author adam; state Exp; branches; next 1.17; 1.17 date 2005.02.21.11.07.37; author adam; state Exp; branches; next 1.16; 1.16 date 2005.01.21.02.40.41; author uebayasi; state Exp; branches; next 1.15; 1.15 date 2005.01.18.12.44.53; author uebayasi; state Exp; branches; next 1.14; 1.14 date 2004.08.16.16.17.39; author recht; state Exp; branches; next 1.13; 1.13 date 2004.08.04.03.33.40; author minskim; state Exp; branches; next 1.12; 1.12 date 2004.03.28.10.30.13; author recht; state dead; branches; next 1.11; 1.11 date 2004.02.02.08.48.40; author uebayasi; state Exp; branches; next 1.10; 1.10 date 2002.08.25.21.50.52; author jlam; state Exp; branches; next 1.9; 1.9 date 2002.07.18.18.01.56; author mycroft; state Exp; branches; next 1.8; 1.8 date 2002.06.03.13.49.31; author tron; state dead; branches; next 1.7; 1.7 date 2002.03.04.20.27.45; author tron; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2001.07.23.18.23.45; author nra; state dead; branches; next 1.5; 1.5 date 2001.06.20.05.39.03; author jtb; state Exp; branches; next 1.4; 1.4 date 2001.06.05.16.28.08; author jtb; state dead; branches; next 1.3; 1.3 date 2000.01.06.22.42.15; author windsor; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.14.02; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.24.14.14.33; author agc; state Exp; branches 1.1.1.1; next ; 1.7.2.1 date 2002.06.23.18.59.37; author jlam; state dead; branches; next 1.7.2.2; 1.7.2.2 date 2002.08.25.21.21.18; author jlam; state Exp; branches; next ; 1.1.1.1 date 97.10.24.14.14.33; author agc; state Exp; branches; next ; desc @@ 1.32 log @Update to 5.1 pkgsrc changes: removed patch: patch-Completion_Unix_Command__du patch-Completion_Unix_Command__sort patch-Src_builtin.c patch-Test_B03print.ztst quote from zsh-5.1/ChangeLog: * 36120: Completion/Unix/Command/_sort: Fix syntax error * 35467: Completion/Unix/Command/_du: complete files for non-GNU du * 35412: Src/builtin.c, Test/B03print.ztst: fix for - flag when formating strings with printf that was broken in 34841 separate a patch ( $ mv patches/patch-ac files/patch-ac ) zsh-5.1/NEWS: Changes from 5.0.8 to 5.1 ------------------------- The builtins declare, export, local, readonly and typeset now have corresponding reserved words. When used in this form, the builtin syntax is extended so that assignments following the reserved word are treated similarly to assignments that appear at the start of the command line. For example, local scalar=`echo one word` array=(several words) creates a local "scalar" containing the text "one word" and an array "array" containing the words "several" "words". - The print builtin has new options -x and -X to expand tabs. - Several new command completions and numerous updates to others. - Options to "fc" to segregate internal and shared history. - All emulations including "sh" use multibyte by default; several repairs to multibyte handling. - ZLE supports "bracketed paste" mode to avoid interpreting pasted newlines as accept-line. Pastes can be highlighted for visibility and to make it more obvious whether accept-line has occurred. - Improved (though still not perfect) POSIX compatibility for getopts builtin when POSIX_BUILTINS is set. - New setopt APPEND_CREATE for POSIX-compatible NO_CLOBBER behavior. - Completion of date values now displays in a calendar format when the complist module is available. Controllable by zstyle. - New parameter UNDO_LIMIT_NO for more control over ZLE undo repeat. - Several repairs/improvements to the contributed narrow-to-region ZLE function. - Many changes to child-process and signal handling to eliminate race conditions and avoid deadlocks on descriptor and memory management. - New builtin sysopen in zsh/system module for detailed control of file descriptor modes. zsh-5.1/README: Incompatibilites between 5.0.8 and 5.1 -------------------------------------- The default behaviour when text is pasted into an X Windows terminal has changed significantly (unless you are using a very old terminal emulator that doesn't support this mode). Now, the new "bracketed paste mode" treats all the pasted text as literal characters. This means, in particular, that a newline is simply inserted as a visible newline; you need to hit Return on the keyboard to execute the pasted text in one go. See the description of zle_bracketed_paste in the zshparams manual for more. "unset zle_bracketed_paste" restores the previous behaviour. As noted in NEWS, the builtins declare, export, float, integer, local, readonly and typeset now have corresponding reserved words that provide true assignment semantics instead of an approximation by means of normal command line arguments. It is hoped that this additional consistency provides a more natural interface. However, compatbility with older versions of zsh can be obtained by turning off the reserved word interface, exposing the builtin interface: disable -r declare export float integer local readonly typeset This is also necessary in the unusual eventuality that the builtins are to be overridden by shell functions, since reserved words take precedence over functions. @ text @$NetBSD: patch-ac,v 1.31 2015/03/19 12:34:37 jperkin Exp $ First chunk: Don't use _POSIX_C_SOURCE on SunOS with c99. Next chunks: Use a compile test, not a run test, for whether various rlimit values are equivalent. A compile test is sufficient because zsh uses these values in switch cases, so they must be compile-time, if not preprocessor-time, constants. Last-but-one chunk: Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi in PR pkg/25946. Last chunk: Use -shared instead of -G on SunOS. Fixes 64-bit package. --- configure.orig 2014-09-23 18:56:57.000000000 +0000 +++ configure @@@@ -7645,7 +7645,9 @@@@ if ${zsh_cv_type_sigset_t+:} false; then else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#ifndef __sun #define _POSIX_C_SOURCE 200809L +#endif #include #include int @@@@ -10233,9 +10235,6 @@@@ $as_echo_n "checking if RLIMIT_VMEM and if ${zsh_cv_rlimit_vmem_is_rss+:} false; then : $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then : - zsh_cv_rlimit_vmem_is_rss=no -else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@@@ -10244,43 +10243,33 @@@@ else #include #endif #include -int main() +int +main () { -int ret = 1; -#if defined(HAVE_RLIMIT_VMEM) && defined(HAVE_RLIMIT_RSS) -if (RLIMIT_RSS == RLIMIT_VMEM) ret = 0; -#endif -return ret; +static char x[(RLIMIT_VMEM == RLIMIT_RSS)? 1 : -1] + ; + return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : zsh_cv_rlimit_vmem_is_rss=yes else zsh_cv_rlimit_vmem_is_rss=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $zsh_cv_rlimit_vmem_is_rss" >&5 $as_echo "$zsh_cv_rlimit_vmem_is_rss" >&6; } - if test x$zsh_cv_rlimit_vmem_is_rss = xyes; then $as_echo "#define RLIMIT_VMEM_IS_RSS 1" >>confdefs.h fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RLIMIT_VMEM and RLIMIT_AS are the same" >&5 $as_echo_n "checking if RLIMIT_VMEM and RLIMIT_AS are the same... " >&6; } if ${zsh_cv_rlimit_vmem_is_as+:} false; then : $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then : - zsh_cv_rlimit_vmem_is_as=no -else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@@@ -10289,43 +10278,33 @@@@ else #include #endif #include -int main() +int +main () { -int ret = 1; -#if defined(HAVE_RLIMIT_VMEM) && defined(HAVE_RLIMIT_AS) -if (RLIMIT_AS == RLIMIT_VMEM) ret = 0; -#endif -return ret; +static char x[(RLIMIT_VMEM == RLIMIT_AS)? 1 : -1] + ; + return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : zsh_cv_rlimit_vmem_is_as=yes else zsh_cv_rlimit_vmem_is_as=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $zsh_cv_rlimit_vmem_is_as" >&5 $as_echo "$zsh_cv_rlimit_vmem_is_as" >&6; } - if test x$zsh_cv_rlimit_vmem_is_as = xyes; then $as_echo "#define RLIMIT_VMEM_IS_AS 1" >>confdefs.h fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RLIMIT_RSS and RLIMIT_AS are the same" >&5 $as_echo_n "checking if RLIMIT_RSS and RLIMIT_AS are the same... " >&6; } if ${zsh_cv_rlimit_rss_is_as+:} false; then : $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then : - zsh_cv_rlimit_rss_is_as=no -else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@@@ -10334,28 +10313,23 @@@@ else #include #endif #include -int main() +int +main () { -int ret = 1; -#if defined(HAVE_RLIMIT_RSS) && defined(HAVE_RLIMIT_AS) -if (RLIMIT_AS == RLIMIT_RSS) ret = 0; -#endif -return ret; +static char x[(RLIMIT_RSS == RLIMIT_AS)? 1 : -1] + ; + return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : zsh_cv_rlimit_rss_is_as=yes else zsh_cv_rlimit_rss_is_as=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $zsh_cv_rlimit_rss_is_as" >&5 $as_echo "$zsh_cv_rlimit_rss_is_as" >&6; } - if test x$zsh_cv_rlimit_rss_is_as = xyes; then $as_echo "#define RLIMIT_RSS_IS_AS 1" >>confdefs.h @@@@ -11852,6 +11826,10 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } DLLD="${DLLD=$CC}" DLLDARG="" ;; + *interix*) + DLLD="${DLLD=$CC}" + DLLDARG="" + ;; * ) DLLD="${DLLD=ld}" DLLDARG="" @@@@ -11881,7 +11859,7 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;; - solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;; + solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;; beos*|haiku*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;; openbsd*) @ 1.31 log @Avoid mixing _POSIX_C_SOURCE and C99 on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.30 2014/06/25 08:38:37 wiz Exp $ @ 1.30 log @Update comments, remove outdated chunks. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.29 2013/05/10 01:17:33 riastradh Exp $ d3 4 a6 1 First chunks: d20 1 a20 1 --- configure.orig 2012-09-15 20:13:14.000000000 +0000 d22 11 a32 1 @@@@ -10011,9 +10047,6 @@@@ $as_echo_n "checking if RLIMIT_VMEM and d42 1 a42 1 @@@@ -10022,43 +10055,33 @@@@ else d93 1 a93 1 @@@@ -10067,43 +10090,33 @@@@ else d144 1 a144 1 @@@@ -10112,28 +10125,23 @@@@ else d180 1 a180 1 @@@@ -11630,6 +11638,10 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } d191 1 a191 1 @@@@ -11659,7 +11699,7 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } @ 1.29 log @Fix zsh cross-build on NetBSD. Patch it up to use compile-tests rather than run-tests in autoconf for many of its tests (OS-independently). Teach it about the few remaining properties for NetBSD in particular. ok agc @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.28 2013/02/22 13:40:30 jperkin Exp $ d3 1 a3 7 First chunk: Add support for thread limits. From Peter Stephenson on zsh-workers. Accepted by Peter Stephenson on zsh-workers on 2012-08-16. Middle chunks: d9 1 a9 1 Last chunk: d12 4 a15 5 Last chunk only: Don't force -Wl,--whole-archive for NetBSD, it breaks the build with clang, which doesn't have a reason to disable it again. Accepted by Peter Stephenson on zsh-workers on 2012-08-16. a18 43 @@@@ -9645,6 +9645,42 @@@@ if test $zsh_cv_have_RLIMIT_NTHR = yes; fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for limit RLIMIT_NTHR" >&5 +$as_echo_n "checking for limit RLIMIT_NTHR... " >&6; } +if ${zsh_cv_have_RLIMIT_NTHR+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef HAVE_SYS_TIME_H +#include +#endif +#include +int +main () +{ +RLIMIT_NTHR + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + zsh_cv_have_RLIMIT_NTHR=yes +else + zsh_cv_have_RLIMIT_NTHR=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $zsh_cv_have_RLIMIT_NTHR" >&5 +$as_echo "$zsh_cv_have_RLIMIT_NTHR" >&6; } + +if test $zsh_cv_have_RLIMIT_NTHR = yes; then + $as_echo "#define HAVE_RLIMIT_NTHR 1" >>confdefs.h + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for limit RLIMIT_NOFILE" >&5 $as_echo_n "checking for limit RLIMIT_NOFILE... " >&6; } if ${zsh_cv_have_RLIMIT_NOFILE+:} false; then : @ 1.28 log @Use -shared instead of -G on SunOS. Fixes 64-bit package. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.27 2013/01/03 15:37:23 ryoon Exp $ d6 8 d15 1 a15 1 All other chunks: a20 2 All chunks: d69 149 a217 1 @@@@ -11630,6 +11666,10 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } @ 1.27 log @Update to 5.0.2 Changelog: Changes since 5.0.0 ------------------- Numeric constants encountered in mathematical expressions (but not other contexts) can contain underscores as separators that will be ignored on evaluation, as allowed in other scripting languages. For example, 0xFFFF_FFFF, or 3.141_592_654. "functions -T" turns on tracing for the specified function(s) only, similar to "functions -t" except that tracing is turned off for any functions called from the specified one(s) that don't also have the -t or -T flag. In file completion, the recursive-files style can be set to an array of patterns to match against "$PWD/". In any matched location, it is possibly to complete files in arbitrarily deep subdirectories without needing to type the directory prefix. See example in the zshcompsys manual. The _user_expand completer now allows expansion functions in the user-expand files to return a string in REPLY that will be used to name the set of expansions returned. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.26 2012/08/17 10:53:10 wiz Exp $ d74 9 @ 1.26 log @Add support for thread limits. From Peter Stephenson on zsh-workers. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.25 2012/08/17 07:53:39 wiz Exp $ d18 1 a18 1 --- configure.orig 2012-06-21 18:36:43.000000000 +0000 d20 1 a20 1 @@@@ -9608,6 +9608,42 @@@@ if test $zsh_cv_have_RLIMIT_NPROC = yes; d63 1 a63 1 @@@@ -11589,6 +11625,10 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } a73 20 @@@@ -11599,6 +11639,7 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } case "$host_os" in hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;; + interix*) DLCFLAGS="${DLCFLAGS=}" ;; *) DLCFLAGS="${DLCFLAGS=-fPIC}" ;; esac else @@@@ -11613,10 +11654,9 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } fi case "$host_os" in osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;; - *freebsd*|linux*|irix*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + *freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; - netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;; solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;; darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;; @ 1.25 log @Mention that these patches have been integrated upstream. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.24 2012/08/16 14:19:35 wiz Exp $ d3 5 a7 1 All chunks: d18 1 a18 1 --- configure.orig 2011-05-16 15:49:15.000000000 +0000 d20 44 a63 1 @@@@ -11443,6 +11443,10 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } d74 1 a74 1 @@@@ -11453,6 +11457,7 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } d82 1 a82 1 @@@@ -11467,10 +11472,9 @@@@ $as_echo "$zsh_cv_sys_elf" >&6; } @ 1.24 log @Add comments to patches. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.23 2012/07/22 10:03:40 ryoon Exp $ d10 4 @ 1.23 log @Update to 5.0.0 * PLIST.xattr is moved to Makefile.common * Patches are introduced from zsh-current Tested on NetBSD 6.99.8 and 5.1. Changelog: * Many improvements. In detail, see NEWS @ text @d1 8 a8 1 $NetBSD: patch-ac,v 1.7 2011/11/11 18:45:46 joerg Exp $ @ 1.22 log @Don't force -Wl,--whole-archive for NetBSD, it breaks the build with clang, which doesn't have a reason to disable it again. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2007-11-29 10:17:19.000000000 +0000 d5 1 a5 1 @@@@ -16619,6 +16619,10 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } d16 1 a16 1 @@@@ -16629,6 +16633,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } d24 1 a24 2 @@@@ -16642,10 +16647,9 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } esac d27 3 a29 2 - *freebsd*|linux*|irix*|osf*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + *freebsd*|*netbsd*|linux*|irix*|osf*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; @ 1.21 log @Update zsh to 4.2.7. Changes are unknown. @ text @d3 1 a3 1 --- configure.orig 2007-11-29 19:17:19.000000000 +0900 d24 1 a24 1 @@@@ -16642,7 +16647,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6; } d29 1 a29 1 + *freebsd*|linux*|irix*|osf*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; d32 4 a35 1 netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; @ 1.20 log @Update zsh to 4.2.6. Better DragonFly support, new complete functions (arch_archives, arch_namespace, bzr, cplay, date, dchroot, dlocate, dpkg-cross, git, madison, module-assistant, piuparts, quilt, toolchain-source, urxvt, and xpdf), bug fixes, etc. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.19 2005/10/11 12:43:00 joerg Exp $ d3 3 a5 3 --- configure.orig 2005-04-04 11:49:26.000000000 +0200 +++ configure 2005-05-10 00:02:26.000000000 +0200 @@@@ -15724,6 +15724,10 @@@@ d10 2 a11 2 + DLLD="${DLLD=$CC}" + DLLDARG="" d16 1 a16 1 @@@@ -15734,6 +15738,7 @@@@ d24 1 a24 1 @@@@ -15747,7 +15752,7 @@@@ d28 2 a29 2 - freebsd*|linux*|irix*|osf*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + freebsd*|linux*|irix*|osf*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; @ 1.19 log @Allow the one-true-shell to work on DragonFly. Patches are included upstream already. @ text @d1 1 a1 1 $NetBSD$ d28 1 a28 1 - freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; @ 1.18 log @Changes 4.2.5: * Bug-fix release * Fixes few configuration problems, notably on MacOSX @ text @d3 3 a5 3 --- configure.orig 2005-04-04 09:49:26.000000000 +0000 +++ configure @@@@ -15724,6 +15724,10 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d16 1 a16 1 @@@@ -15734,6 +15738,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d24 1 a24 1 @@@@ -15747,7 +15752,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d29 1 a29 1 + freebsd*|linux*|irix*|osf*|gnu*|interix*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; @ 1.17 log @Changes 4.2.4: * Bug-fix release @ text @d3 1 a3 1 --- configure.orig 2005-02-01 17:53:21.000000000 +0000 d5 1 a5 1 @@@@ -15476,6 +15476,10 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d16 1 a16 1 @@@@ -15486,6 +15490,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d24 1 a24 1 @@@@ -15499,7 +15504,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 @ 1.16 log @Teach about Interix further. From Yoshifumi Hiramatsu. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.15 2005/01/18 12:44:53 uebayasi Exp $ d3 3 a5 3 --- configure.orig Fri Aug 13 19:24:24 2004 +++ configure Fri Jan 21 10:03:35 2005 @@@@ -13713,6 +13713,10 @@@@ d16 1 a16 1 @@@@ -13723,6 +13727,7 @@@@ d24 1 a24 1 @@@@ -13736,7 +13741,7 @@@@ @ 1.15 log @Fix build on Interix. PR26847, from Hiramatsu Yoshifumi. @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 +++ configure Sun Aug 29 06:06:03 2004 d16 9 a24 1 @@@@ -13736,7 +13740,7 @@@@ @ 1.14 log @update to zsh-4.2.1 Changes since zsh version 4.2.0 ------------------------------- - The autoload and related builtins take options -k and -z to indicate ksh or zsh autoloading style for given functions, making it possible to mix and match. - Assignments to associative arrays can use the i and r index flags. For example, assoc[(i)alpha*]=bravo sets the value for the element whose key matches the pattern `alpha*'; assoc[(r)activ*]=passive sets the value for the element whose current value matches the pattern `activ*'. - The glob qualifier F indicates a non-empty directory. Hence *(F) indicates all subdirectories with entries, *(/^F) means all subdirectories with no entries. - fc -p and fc -P provide push/pop for the status of the shell's history (both internal and using the history file). With automatic scoping (fc -ap) it becomes easy to use a temporary history in a function. This has been added to the calculator function zcalc to make its internal history work more seamlessly. - A new `try block' and `always block' syntax has been introduced to make it easier to ensure the shell runs important tidy-up code in the event of an error. It also runs after a break, continue, or return, including a return forced by the ERR_RETURN option (but not an exit, which is immediate). The syntax is: `{' try-block-list `}' `always' `{' always-block-list `}' where no newline or semicolon may appear between `}' and `always'. This is compatible with all previous valid zsh syntax as an `always' at that point used to be a syntax error. For example, { echo Code run in current shell } always { echo Tidy-up code } - A new zle widget reset-prompt has been added to re-expand the current prompt. Changes to the variable in use as well as changes in its expanions are both taken into account. The same effect is now forced by a job change notification, making the %j prompt escape and %(j..) ternary expression more useful. - The zftp module supports ports following the hostname in the normal suffix notation, `host:port'. This requires IPv6 colon-style addresses to be specified in suitably quoted square brackets, for example: zftp open '[f000::baaa]' zftp open '[f000::baaa]:ftp' (the two are equivalent). - Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG and EXIT are no longer executed inside other traps. This caused unnecessary confusion if, for example, both DEBUG and EXIT traps were set. The new behaviour is more compatible with other shells. - New option TRAPS_ASYNC which if set allows traps to run while the shell is waiting for a child process. This is the traditional zsh behaviour; POSIX requires the option to be unset. In sh/ksh compatibility mode the option is turned off by default and the option letter -T turns it on, for compatibility with FreeBSD sh. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.13 2004/08/04 03:33:40 minskim Exp $ d3 5 a7 5 --- configure.orig 2004-08-13 12:24:24.000000000 +0200 +++ configure 2004-08-16 11:54:09.000000000 +0200 @@@@ -13691,6 +13691,10 @@@@ DLLD="${DLLD=/usr/ccs/bin/cc}" DLLDARG="${LDARG}" d14 2 a15 2 DLLD="${DLLD=$CC}" DLLDARG="${LDARG}" @ 1.13 log @Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi in PR pkg/25946. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig Mon Mar 15 13:10:03 2004 +++ configure @@@@ -13630,6 +13630,10 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 d16 1 a16 1 @@@@ -13675,7 +13679,7 @@@@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6 @ 1.12 log @Update to 4.2.0 Patch provided by Geoff C. Wing in PR 24918 ok'd by uebayasi@@ New features between zsh versions 4.0 and 4.2 Configuration: * upgraded to use autoconf post-2.50 * improved compatibility with other shells through shell options, builtin arguments and improved builtin option parsing Syntax and builtins: * new printf builtin * `+=' to append to parameters which works for scalars, arrays and (with pairs) associative arrays. * enhanced multiple parameter `for' loops: for key value in key1 value1 key2 value2 ... maintaining full compatibility with POSIX syntax. * Suffix aliases allow the shell to run a command on a file by suffix, e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function zsh-mime-setup uses existing mailcap and mime.types files to set up suitable aliases. Supplied function pick-web-browser is suitable for finding a browser to show .html etc. files by suffix alias. * new option `no_case_glob' for case-insensitive globbing. Add-on modules and functions: * zsh/datetime modules makes date formatting and seconds since EPOCH available inside the shell. * zsh/net/tcp module provides builtin interface to TCP through ztcp builtin. Function suite for interactive and script use with expect-style pattern matching. * zsh/net/socket module provides zsocket builtin. * zcalc calculator function with full line editing. * builtin interface to pcre library * zsh/zselect module provides zselect builtin as interface to select system call Completion system: * general improvements to command and context support, low-level functions, display code. * in verbose mode, matches with the same description are grouped * highly configurable completions for values of specific parameters, specific redirections for specific commands * support for bash completion functions (typically zsh native functions are more powerful where available) * New completions provided for (some of these may be in later 4.0 releases): valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email addresses, file system types, Perforce, xsltproc. Plus many others. Line editor: * special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets to configure uneditable text (for narrowing) * recursive editing * supplied widgets read-from-minibuffer, replace-string use these features (more intuitive prompting and argument reading than 4.0) * access to killed text via $CUTBUFFER and $killring * supplied highly configurable word widgets forward-word-match etc., can set what constitutes a word interactively or in startup script (implement bash-style behaviour, replacing previous bash-* word widgets) * interface to incremental search via $LASTSEARCH * better handling of keymaps in zle and widgets * better support for output from user-defined widgets while zle is active * tetris game which runs entirely in zle * several other contributed widgets Local internal improvements: * disowned jobs are automatically restarted * \u and \U print escapes for Unicode * read -d allows a custom line ending. * read -t . * line numbers in error messages and $PS4 output are more consistent * `=prog' expands only paths, no longer aliases for consistency * job display in prompts; `jobs' command output can be piped * prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_. * rand48() function in zsh/mathfunc for better randomness in arithmetic (if the corresponding math library function is present) * $SECONDS parameter can be made floating point via `typeset -F SECONDS' for better timing accuracy * improvements to command line history mechanism * job table is dynamically sized, preventing overflow (typically seen previously in complex completions). * many bugfixes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.11 2004/02/02 08:48:40 uebayasi Exp $ d3 22 a24 11 --- zshconfig.ac.orig 2003-10-28 08:47:44.000000000 -0600 +++ zshconfig.ac @@@@ -926,7 +926,7 @@@@ AC_CHECK_FUNCS(strftime difftime gettime select poll \ readlink lstat lchown faccessx fchdir ftruncate \ fseeko ftello \ - mkfifo _mktemp \ + mkfifo \ waitpid wait3 \ sigaction sigblock sighold sigrelse sigsetmask sigprocmask \ killpg setpgid setpgrp tcsetpgrp tcgetattr nice \ @ 1.11 log @Update zsh to 4.0.9. From Min Sik Kim in PR pkg/24297. Changes since 4.0.7: - Many bug fixes. - Local improvements to various completion functions. @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Merge packages from the buildlink2 branch back into the main trunk that have been converted to USE_BUILDLINK2. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7.2.2 2002/08/25 21:21:18 jlam Exp $ d3 3 a5 3 --- zshconfig.ac.orig Wed Oct 24 11:16:27 2001 +++ zshconfig.ac Thu Jul 18 17:59:09 2002 @@@@ -915,7 +915,7 @@@@ @ 1.9 log @Do not use _mktemp(). There is no prototype for it, so it is not safe to use on 64-bit systems. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Don't disable utmpx support under NetBSD any more. It works fine now. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2002/03/04 20:27:45 tron Exp $ d3 11 a13 14 --- Src/watch.c.orig Tue Jan 16 14:44:20 2001 +++ Src/watch.c Mon Mar 4 21:22:10 2002 @@@@ -29,6 +29,11 @@@@ #include "zsh.mdh" +#if defined(__NetBSD__) && defined(HAVE_UTMPX_H) +# undef HAVE_UTMPX_H +# undef HAVE_STRUCT_UTMPX +#endif + /* Headers for utmp/utmpx structures */ #ifdef HAVE_UTMP_H # include @ 1.7 log @Work arround build problem on NetBSD system with utmpx support. @ text @d1 1 a1 1 $NetBSD$ @ 1.7.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2002/03/04 20:27:45 tron Exp $ @ 1.7.2.2 log @Merge changes in the main trunk into the buildlink2 branch for those packages that have been converted to USE_BUILDLINK2. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2002/07/18 18:01:56 mycroft Exp $ d3 14 a16 11 --- zshconfig.ac.orig Wed Oct 24 11:16:27 2001 +++ zshconfig.ac Thu Jul 18 17:59:09 2002 @@@@ -915,7 +915,7 @@@@ select poll \ readlink lstat lchown faccessx fchdir ftruncate \ fseeko ftello \ - mkfifo _mktemp \ + mkfifo \ waitpid wait3 \ sigaction sigblock sighold sigrelse sigsetmask sigprocmask \ killpg setpgid setpgrp tcsetpgrp tcgetattr nice \ @ 1.6 log @ Update zsh to 4.0.2. PR 13538 by Eric Gillespie Jr. This is a maintenance release for the (stable) 4.0 branch. Most of the changes are bug fixes, including a fix for a bug which caused the test suite to fail. On fully supported systems, all tests should now pass. There is one new feature: the option KSH_TYPESET provides compatibility with other shells for assignment arguments of `typeset', `export' and related builtins. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2001/06/20 05:39:03 jtb Exp $ d3 14 a16 26 --- config.sub.orig Wed Jun 13 21:15:55 2001 +++ config.sub Wed Jun 13 21:17:07 2001 @@@@ -213,8 +213,9 @@@@ | alphaev6[78] \ | we32k | ns16k | clipper | i370 | sh | sh[34] \ | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ - | mips64orion | mips64orionel | mipstx39 | mipstx39el \ + | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipseb \ + | mipsel | mips64el | mips64orion | mips64orionel \ + | mipstx39 | mipstx39el \ | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | mips64vr5000 | miprs64vr5000el | mcore \ | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ @@@@ -255,8 +256,9 @@@@ | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ | clipper-* | orion-* \ | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ + | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* \ + | mipseb-* | mipsel-* | mips64el-* \ + | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ | mipstx39-* | mipstx39el-* | mcore-* \ | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ @ 1.5 log @Add a patch from Rafal Boni to recognize mipseb as a valid architecture. PR pkg/13200. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @zsh-4.0.1 is a stable release so should be in shells/zsh instead of zsh4. Pass --disable-dynamic to configure. Correct homepage. Remove a mirror. Addresses some issues by Geoff Wing raised on netbsd-bugs. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2000/01/06 22:42:15 windsor Exp $ d3 26 a28 13 --- Doc/zsh.texi.orig Thu Jan 6 15:44:41 2000 +++ Doc/zsh.texi Thu Jan 6 15:45:48 2000 @@@@ -2,6 +2,10 @@@@ @@c %**start of header @@setfilename zsh.info @@settitle zsh +@@dircategory Shells +@@direntry +* Zsh: (zsh). The Z shell. +@@end direntry @@c %**end of header @@ifinfo @ 1.3 log @upgrade to 3.0.7, the latest release @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 2 a4 2 --- Doc/zsh.texi.orig Thu Dec 19 09:00:10 1996 +++ Doc/zsh.texi Mon Jun 16 20:35:02 1997 d15 1 a15 1 @@setchapternewpage odd @ 1.1 log @Initial revision @ text @d1 2 @ 1.1.1.1 log @Initial import of FreeBSD's shells ports category into NetBSD package system. @ text @@