[Pkg-tcltk-devel] Bug#871762: tcl-signal FTCBFS: uses the build architecture compiler
Helmut Grohne
helmut at subdivi.de
Fri Aug 11 04:52:27 UTC 2017
Source: tcl-signal
Version: 1.4-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
tcl-signal fails to cross build from source, because it uses the build
architecture compiler. propagate_cflags.patch deletes the propagation of
the compiler from configure and thus make falls back to the default
(build architecture compiler). After picking up that assignment again,
tcl-signal cross builds successfully. Please consider applying the
attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru tcl-signal-1.4/debian/changelog tcl-signal-1.4/debian/changelog
--- tcl-signal-1.4/debian/changelog 2016-06-01 21:33:46.000000000 +0200
+++ tcl-signal-1.4/debian/changelog 2017-08-05 21:24:02.000000000 +0200
@@ -1,3 +1,10 @@
+tcl-signal (1.4-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Propagate TCL_CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 05 Aug 2017 21:24:02 +0200
+
tcl-signal (1.4-4) unstable; urgency=low
* Put package under pkg-tcltk team maintenance
diff --minimal -Nru tcl-signal-1.4/debian/patches/propagate_cflags.patch tcl-signal-1.4/debian/patches/propagate_cflags.patch
--- tcl-signal-1.4/debian/patches/propagate_cflags.patch 2016-01-19 11:36:15.000000000 +0100
+++ tcl-signal-1.4/debian/patches/propagate_cflags.patch 2017-08-05 21:24:00.000000000 +0200
@@ -2,8 +2,8 @@
Description: Propagate CFLAGS and CPPFLAGS from Debian
--- a/Makefile.in
+++ b/Makefile.in
-@@ -1,11 +1,10 @@
--CC=@TCL_CC@
+@@ -1,11 +1,11 @@
+ CC=@TCL_CC@
# Tilman Kranz; Sun Oct 19 23:21:35 CEST 2003: added Tcl include directives
-CFLAGS=-I/usr/include @TCL_DEFS@ @TCL_SHLIB_CFLAGS@ -I at TCL_PREFIX@/include @TCL_INCLUDE_SPEC@
+CFLAGS+=-I/usr/include @TCL_DEFS@ @TCL_SHLIB_CFLAGS@ -I at TCL_PREFIX@/include @TCL_INCLUDE_SPEC@
More information about the Pkg-tcltk-devel
mailing list