summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-06-06 16:35:25 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-06-06 16:35:25 +0000
commit6a366d29abd9a7b8d62d71320f13fb58d79e127e (patch)
tree54b8abce84145ff987223538c1a1ce44fb199020 /app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch
parent(#86959) Stable on x86. (diff)
downloadgentoo-2-6a366d29abd9a7b8d62d71320f13fb58d79e127e.tar.gz
gentoo-2-6a366d29abd9a7b8d62d71320f13fb58d79e127e.tar.bz2
gentoo-2-6a366d29abd9a7b8d62d71320f13fb58d79e127e.zip
Version bump; not many changes. most upstream changes are already present in 0.1.18-r2. Added gcc-4 patch which is applicable for both 0.1.18-r2 and 0.1.19. Tidy'd old ebuilds and patches.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch')
-rw-r--r--app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch b/app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch
deleted file mode 100644
index e90f4626cb12..000000000000
--- a/app-misc/devtodo/files/devtodo-fix-TERM-sigabrt.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/todoterm.cc.orig 2004-08-13 00:11:52.095224000 -0400
-+++ src/todoterm.cc 2004-08-13 01:15:38.901461024 -0400
-@@ -2,6 +2,7 @@
- #include "todoterm.h"
-
- #ifdef USETERMCAP
-+#include <iostream>
- #include <string>
- #include <stdexcept>
- #include <curses.h>
-@@ -14,7 +15,11 @@
- int getWidth() {
- if (!info[2047]) {
- char const *termtype = getenv("TERM");
-- if (!termtype) throw runtime_error("can't get terminal type, please set TERM envar");
-+ if (!termtype) {
-+ cerr << "can't get terminal type, defaulting to vt100." << endl;
-+ cerr << "please set the TERM env variable." << endl;
-+ setenv("TERM", "vt100", 0);
-+ }
- int result = tgetent(info, getenv("TERM"));
- if (result < 0)
- throw runtime_error("could not access termcap database");