Source: ispell
Version: 3.4.00-5
Tags: patch
User: [email protected]
Usertags: rebootstrap

ispell fails to cross build from source, because the build system
overrides the maintainer supplied cross compiler with the build
architecture compiler. Please consider applying the attached patch.

Helmut
diff --minimal -Nru ispell-3.4.00/debian/changelog 
ispell-3.4.00/debian/changelog
--- ispell-3.4.00/debian/changelog      2016-03-04 08:34:39.000000000 +0100
+++ ispell-3.4.00/debian/changelog      2016-10-14 08:11:38.000000000 +0200
@@ -1,3 +1,10 @@
+ispell (3.4.00-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: 0037-CC-from-environment.patch (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 14 Oct 2016 08:08:00 +0200
+
 ispell (3.4.00-5) unstable; urgency=medium
 
   * Add 0035-Force-text-grep-in-munchlist.patch to pass the `-a' flag to grep
diff --minimal -Nru ispell-3.4.00/debian/patches/0037-CC-from-environment.patch 
ispell-3.4.00/debian/patches/0037-CC-from-environment.patch
--- ispell-3.4.00/debian/patches/0037-CC-from-environment.patch 1970-01-01 
01:00:00.000000000 +0100
+++ ispell-3.4.00/debian/patches/0037-CC-from-environment.patch 2016-10-14 
08:11:24.000000000 +0200
@@ -0,0 +1,24 @@
+From: Helmut Grohne <[email protected]>
+Subject: Use CC from environment
+
+Index: ispell-3.4.00/Makefile
+===================================================================
+--- ispell-3.4.00.orig/Makefile
++++ ispell-3.4.00/Makefile
+@@ -536,7 +536,7 @@
+ 
+ config.sh:  config.X defhash.h local.h Makefile
+       set $(SHELLDEBUG); \
+-      for var in BAKEXT BINDIR CC COUNTSUFFIX DEFDICT DEFHASH \
++      for var in BAKEXT BINDIR COUNTSUFFIX DEFDICT DEFHASH \
+         DEFLANG EXEEXT HASHSUFFIX INSTALL \
+         LANGUAGES LIBDIR LIBES LINK LINT LINTFLAGS LOOK_XREF \
+         MAKE_SORTTMP MAN1DIR MAN1EXT MAN45DIR MAN45EXT MAN45SECT MASTERHASH \
+@@ -548,6 +548,7 @@
+             | sed -e 's/"[^"]*$$/'"'/" -e "s/=/='/" -e 's/\\"/"/g' \
+             | sed -n -e '$$p'; \
+         done > config.sh; \
++      echo "CC='$(CC)'" >> config.sh; \
+       echo "CFLAGS='$(CFLAGS)'" >> config.sh; \
+       echo 'case "$$MAKE_SORTTMP" in "") \
+         SORTTMP="-e /!!SORTTMP!!/s/=.*$$/=/";; *) SORTTMP=;; esac' \
diff --minimal -Nru ispell-3.4.00/debian/patches/series 
ispell-3.4.00/debian/patches/series
--- ispell-3.4.00/debian/patches/series 2016-03-04 08:34:39.000000000 +0100
+++ ispell-3.4.00/debian/patches/series 2016-10-14 08:10:19.000000000 +0200
@@ -25,3 +25,4 @@
 0034-Fix-munchlist-failure.patch
 0035-Force-text-grep-in-munchlist.patch
 0036-Reproducible-hashes.patch
+0037-CC-from-environment.patch

Reply via email to