Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371568 Details for
Bug 503218
dev-utils/cmake - Cross-compile fixes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cross-cmake-ebuild.patch
cross-cmake-ebuild.patch (text/plain), 1.06 KB, created by
James Le Cuirot
on 2014-03-02 16:21:25 UTC
(
hide
)
Description:
cross-cmake-ebuild.patch
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2014-03-02 16:21:25 UTC
Size:
1.06 KB
patch
obsolete
>--- cmake-2.8.12.2.ebuild.orig 2014-03-02 15:43:48.000000000 +0000 >+++ cmake-2.8.12.2.ebuild 2014-03-02 15:44:57.000000000 +0000 >@@ -65,6 +65,7 @@ > "${FILESDIR}"/${PN}-2.8.12.1-FindImageMagick.patch > "${FILESDIR}"/${PN}-2.8.12.1-FindFreetype.patch > "${FILESDIR}"/${PN}-2.8.12.2-hppa-bootstrap.patch >+ "${FILESDIR}"/${PN}-2.8.12.2-no-cross-docs.patch > ) > > cmake_src_bootstrap() { >@@ -83,10 +84,8 @@ > sed -i -e 's/execinfo\.h/blablabla.h/' Source/kwsys/CMakeLists.txt || die > fi > >- tc-export CC CXX LD >- > # bootstrap script isn't exactly /bin/sh compatible >- ${CONFIG_SHELL:-sh} ./bootstrap \ >+ tc-env_build ${CONFIG_SHELL:-sh} ./bootstrap \ > --prefix="${T}/cmakestrap/" \ > ${par_arg} \ > || die "Bootstrap failed" >@@ -153,6 +152,16 @@ > $(cmake-utils_use_build ncurses CursesDialog) > ) > >+ if tc-is-cross-compiler ; then >+ mycmakeargs+=(-DKWSYS_LFS_WORKS=1) >+ >+ if use arm || use ppc ; then >+ mycmakeargs+=(-DKWSYS_CHAR_IS_SIGNED=0) >+ else >+ mycmakeargs+=(-DKWSYS_CHAR_IS_SIGNED=1) >+ fi >+ fi >+ > if use qt4 || use qt5 ; then > mycmakeargs+=( > -DBUILD_QtDialog=ON
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503218
:
371568
|
371570
|
373934
|
650248