Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37759630
en ru br
ALT Linux repos
S:8.6.13-alt1
5.0: 8.5.5-alt2
4.1: 8.5.2-alt1
4.0: 8.4.17-alt0.M40.1
3.0: 8.4.11-alt1

Group :: Development/Tcl
RPM: tcl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0010-ALT-itcl-TCL_INCLUDES.patch
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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin