Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 347584 Details for
Bug 460902
app-office/libreoffice-4.0.*: compiles and runs when built with clang-3.2, change gcc check in ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
suggested patch for ebuild
check_me_harder.patch (text/plain), 1.77 KB, created by
eroen
on 2013-05-07 09:35:57 UTC
(
hide
)
Description:
suggested patch for ebuild
Filename:
MIME Type:
Creator:
eroen
Created:
2013-05-07 09:35:57 UTC
Size:
1.77 KB
patch
obsolete
>commit 9e8a450cc5bdc2c24bc661a3b55cf4efd30f3d4a >Author: eroen <eroen@occam.eroen.eu> >Date: Tue May 7 11:26:49 2013 +0200 > > libreoffice-4.0.3.3: make checks optional > >diff --git a/app-office/libreoffice/libreoffice-4.0.3.3.ebuild b/app-office/libreoffice/libreoffice-4.0.3.3.ebuild >index 375cd89..5c2ddd8 100644 >--- a/app-office/libreoffice/libreoffice-4.0.3.3.ebuild >+++ b/app-office/libreoffice/libreoffice-4.0.3.3.ebuild >@@ -245,27 +245,29 @@ CHECKREQS_MEMORY="512M" > CHECKREQS_DISK_BUILD="6G" > > pkg_pretend() { >- local pgslot >- >- if [[ ${MERGE_TYPE} != binary ]]; then >- check-reqs_pkg_pretend >- >- if [[ $(gcc-major-version) -lt 4 ]] || \ >- ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \ >- ; then >- eerror "Compilation with gcc older than 4.6 is not supported" >- die "Too old gcc found." >+ if [[ "${CHECK_ME_HARDER}" != no ]]; then >+ local pgslot >+ >+ if [[ ${MERGE_TYPE} != binary ]]; then >+ check-reqs_pkg_pretend >+ >+ if [[ $(gcc-major-version) -lt 4 ]] || \ >+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \ >+ ; then >+ eerror "Compilation with gcc older than 4.6 is not supported" >+ die "Too old gcc found." >+ fi >+ fi >+ >+ # ensure pg version >+ if use postgres; then >+ pgslot=$(postgresql-config show) >+ if [[ ${pgslot//.} < 90 ]] ; then >+ eerror "PostgreSQL slot must be set to 9.0 or higher." >+ eerror " postgresql-config set 9.0" >+ die "PostgreSQL slot is not set to 9.0 or higher." >+ fi > fi >- fi >- >- # ensure pg version >- if use postgres; then >- pgslot=$(postgresql-config show) >- if [[ ${pgslot//.} < 90 ]] ; then >- eerror "PostgreSQL slot must be set to 9.0 or higher." >- eerror " postgresql-config set 9.0" >- die "PostgreSQL slot is not set to 9.0 or higher." >- fi > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 460902
:
347584
|
436252