head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.4 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.2 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.1.0.6 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.4 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.2 pkgsrc-2010Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2011.04.05.13.54.24; author ryoon; state dead; branches; next 1.3; 1.3 date 2010.11.27.12.46.53; author roy; state Exp; branches; next 1.2; 1.2 date 2010.11.27.07.25.25; author obache; state Exp; branches; next 1.1; 1.1 date 2010.02.07.10.07.10; author roy; state Exp; branches; next ; desc @@ 1.4 log @Update to 4.3.11. Changelog is too long. Please read NEWS and Changelog file. @ text @$NetBSD: patch-ba,v 1.3 2010/11/27 12:46:53 roy Exp $ $NetBSD: patch-ba,v 1.3 2010/11/27 12:46:53 roy Exp $ --- Src/Modules/termcap.c.orig 2008-10-30 09:39:21.000000000 +0000 +++ Src/Modules/termcap.c @@@@ -36,6 +36,9 @@@@ #include "../../config.h" #ifdef HAVE_TGETENT +#ifdef __NetBSD__ +# define USES_TERMCAP_H 1 +#else # if defined(ZSH_HAVE_CURSES_H) && defined(ZSH_HAVE_TERM_H) # define USES_TERM_H 1 # else @@@@ -44,12 +47,16 @@@@ # endif # endif #endif +#endif #include "termcap.mdh" #include "termcap.pro" /**/ #ifdef HAVE_TGETENT +#ifdef __NetBSD__ +# include +#else # ifdef USES_TERM_H # ifdef HAVE_TERMIO_H # include @@@@ -63,6 +70,7 @@@@ # include # endif # endif +#endif #ifndef HAVE_BOOLCODES static char *boolcodes[] = { @ 1.3 log @Build on Mac OS X again, thans to Ryo ONODERA . Fixes PR pkg/43083. @ text @d1 1 a1 1 $NetBSD: patch-ba,v 1.2 2010/11/27 07:25:25 obache Exp $ d3 1 a3 1 $NetBSD$ @ 1.2 log @Add RCS Id to patch-b?. @ text @d1 2 d5 3 a7 14 termcap does not require curses. --- Src/Modules/termcap.c.orig 2010-02-07 08:23:33.000000000 +0000 +++ Src/Modules/termcap.c 2010-02-07 08:34:57.000000000 +0000 @@@@ -27,22 +27,10 @@@@ * */ -/* - * We need to include the zsh headers later to avoid clashes with - * the definitions on some systems, however we need the configuration - * file to decide whether we should avoid curses.h, which clashes - * with several zsh constants on some systems (e.g. SunOS 4). - */ d11 1 a11 7 -# if defined(ZSH_HAVE_CURSES_H) && defined(ZSH_HAVE_TERM_H) -# define USES_TERM_H 1 -# else -# ifdef HAVE_TERMCAP_H -# define USES_TERMCAP_H 1 -# endif -# endif d13 7 d21 1 d24 1 a24 1 @@@@ -50,19 +38,7 @@@@ d28 1 a28 13 -# ifdef USES_TERM_H -# ifdef HAVE_TERMIO_H -# include -# endif -# ifdef ZSH_HAVE_CURSES_H -# include "../zshcurses.h" -# endif -# include "../zshterm.h" -# else -# ifdef USES_TERMCAP_H -# include -# endif -# endif d30 9 @ 1.1 log @Add patches to fix building on NetBSD with terminfo, fixes PR pkg/42761. @ text @d1 2 @