From f28541d7ef589414912f52192a4113578afd6aaf Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Mon, 30 May 2011 23:44:24 +0300 Subject: [PATCH] Generate colour Makefiles if $TERM is 'screen-256color-bce'. Thanks to Davide Mancusi for the patch (screen-256color-bce.diff). (Closes: #627853) --- debian/changelog | 3 +++ debian/patches/screen-256color-bce.diff | 21 +++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 25 insertions(+) create mode 100644 debian/patches/screen-256color-bce.diff diff --git a/debian/changelog b/debian/changelog index 102606aa5..28ec49076 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ cmake (2.8.4+dfsg.1-3) UNRELEASED; urgency=low * Merge 2.8.2+dfsg.1-0+squeeze1 changes. * Do not start cmake description synopsis with an article. + * Generate colour Makefiles when $TERM is set to 'screen-256color-bce'. + Thanks to Davide Mancusi for the patch (screen-256color-bce.diff). + (Closes: #627853) -- Modestas Vainius Fri, 04 Mar 2011 22:38:25 +0200 diff --git a/debian/patches/screen-256color-bce.diff b/debian/patches/screen-256color-bce.diff new file mode 100644 index 000000000..21bd68761 --- /dev/null +++ b/debian/patches/screen-256color-bce.diff @@ -0,0 +1,21 @@ +From: Davide Mancusi +Subject: Generate colour Makefiles if $TERM=screen-256color-bce +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627853 +Acked-By: Modestas Vainius +Forwarded: no +Last-Update: 2011-05-24 +Origin: other, http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=cmake_screen-256color-bce.patch;att=1;bug=627853 + +Generated Makefiles do not use color highlighting if $TERM is set to +`screen-256color-bce'. The patch fixes this. + +--- a/Source/kwsys/Terminal.c ++++ b/Source/kwsys/Terminal.c +@@ -162,6 +162,7 @@ static const char* kwsysTerminalVT100Nam + "rxvt-unicode", + "screen", + "screen-256color", ++ "screen-256color-bce", + "screen-bce", + "screen-w", + "screen.linux", diff --git a/debian/patches/series b/debian/patches/series index 0982eaa05..9e671061d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ fixup_manpages.diff FindBoost_add_-lpthread_#563479.diff backport_test_order_fix.diff +screen-256color-bce.diff