pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/emacs Fix termcap support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b6c33ec49f1
branches: trunk
changeset: 575484:9b6c33ec49f1
user: roy <roy%pkgsrc.org@localhost>
date: Sat May 15 10:00:57 2010 +0000
description:
Fix termcap support.
diffstat:
editors/emacs/Makefile | 4 ++--
editors/emacs/distinfo | 4 ++--
editors/emacs/patches/patch-ag | 16 ++++++++++------
3 files changed, 14 insertions(+), 10 deletions(-)
diffs (57 lines):
diff -r 0150890865e4 -r 9b6c33ec49f1 editors/emacs/Makefile
--- a/editors/emacs/Makefile Sat May 15 09:13:54 2010 +0000
+++ b/editors/emacs/Makefile Sat May 15 10:00:57 2010 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.127 2010/01/24 13:26:10 wiz Exp $
+# $NetBSD: Makefile,v 1.128 2010/05/15 10:00:57 roy Exp $
-PKGREVISION= 4
+PKGREVISION= 5
CONFLICTS+= emacs-nox11-[0-9]*
diff -r 0150890865e4 -r 9b6c33ec49f1 editors/emacs/distinfo
--- a/editors/emacs/distinfo Sat May 15 09:13:54 2010 +0000
+++ b/editors/emacs/distinfo Sat May 15 10:00:57 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.44 2010/02/21 12:24:54 wiz Exp $
+$NetBSD: distinfo,v 1.45 2010/05/15 10:00:57 roy Exp $
SHA1 (emacs-23.1.tar.gz) = e993445d14d2fdedd1418bc32c8c4ea30442bc51
RMD160 (emacs-23.1.tar.gz) = c557149f59916b82f0ae156f87406126b03671b4
@@ -8,4 +8,4 @@
SHA1 (patch-ac) = 9afbc10d2bd0f32cdfde8ae6a32236182dbac558
SHA1 (patch-ae) = 2b016d6b4bb796cf5bddc55f104139e01209adb6
SHA1 (patch-af) = c888cd3863e533d38f437292d9f800bcd3159529
-SHA1 (patch-ag) = f10b733c75e7b24642e8bd6963acb95d9c942991
+SHA1 (patch-ag) = f462ad22762469360d90060afbc73e660e9f7db5
diff -r 0150890865e4 -r 9b6c33ec49f1 editors/emacs/patches/patch-ag
--- a/editors/emacs/patches/patch-ag Sat May 15 09:13:54 2010 +0000
+++ b/editors/emacs/patches/patch-ag Sat May 15 10:00:57 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.12 2010/02/21 12:24:54 wiz Exp $
+$NetBSD: patch-ag,v 1.13 2010/05/15 10:00:57 roy Exp $
When running terminfo but compiled for termcap, we cannot assume
that we actually have anything useable in termcap_term_buffer so just
@@ -6,11 +6,15 @@
--- src/term.c 2010-01-06 10:11:04.000000000 +0000
+++ src/term.c 2010-01-06 10:11:53.000000000 +0000
-@@ -3593,7 +3593,6 @@
- #ifndef TERMINFO
- if (strlen (tty->termcap_term_buffer) >= buffer_size)
- abort ();
+@@ -3590,11 +3590,6 @@
+ #endif
+ }
+
+-#ifndef TERMINFO
+- if (strlen (tty->termcap_term_buffer) >= buffer_size)
+- abort ();
- buffer_size = strlen (tty->termcap_term_buffer);
- #endif
+-#endif
tty->termcap_strings_buffer = area = (char *) xmalloc (buffer_size);
tty->TS_ins_line = tgetstr ("al", address);
+ tty->TS_ins_multi_lines = tgetstr ("AL", address);
Home |
Main Index |
Thread Index |
Old Index