[Pkg-tcltk-devel] Bug#695445: tk8.4: Please apply patch to support cross-compiling

Adam Conrad adconrad at debian.org
Sat Dec 8 08:09:31 UTC 2012


Package: tk8.4
Version: 8.4.19-5
Severity: normal
Tags: patch
User: crossbuild at debian.org
Usertags: origin-ubuntu raring ubuntu-patch cross

In Ubuntu, the attached patch was applied to achieve the following:

  * Respect DEB_HOST_GNU_TYPE when selecting CC for cross-compiling.
  * Preseed undetectable strtod values to autoconf for cross-builds.

This preseeds some values that autoconf can't sort out on its own
when cross-compiling, thus fixing cross builds.  Additionally,
unlike tk8.5, tk8.4 has a broken configure script that doesn't
respect --host and --build, so this also forces CC on cross-builds.

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-4-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tk8.4_8.4.19-5ubuntu1.debdiff
Type: text/x-diff
Size: 972 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20121208/689f3c66/attachment.diff>


More information about the Pkg-tcltk-devel mailing list