Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89250 - app-text/wdiff's -t[ermcap] mode is broken due to the termcap-compat->ncurses changes.
Summary: app-text/wdiff's -t[ermcap] mode is broken due to the termcap-compat->ncurses...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-15 21:12 UTC by James Rowe
Modified: 2008-03-24 19:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wdiff-tputs_from_ncurses.patch (wdiff-tputs_from_ncurses.patch,374 bytes, patch)
2005-04-15 21:12 UTC, James Rowe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Rowe 2005-04-15 21:12:08 UTC
Since the current ebuild switches the configure script to use ncurses
instead of the the termcap support from sys-libs/libtermcap-compat configure
fails to pick up tput definitions.  This means we can't get pretty output
from wdiff's -t mode, in fact we don't get any output at all.

  The attached patch just forces HAVE_TPUTS on, which results in ncurses'
defined tputs being used.  Yes, the autotools files could be patched to
provide the same result but it seems like overkill for something so
small.

  And eww context diffs ;)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 James Rowe 2005-04-15 21:12:45 UTC
Created attachment 56404 [details, diff]
wdiff-tputs_from_ncurses.patch
Comment 2 James Rowe 2006-07-29 21:54:48 UTC
  Having caused me to rethink this bug a little I have a question: How
against adding a 7 year old beta release, the latest release, which actually
fixes this issue amongst other things would you be?

  If it is acceptable I'll do more than 5 minutes testing I've given it
this morning and submit an updated ebuild if the beta release is stable.

Thanks,


James
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-29 22:02:56 UTC
7 years since the last release? dayum.  go for it, it's certainly had a long beta period.
Comment 4 James Rowe 2006-08-03 21:22:25 UTC
>   If it is acceptable I'll do more than 5 minutes testing I've given it
> this morning and submit an updated ebuild if the beta release is stable.

  Having given it some more testing I don't feel it is appropriate to use
the beta release.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 09:51:03 UTC
Someone either updated it w/ some of those ~90s 'updates' from http://wdiff.progiciels-bpi.ca/archives, or apply this patch, or punt it.

Tired of having the bug sitting in bugzilla for 3 years.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-03-24 19:48:39 UTC
Fixed