Summary: | app-office/openoffice-2.0.1 compile fix for gcc-4.1.x users | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Priit Laes (IRC: plaes) <plaes> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | h.mth |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-402539-postdays-0-postorder-asc-start-450.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
store-drop-gcc-libs-on-linking.diff
gcc-4.1.x-nptlonly-tls-fix.diff openoffice-2.0.1.ebuild.diff |
Description
Priit Laes (IRC: plaes)
2006-02-07 08:15:39 UTC
Created attachment 79125 [details, diff]
store-drop-gcc-libs-on-linking.diff
Patch from ooo-build.
Created attachment 79126 [details, diff]
gcc-4.1.x-nptlonly-tls-fix.diff
Patch against to get it automatically patch the sources.
Created attachment 79127 [details, diff]
openoffice-2.0.1.ebuild.diff
Patch against ebuild. At the moment it's untested, but openoffice is currently emerging and has already passed the point of breakage.
To avoid regressions, we should check whether glibc was built with nptlonly USE flag, but hopefully it works :)
My initial hack just drops the gcc check in store/util/makefile.mk. (.IF "$(COMID)"=="gcc3") The real fix is to change $(COMID) to gcc4 if gcc4.x is used. If I am not mistaken. I will have a look into this and supply a patch then. Touching $(COMID) ends in a deep impact of OOo build procedure. No way I touch that. :) new version on ooo-build-HEAD: http://go-oo.org/patches/src680/store-drop-gcc-libs-on-linking.diff ChangeLog: * patches/src680/store-drop-gcc-libs-on-linking.diff: replace hack by additional gcc version check, add '-lsupc++ -lgcc_s' only for < gcc 4.1 This is still needed for app-office/openoffice-2.0.2_rc1 ...and still needed with app-office/openoffice-2.0.2_rc3. I've just added a new revision to portage which utilizes Hannos Hack for fixing this. Could you please try out and see how it goes? Works for me :) Marking fixed.. |