Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91062 - dev-util/xdelta-1.1.3 doesn't compile with gcc4
Summary: dev-util/xdelta-1.1.3 doesn't compile with gcc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords:
: 114917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-01 09:01 UTC by Kristiaan Lenaerts
Modified: 2005-12-25 23:56 UTC (History)
2 users (show)

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


Attachments
xdelta-1.1.3-gcc4.patch (xdelta-1.1.3-gcc4.patch,261 bytes, patch)
2005-05-01 09:01 UTC, Kristiaan Lenaerts
Details | Diff
modified ebuild (xdelta-1.1.3.ebuild,803 bytes, text/plain)
2005-05-01 09:01 UTC, Kristiaan Lenaerts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristiaan Lenaerts 2005-05-01 09:01:01 UTC
xdelta-1.1.3 doesn't compile with gcc 4.0.0. It fails in xdmain.c because the variable xd_handle_table is declared extern, but defined static. xd_handle_table is not used in any other file of xdelta, so changing de declaration from extern to static solves the problem. I'll attach a patch, and an ebuild that applies the patch.
Comment 1 Kristiaan Lenaerts 2005-05-01 09:01:40 UTC
Created attachment 57744 [details, diff]
xdelta-1.1.3-gcc4.patch
Comment 2 Kristiaan Lenaerts 2005-05-01 09:01:59 UTC
Created attachment 57745 [details]
modified ebuild
Comment 3 SpanKY gentoo-dev 2005-05-01 20:48:01 UTC
patch is fine, please find a maintainer for xdelta
Comment 4 Brian Harring (RETIRED) gentoo-dev 2005-05-02 20:13:47 UTC
Lack of any upstream development is a mild issue...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 14:58:20 UTC
*** Bug 114917 has been marked as a duplicate of this bug. ***
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 12:16:46 UTC
While upstream might not be totally responsive, this is used in loki_patch and
is updated in loki_patch's CVS.  You can find their patches here:

http://cvs.icculus.org/cvs/loki_patch/libs
Comment 7 Brian Harring (RETIRED) gentoo-dev 2005-12-25 23:56:26 UTC
Screw it, in cvs.