Package: colormake
Version: 0.2-8
Severity: normal
Tags: upstream patch

  Libtool builds output lines starting with "libtool: link: gcc"
or "libtool: compile: gcc" which get missed by colormake. Compiler
warnings are then missed, too, because the context is wrong.

  The attached patch adds support for this kind of output.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686-bigmem (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages colormake depends on:
ii  less                          436-1      pager program similar to more
ii  make                          3.81-7     An utility for Directing compilati
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 

colormake recommends no packages.

colormake suggests no packages.

-- no debconf information
--- a/colormake.pl      2009-12-19 15:20:01.000000000 +0100
+++ b/colormake.pl      2009-12-19 15:17:02.000000000 +0100
@@ -86,7 +86,7 @@ while (<>)
        {
                $in = 'make';
        }
-       elsif ($thisline =~ 
s/^(\s*(([[:ascii:]]+-)?g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/)
+       elsif ($thisline =~ 
s/^(\s*(libtool:\s*)?((compile|link):\s*)?(([[:ascii:]]+-)?g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/)
        {
                $in = 'gcc';
        }

Reply via email to