Bug 152141 - app-misc/colordiff-1.0.6 has incorrect option name in config files
Bug#: 152141 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P3
Resolution: FIXED Assigned To: dberkholz@gentoo.org Reported By: vgivanovic@comcast.net
Component: Applications
URL: 
Summary: app-misc/colordiff-1.0.6 has incorrect option name in config files
Keywords:  
Status Whiteboard: 
Opened: 2006-10-20 10:57 0000
Description:   Opened: 2006-10-20 10:57 0000
*** colordiffrc.~1~     Fri Oct 20 10:51:53 2006
--- colordiffrc Fri Oct 20 10:48:53 2006
***************
*** 7,13 ****
  # to a file, it detects this and does not colour-highlight
  # To make the patch file *include* colours, change the option
  # below to 'yes'
! color_patches=no
  # 
  # available colours are: white, yellow, green, blue,
  #                        cyan, red, magenta, black,
--- 7,13 ----
  # to a file, it detects this and does not colour-highlight
  # To make the patch file *include* colours, change the option
  # below to 'yes'
! color_patch=no
  # 
  # available colours are: white, yellow, green, blue,
  #                        cyan, red, magenta, black,


*** colordiffrc-lightbg.~1~     Fri Sep 15 07:51:57 2006
--- colordiffrc-lightbg Fri Oct 20 10:48:06 2006
***************
*** 7,13 ****
  # to a file, it detects this and does not colour-highlight
  # To make the patch file *include* colours, change the option
  # below to 'yes'
! color_patches=no
  # 
  # available colours are: white, yellow, green, blue,
  #                        cyan, red, magenta, black,
--- 7,13 ----
  # to a file, it detects this and does not colour-highlight
  # To make the patch file *include* colours, change the option
  # below to 'yes'
! color_patch=no
  # 
  # available colours are: white, yellow, green, blue,
  #                        cyan, red, magenta, black,

------- Comment #1 From Aron Griffis (RETIRED) 2006-10-26 11:13:53 0000 -------
fixed, thanks

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/colordiff/colordiff-1.0.6-r1.ebuild?rev=1.1&view=markup

------- Comment #2 From Bo Ørsted Andresen (RETIRED) 2007-08-18 04:31:23 0000 -------
I guess this was fixed by upstream (in the code - not the configs) in 1.0.6a.
Hence the sed in src_unpack() should be removed for that version. Otherwise you
get this error message:

"Invalid colour specification for setting color_patch (no) in /etc/colordiffrc"

Thanks.

------- Comment #3 From Samuli Suominen 2007-08-18 17:02:16 0000 -------
Reopen for Comment #2.

------- Comment #4 From Donnie Berkholz 2007-10-15 08:23:17 0000 -------
Fixed in colordiff-1.0.6a-r1, thanks!