diff options
author | roy <roy@pkgsrc.org> | 2010-02-07 10:07:10 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2010-02-07 10:07:10 +0000 |
commit | cae8761d03295a2ef1d250017fad5882ae12e7f9 (patch) | |
tree | 300abe95fa4e5fd2902ce080e30968627e8216ae /shells | |
parent | c8acc7c688a4617ecb8589161ee75e2174fad258 (diff) | |
download | pkgsrc-cae8761d03295a2ef1d250017fad5882ae12e7f9.tar.gz |
Add patches to fix building on NetBSD with terminfo, fixes PR pkg/42761.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/zsh-current/distinfo | 4 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-ba | 49 | ||||
-rw-r--r-- | shells/zsh-current/patches/patch-bb | 15 |
3 files changed, 67 insertions, 1 deletions
diff --git a/shells/zsh-current/distinfo b/shells/zsh-current/distinfo index 817520ff89f..5b431a18fbe 100644 --- a/shells/zsh-current/distinfo +++ b/shells/zsh-current/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2008/12/22 02:18:51 uebayasi Exp $ +$NetBSD: distinfo,v 1.15 2010/02/07 10:07:10 roy Exp $ SHA1 (zsh-4.3.9.tar.bz2) = 7c80e1ad6b311ee5877172a1a7e0161a9a60da70 RMD160 (zsh-4.3.9.tar.bz2) = 2c88347fa357e3624f000721963749c6ccb4e129 @@ -8,3 +8,5 @@ SHA1 (patch-ac) = b586fcb6ab7d831a3490077f84fe170969905c26 SHA1 (patch-af) = c78fa8e786d3ae2e3b15a9587f2a7b6e64891778 SHA1 (patch-ag) = 2fe6b7f0a76ca7e5d341fda408f3ab5443d09cbc SHA1 (patch-ah) = 561132abcd56df88d7ed3da4bca5f172ca341439 +SHA1 (patch-ba) = 8b62a94af40b619c46f9da4b89bd678833600f7a +SHA1 (patch-bb) = 9638cb7f10a30dad7f0dd5d413aa9796a0ef07f7 diff --git a/shells/zsh-current/patches/patch-ba b/shells/zsh-current/patches/patch-ba new file mode 100644 index 00000000000..8362455dfe4 --- /dev/null +++ b/shells/zsh-current/patches/patch-ba @@ -0,0 +1,49 @@ +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). +- */ + #include "../../config.h" + + #ifdef HAVE_TGETENT +-# 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 ++# define USES_TERMCAP_H 1 + #endif + + #include "termcap.mdh" +@@ -50,19 +38,7 @@ + + /**/ + #ifdef HAVE_TGETENT +-# ifdef USES_TERM_H +-# ifdef HAVE_TERMIO_H +-# include <termio.h> +-# endif +-# ifdef ZSH_HAVE_CURSES_H +-# include "../zshcurses.h" +-# endif +-# include "../zshterm.h" +-# else +-# ifdef USES_TERMCAP_H +-# include <termcap.h> +-# endif +-# endif ++# include <termcap.h> + + #ifndef HAVE_BOOLCODES + static char *boolcodes[] = { diff --git a/shells/zsh-current/patches/patch-bb b/shells/zsh-current/patches/patch-bb new file mode 100644 index 00000000000..7cdf1a468a2 --- /dev/null +++ b/shells/zsh-current/patches/patch-bb @@ -0,0 +1,15 @@ +terminfo does not require curses. + +--- Src/Modules/terminfo.c.orig 2010-02-07 08:31:07.000000000 +0000 ++++ Src/Modules/terminfo.c 2010-02-07 08:31:30.000000000 +0000 +@@ -49,10 +49,6 @@ + # undef offsetof + # endif + +-#ifdef ZSH_HAVE_CURSES_H +-# include "../zshcurses.h" +-#endif +- + # ifdef ZSH_HAVE_TERM_H + # include "../zshterm.h" + # endif |