Summary: | [PATCH] app-office/openoffice-3.1.0_beta7 fails to compile w/gcc-4.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Alfredsen (RETIRED) <loki_val> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexxy, crurik, cruzki123, esigra, mario.fetka |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
gcc-4.4.0 compile-fix
gcc 4.4.0 build fix for 3.1.0 patched openoffice-3.1 ebuild |
Description
Peter Alfredsen (RETIRED)
2009-05-11 19:54:03 UTC
Created attachment 190973 [details, diff] gcc-4.4.0 compile-fix Snatched from: http://bugs.archlinux.org/task/14492 The final release of OOo 3.1 shouldn't need this patch anymore. Just got into portage, so please test. Still fails: /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/sw/source/core/doc/docbm.cxx: In function 'bool _checkFieldBookmarkSanity(const SwDoc*)': /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/sw/source/core/doc/docbm.cxx:399: error: 'printf' was not declared in this scope (In reply to comment #3) > Still fails: > > /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/sw/source/core/doc/docbm.cxx: > In function 'bool _checkFieldBookmarkSanity(const SwDoc*)': > /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/sw/source/core/doc/docbm.cxx:399: > error: 'printf' was not declared in this scope > This is with 3.1.0 and not 3.1.0_beta7? Sorry for the stupid question, but your reation was so fast, that I just want to make sure ;) (In reply to comment #4) > This is with 3.1.0 and not 3.1.0_beta7? Sorry for the stupid question, but your > reation was so fast, that I just want to make sure ;) Yep, 3.1.0. I cvs upped and installed from there, hence the quick reaction :-) Interestingly the patch doesn't apply here anymore. Bit busy atm, so will have to take a look at that later, sry. Created attachment 191620 [details, diff]
gcc 4.4.0 build fix for 3.1.0
This patch works with 3.1.0. It's the same fix as the previous patch.
Created attachment 191665 [details]
patched openoffice-3.1 ebuild
Comment on attachment 191665 [details]
patched openoffice-3.1 ebuild
works for me
The patch is now in portage, thanks everyone for fixing this! |