pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/zsh-current Add patches to fix building on NetB...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf41f246279e
branches: trunk
changeset: 571036:bf41f246279e
user: roy <roy%pkgsrc.org@localhost>
date: Sun Feb 07 10:07:10 2010 +0000
description:
Add patches to fix building on NetBSD with terminfo, fixes PR pkg/42761.
diffstat:
shells/zsh-current/distinfo | 4 ++-
shells/zsh-current/patches/patch-ba | 49 +++++++++++++++++++++++++++++++++++++
shells/zsh-current/patches/patch-bb | 15 +++++++++++
3 files changed, 67 insertions(+), 1 deletions(-)
diffs (87 lines):
diff -r 91ba0178c6af -r bf41f246279e shells/zsh-current/distinfo
--- a/shells/zsh-current/distinfo Sun Feb 07 09:53:20 2010 +0000
+++ b/shells/zsh-current/distinfo Sun Feb 07 10:07:10 2010 +0000
@@ -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-af) = c78fa8e786d3ae2e3b15a9587f2a7b6e64891778
SHA1 (patch-ag) = 2fe6b7f0a76ca7e5d341fda408f3ab5443d09cbc
SHA1 (patch-ah) = 561132abcd56df88d7ed3da4bca5f172ca341439
+SHA1 (patch-ba) = 8b62a94af40b619c46f9da4b89bd678833600f7a
+SHA1 (patch-bb) = 9638cb7f10a30dad7f0dd5d413aa9796a0ef07f7
diff -r 91ba0178c6af -r bf41f246279e shells/zsh-current/patches/patch-ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/zsh-current/patches/patch-ba Sun Feb 07 10:07:10 2010 +0000
@@ -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 -r 91ba0178c6af -r bf41f246279e shells/zsh-current/patches/patch-bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/zsh-current/patches/patch-bb Sun Feb 07 10:07:10 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index