Package: libcairo
Version: 1.4.10-1
Severity: normal
Tags: patch
There is a typo in the cross build support in debian/rules that prevents
crossbuilding of libcairo, the --build option is passed the value for
DEB_HOST_GNU_TYPE and the --host option is passed the value for
DEB_BUILD_GNU_TYPE.
The following patch simply reverses the variables so that the cross
build gets the correct values. (Current results - for an example cross
build on amd64 to build an arm package - are that the cross
compiler tries to build an amd64 object file and then tries to link it
using an arm linker which, predictably, fails.)
Thanks.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
*** crossbuild.diff
--- libcairo-1.4.10/debian/rules
+++ libcairo2.new/debian/rules
@@ -64,7 +64,7 @@
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
CONFFLAGS += $(DEB_HOST_GNU_TYPE)
else
- CONFFLAGS += --host $(DEB_BUILD_GNU_TYPE) --build $(DEB_HOST_GNU_TYPE)
+ CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
package := tmp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]