commit: 38b2d044a1eac3ddb57cb250264f5e9dfa50ba96 Author: Allen Webb <allenwebb <AT> google <DOT> com> AuthorDate: Wed Jul 15 13:44:19 2020 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Jul 15 19:21:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b2d044
dev-lang/tcl: Fix cross compilation by not setting include directory. Bug: https://bugs.gentoo.org/731120 Signed-off-by: Allen Webb <allenwebb <AT> google.com> Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-lang/tcl/files/tcl-8.6.9-include-spec.patch | 12 ++++++++++++ dev-lang/tcl/{tcl-8.6.9.ebuild => tcl-8.6.9-r1.ebuild} | 1 + 2 files changed, 13 insertions(+) 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 00000000000..4b3a1c66d43 --- /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 similarity index 98% rename from dev-lang/tcl/tcl-8.6.9.ebuild rename to dev-lang/tcl/tcl-8.6.9-r1.ebuild index 27b6a02f271..824abc3e73d 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() {
