Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40472 - xxdiff dependency on kde is version specific (3.1)
Summary: xxdiff dependency on kde is version specific (3.1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 06:11 UTC by Sean Groarke
Modified: 2004-04-03 04:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Groarke 2004-02-05 06:11:33 UTC
Since xxdiff 292 (and the current 302) there is an optional dependency on kde. If satisfied, it invokes the files/kdesupport.patch.

The problem is that this patch file is kde-version specific, hardcoded to 3.1. If kde 3.2 is installed, then the build fails since it tries to include header files from a non-existant kde 3.1 installation.

Reproducible: Always
Steps to Reproduce:
1.Install kde 3.2 and ensure kde 3.1 not installed
2.Ensure USE specifies kde
3.emerge xxdiff

Actual Results:  
Build fails on the first of many kde header-file includes.

Expected Results:  
Build successfully.

The quick and dirty fix for me is of course a very trivial edit to the
kdesupport.patch file, changing '3.1' to '3.2'.

However that would then break for users who still use kde 3.1 (are there any?
After all, 3.2 came out at least 2 days ago? ;-) )

I do not know enough about ebuilding to make the patch pick up either 3.1 or 3.2
as appropriate, but I'm sure it's easy...
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-04-03 04:30:48 UTC
Fixed in CVS in a forward-compatible manner that should grab the latest available version there is; the change should reach Portage within an hour. Thanks!