Summary: | KOffice 1.3.1 does not compile (gcc 3.4?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Shaw <jtshaw> |
Component: | New packages | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | absinthe, trelane |
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 48528 | ||
Attachments: | koffice-1.3.1.ebuild w/gcc34 patch |
Description
John Shaw
2004-05-06 05:36:39 UTC
Sure enough, this morning koffice had compiled completely with GCC 3.3.3. Guess this is another one for the gcc-porting team. Same Here *** Bug 50161 has been marked as a duplicate of this bug. *** After a google search, I found this on rocklinux.net, hope it helps: George -----snip here--- Rene Rebe: updated koffice and fixed it for at least gcc-3.4.0 --- package/kde/koffice-i18n/koffice-i18n.desc (revision 105) +++ package/kde/koffice-i18n/koffice-i18n.desc (revision 106) @@ -42,8 +42,8 @@ [L] GPL [S] Beta -[V] 1.3 +[V] 1.3.1 [P] X -----5---9 628.000 -[D] 2216536262 koffice-i18n-1.3.tar.bz2 ftp://ftp.kde.org/pub/kde/stable/koffice-1.3/src/ +[D] 3703098043 koffice-i18n-1.3.1.tar.bz2 ftp://ftp.kde.org/pub/kde/stable/koffice-1.3.1/src/ --- package/kde/koffice/gcc34.patch (revision 0) +++ package/kde/koffice/gcc34.patch (revision 106) @@ -0,0 +1,17 @@ +--- koffice-1.3.1/karbon/widgets/vcanvas.cc.orig 2004-04-12 11:18:46.000000000 +0200 ++++ koffice-1.3.1/karbon/widgets/vcanvas.cc 2004-05-10 10:24:47.550169576 +0200 +@@ -306,12 +306,12 @@ + + /// repaints just a rect area (no scrolling) + void +-VCanvas::repaintAll( const KoRect & ) ++VCanvas::repaintAll( const KoRect & r) + { + //if( m_view->layersDocker() ) + // m_view->layersDocker()->updatePreviews(); + VPainter *p = m_view->painterFactory()->painter(); +- KoRect rect( rect().x(), rect().y(), rect().width(), rect().height() ); ++ KoRect rect( r.x(), r.y(), r.width(), r.height() ); + p->blit( rect ); + + // draw handle: --- package/kde/koffice/koffice.desc (revision 105) +++ package/kde/koffice/koffice.desc (revision 106) @@ -42,8 +42,8 @@ [L] GPL [S] Stable -[V] 1.3 +[V] 1.3.1 [P] X -----5---9 627.000 -[D] 2826883571 koffice-1.3.tar.bz2 ftp://ftp.kde.org/pub/kde/stable/koffice-1.3/src/ +[D] 968921772 koffice-1.3.1.tar.bz2 ftp://ftp.kde.org/pub/kde/stable/koffice-1.3.1/src/ This seems to provide better info, http://lists.kde.org/?l=koffice-devel&w=2&r=1&s=gcc+3.4&q=b George Created attachment 31923 [details] koffice-1.3.1.ebuild w/gcc34 patch I also found a link, with a different patch. Works for me. http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/koffice-gcc34.patch?rev=1.1 Download that patch, put in {PORTAGE_OVERLAY}/app-office/koffice/files. Download my ebuild attachment. ebuild koffice-1.3.1.ebuild digest and emerge koffice. Just make sure you get the patch above, I found it at https://mail.kde.org/pipermail/kimageshop/2004-May/000743.html. Good luck. I have finally gotten around to trying out the patch and the ebuild and it works fine for me now. So I'll change the bug to fixed. the fix isnt in portage, so it's not fixed /yet/ Patch added, package bumped in portage to koffice-1.3.1-r1. Cheers *** Bug 54054 has been marked as a duplicate of this bug. *** |