The patch still applies to the current package and it is still the
correct fix for cross-build support in diffutils.

The complete NMU debdiff is attached.

I intend to upload this NMU to the delayed/7 queue in a couple of days.
Please let me know if you want to upload the fix before that time.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

diff -u diffutils-2.8.1/debian/changelog diffutils-2.8.1/debian/changelog
--- diffutils-2.8.1/debian/changelog
+++ diffutils-2.8.1/debian/changelog
@@ -1,3 +1,10 @@
+diffutils (2.8.1-12.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add trivial patch to support cross building (Closes: #451159)
+
+ -- Neil Williams <codeh...@debian.org>  Wed, 27 May 2009 20:53:44 +0100
+
 diffutils (2.8.1-12) unstable; urgency=low
 
   * Drop outdated preinst.
diff -u diffutils-2.8.1/debian/rules diffutils-2.8.1/debian/rules
--- diffutils-2.8.1/debian/rules
+++ diffutils-2.8.1/debian/rules
@@ -9,6 +9,9 @@
 
 DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
 
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
   CFLAGS += -O2

Attachment: pgpYjFQT22x71.pgp
Description: PGP signature

Reply via email to