From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-839965-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B7688138BED for <garchives@archives.gentoo.org>; Tue, 13 Oct 2015 03:28:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D202E079B; Tue, 13 Oct 2015 03:28:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE33AE079B for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2015 03:28:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE7DE34074E for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2015 03:28:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CAF4F95 for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2015 03:28:03 +0000 (UTC) From: "Mike Frysinger" <vapier@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org> Message-ID: <1444706640.638a72c75b7c4c0cd3c524ccf138e00b30732055.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/glib/glib-2.44.1-r1.ebuild X-VCS-Directories: dev-libs/glib/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 638a72c75b7c4c0cd3c524ccf138e00b30732055 X-VCS-Branch: master Date: Tue, 13 Oct 2015 03:28:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ad675847-824d-4028-aedf-2d28398fdcd3 X-Archives-Hash: d5b9c5cad39066e99b1b0e400e64b969 commit: 638a72c75b7c4c0cd3c524ccf138e00b30732055 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Tue Oct 13 03:18:49 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Oct 13 03:24:00 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638a72c7 dev-libs/glib: add various cross-compile settings The upstream configure script has many tests that fail when cross-compiling, so add proper settings until the upstream bugs are resolved. dev-libs/glib/glib-2.44.1-r1.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev-libs/glib/glib-2.44.1-r1.ebuild b/dev-libs/glib/glib-2.44.1-r1.ebuild index 9534f7a..d5302bc 100644 --- a/dev-libs/glib/glib-2.44.1-r1.ebuild +++ b/dev-libs/glib/glib-2.44.1-r1.ebuild @@ -182,6 +182,19 @@ multilib_src_configure() { export LIBFFI_LIBS="-lffi" fi + # These configure tests don't work when cross-compiling. + if tc-is-cross-compiler ; then + # https://bugzilla.gnome.org/show_bug.cgi?id=756473 + case ${CHOST} in + hppa*|metag*) export glib_cv_stack_grows=yes ;; + *) export glib_cv_stack_grows=no ;; + esac + # https://bugzilla.gnome.org/show_bug.cgi?id=756474 + export glib_cv_uscore=no + # https://bugzilla.gnome.org/show_bug.cgi?id=756475 + export ac_cv_func_posix_get{pwuid,grgid}_r=yes + fi + local myconf case "${CHOST}" in