diff options
author | roy <roy> | 2010-01-20 03:21:20 +0000 |
---|---|---|
committer | roy <roy> | 2010-01-20 03:21:20 +0000 |
commit | 66474ebf0b57c055e9e7d17e930871547c7b7921 (patch) | |
tree | 6a4859a194f3518d894a17e7d216d6421ee806d0 /editors/emacs-snapshot | |
parent | cb260d0a32e505d7ca41a631667d81460ce08529 (diff) | |
download | pkgsrc-66474ebf0b57c055e9e7d17e930871547c7b7921.tar.gz |
When running terminfo but compiled for termcap, we cannot assume
that we actually have anything useable in termcap_term_buffer so just
use the terminfo fixed size defined ealier.
Diffstat (limited to 'editors/emacs-snapshot')
-rw-r--r-- | editors/emacs-snapshot/Makefile | 4 | ||||
-rw-r--r-- | editors/emacs-snapshot/distinfo | 3 | ||||
-rw-r--r-- | editors/emacs-snapshot/patches/patch-ag | 14 |
3 files changed, 19 insertions, 2 deletions
diff --git a/editors/emacs-snapshot/Makefile b/editors/emacs-snapshot/Makefile index 1bdd06821be..ae371e3d759 100644 --- a/editors/emacs-snapshot/Makefile +++ b/editors/emacs-snapshot/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2010/01/18 19:34:20 minskim Exp $ +# $NetBSD: Makefile,v 1.8 2010/01/20 03:21:21 roy Exp $ + +PKGREVISION= 1 CONFLICTS+= emacs-nox11-[0-9]* diff --git a/editors/emacs-snapshot/distinfo b/editors/emacs-snapshot/distinfo index b9931584fd4..36baa3207a0 100644 --- a/editors/emacs-snapshot/distinfo +++ b/editors/emacs-snapshot/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2010/01/18 19:34:20 minskim Exp $ +$NetBSD: distinfo,v 1.6 2010/01/20 03:21:21 roy Exp $ SHA1 (emacs-snapshot_20100111.orig.tar.gz) = 9bf3f29885b8577cc2b540352e2398650c1f09ac RMD160 (emacs-snapshot_20100111.orig.tar.gz) = 5445b39aaf0c3509084f3d1dea7c7f4ff1276951 Size (emacs-snapshot_20100111.orig.tar.gz) = 30259529 bytes SHA1 (patch-ab) = 53fd489995efae908827d7a3de4811daf156fd0a SHA1 (patch-ac) = 9378586aa9720beebf19b9d54e94ef4f08e50745 +SHA1 (patch-ag) = a96da5ce63b384aaa55ad901a429b8a2fb590c64 diff --git a/editors/emacs-snapshot/patches/patch-ag b/editors/emacs-snapshot/patches/patch-ag new file mode 100644 index 00000000000..18eba154d40 --- /dev/null +++ b/editors/emacs-snapshot/patches/patch-ag @@ -0,0 +1,14 @@ +When running terminfo but compiled for termcap, we cannot assume +that we actually have anything useable in termcap_term_buffer so just +use the terminfo fixed size defined ealier. + +--- src/term.c 2010-01-14 22:17:00.000000000 +0000 ++++ src/term.c 2010-01-14 22:22:09.000000000 +0000 +@@ -3593,7 +3593,6 @@ + #ifndef TERMINFO + if (strlen (tty->termcap_term_buffer) >= buffer_size) + abort (); +- buffer_size = strlen (tty->termcap_term_buffer); + #endif + tty->termcap_strings_buffer = area = (char *) xmalloc (buffer_size); + tty->TS_ins_line = tgetstr ("al", address); |