summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Webb <allenwebb@google.com>2020-07-15 08:44:19 -0500
committerAlfredo Tupone <tupone@gentoo.org>2020-07-15 21:21:39 +0200
commit38b2d044a1eac3ddb57cb250264f5e9dfa50ba96 (patch)
tree4065bbb684d66f3f1e072fe257f3333fea4933e5 /dev-lang/tcl
parentdev-util/bpftrace-0.11.0: Version bump, sync 9999 (diff)
downloadgentoo-38b2d044a1eac3ddb57cb250264f5e9dfa50ba96.tar.gz
gentoo-38b2d044a1eac3ddb57cb250264f5e9dfa50ba96.tar.bz2
gentoo-38b2d044a1eac3ddb57cb250264f5e9dfa50ba96.zip
dev-lang/tcl: Fix cross compilation by not setting include directory.
Bug: https://bugs.gentoo.org/731120 Signed-off-by: Allen Webb <allenwebb@google.com> Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/tcl')
-rw-r--r--dev-lang/tcl/files/tcl-8.6.9-include-spec.patch12
-rw-r--r--dev-lang/tcl/tcl-8.6.9-r1.ebuild (renamed from dev-lang/tcl/tcl-8.6.9.ebuild)1
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/tcl/files/tcl-8.6.9-include-spec.patch b/dev-lang/tcl/files/tcl-8.6.9-include-spec.patch
new file mode 100644
index 000000000000..4b3a1c66d431
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.6.9-include-spec.patch
@@ -0,0 +1,12 @@
+This resolves https://bugs.gentoo.org/731120
+--- a/unix/configure.in
++++ b/unix/configure.in
+@@ -895,7 +895,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
+ TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
+
+ # Install time header dir can be set via --includedir
+-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
++eval "TCL_INCLUDE_SPEC=\"\""
+
+ #------------------------------------------------------------------------
+ # tclConfig.sh refers to this by a different name
diff --git a/dev-lang/tcl/tcl-8.6.9.ebuild b/dev-lang/tcl/tcl-8.6.9-r1.ebuild
index 27b6a02f2715..824abc3e73df 100644
--- a/dev-lang/tcl/tcl-8.6.9.ebuild
+++ b/dev-lang/tcl/tcl-8.6.9-r1.ebuild
@@ -25,6 +25,7 @@ S="${SPARENT}"/unix
PATCHES=(
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
"${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
+ "${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120
)
src_prepare() {