From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:38161) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkXfL-0005oh-TH for guix-patches@gnu.org; Mon, 08 Jul 2019 13:43:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkXfK-00089S-T5 for guix-patches@gnu.org; Mon, 08 Jul 2019 13:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkXfJ-00088z-VY for guix-patches@gnu.org; Mon, 08 Jul 2019 13:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkXfJ-00059S-OA for guix-patches@gnu.org; Mon, 08 Jul 2019 13:43:01 -0400 Subject: [bug#36477] [PATCH 04/31] gnu: tk: Fix cross-compilation. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20190708095913.3460-5-m.othacehe@gmail.com> References: <20190708095913.3460-1-m.othacehe@gmail.com> <20190708095913.3460-5-m.othacehe@gmail.com> Date: Mon, 08 Jul 2019 19:42:22 +0200 Message-ID: <87imscpgn5.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mathieu Othacehe , 36477@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mathieu Othacehe writes: > * gnu/packages/tcl.scm (tk)[arguments]: Add configure flags to fix > cross-compilation. > --- > gnu/packages/tcl.scm | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm > index fc955cf649..df0f0e3a5c 100644 > --- a/gnu/packages/tcl.scm > +++ b/gnu/packages/tcl.scm > @@ -185,9 +185,16 @@ X11 GUIs.") > "/lib -lfontconfig"))) > #t)))) >=20=20 > - #:configure-flags (list (string-append "--with-tcl=3D" > - (assoc-ref %build-inputs "= tcl") > - "/lib")) > + #:configure-flags > + (list (string-append "--with-tcl=3D" > + (assoc-ref %build-inputs "tcl") > + "/lib") > + ;; This is needed when cross-compiling, see: > + ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D7192= 47 > + ,@(if (%current-target-system) > + '("tcl_cv_strtod_buggy=3D1" > + "ac_cv_func_strtod=3Dyes") > + '())) LGTM (though I guess not very useful without the Python cross fix?). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl0jgH4ACgkQoqBt8qM6 VPp7Fgf/XWSVZ0z4pxflJpM7AW/+2yqT0tNvEQ9j1+A+fx4N1thcFMgDOOuS3h9z 7z89/mP1schRVHRwht/JC/8D/PR4pP8zHmC+cEteGDTPalNfhYFrwpiqrqCBlJBi qTvVcDP+6/68CpEqWA45Qa9vn06PfzoAqWypPJ7ZDnKjPeXjRgMHb5HXou6LIHMG /eR780CYs+AwfP4Y6G0etmjRcRJxz+HLkadjsmMsOVkVEtgI+4PApz8set+0MXhR iX3AO4qgvgH+mBqnEYgQ5CKfF1bO93dCgspSyuDw5WBd8boCS8+Nm5chUOjRprGa pXn3DjMrztpfLmabUPF/b+O9vkLsyw== =pjcs -----END PGP SIGNATURE----- --=-=-=--