ALT Linux repos
Group :: Development/Tcl
RPM: tcl
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0010-ALT-itcl-TCL_INCLUDES.patch
Download
Download
From 133e067c7d6003616d7d03017f95d97f8d2fe868 Mon Sep 17 00:00:00 2001
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
Date: Tue, 8 Oct 2019 18:31:22 +0300
Subject: [PATCH] ALT itcl TCL_INCLUDES
TCL devel package is not installed when itcl is building, so it should use
private headers from the TCL source instead of system include directory.
---
tcl/pkgs/itcl4.2.3/configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tcl/pkgs/itcl4.2.3/configure b/tcl/pkgs/itcl4.2.3/configure
index 3694f3d655..b5c7cb13bd 100755
--- a/tcl/pkgs/itcl4.2.3/configure
+++ b/tcl/pkgs/itcl4.2.3/configure
@@ -5774,7 +5774,8 @@ printf %s "checking for Tcl private include files... " >&6; }
# public and private headers in the same set.
# We want to ensure these are substituted so as not to require
# any *_NATIVE vars be defined in the Makefile
- TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE}"
+ TCL_SRC_DIR="`cd "$srcdir"/../..; pwd`"
+ TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE} -I${TCL_SRC_DIR}/generic -I${TCL_SRC_DIR}/unix"
if test "`uname -s`" = "Darwin"; then
# If Tcl was built as a framework, attempt to use
# the framework's Headers and PrivateHeaders directories
--
2.33.5