summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2010-01-20 03:21:20 +0000
committerroy <roy@pkgsrc.org>2010-01-20 03:21:20 +0000
commitde21f6a47e578a080967519a19f206886ba41817 (patch)
tree6a4859a194f3518d894a17e7d216d6421ee806d0 /editors/emacs22
parent00e17fb815ea10c457433a497179f317bdf97eb6 (diff)
downloadpkgsrc-de21f6a47e578a080967519a19f206886ba41817.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/emacs22')
-rw-r--r--editors/emacs22/Makefile4
-rw-r--r--editors/emacs22/distinfo3
-rw-r--r--editors/emacs22/patches/patch-ba14
3 files changed, 18 insertions, 3 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 323fe337b82..bd07a5823aa 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2009/10/07 10:50:59 obache Exp $
+# $NetBSD: Makefile,v 1.5 2010/01/20 03:21:21 roy Exp $
PKGNAME?= ${DISTNAME}
COMMENT?= GNU editing macros (editor)
DISTNAME= emacs-22.3
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
diff --git a/editors/emacs22/distinfo b/editors/emacs22/distinfo
index 68b02eb51a5..ec22e058f99 100644
--- a/editors/emacs22/distinfo
+++ b/editors/emacs22/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2009/10/07 10:50:59 obache Exp $
+$NetBSD: distinfo,v 1.6 2010/01/20 03:21:21 roy Exp $
SHA1 (emacs-22.3.tar.gz) = 5e9b3e0205099a83be7198fd43ba1c9442a3feb0
RMD160 (emacs-22.3.tar.gz) = a7eed5099d0cab25f34152f1b18b5c1b4e2e0746
@@ -22,4 +22,5 @@ SHA1 (patch-au) = e4a525ed182c3b8f3f7365ee01e186ad5d1b0c7e
SHA1 (patch-av) = f2fcb0ccbddba1683cc7f1744bca8b171f83c0e7
SHA1 (patch-aw) = 575ffdbf0cf9554dee32aa88fd5a5f49c5ab2bf1
SHA1 (patch-ax) = 4a9a795fd08eedcd83c1c92ede566fd63f365bec
+SHA1 (patch-ba) = 8930ab9f08c93a88db68378f1a5ec97587ebdf16
SHA1 (patch-xx) = 3b66bbad50cef9d248a6f1d49b9d31150e14d6e1
diff --git a/editors/emacs22/patches/patch-ba b/editors/emacs22/patches/patch-ba
new file mode 100644
index 00000000000..0c928bd4b6c
--- /dev/null
+++ b/editors/emacs22/patches/patch-ba
@@ -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 21:56:53.000000000 +0000
++++ src/term.c 2010-01-14 21:57:25.000000000 +0000
+@@ -2400,7 +2400,6 @@
+ #ifndef TERMINFO
+ if (strlen (buffer) >= buffer_size)
+ abort ();
+- buffer_size = strlen (buffer);
+ #endif
+ area = (char *) xmalloc (buffer_size);
+