summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-20 12:57:34 -0400
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-21 08:20:53 +0000
commit18a2fb18a1b2fbece65da801d0ca43e960864b0f (patch)
treeea4c5a16c9fe275088ce9f80302288b2e8ad41a8 /patches
parente6a2bc1531bcf3969fedd54b8ae10e498fa22fbf (diff)
downloadmidipix_build-18a2fb18a1b2fbece65da801d0ca43e960864b0f.tar.bz2
midipix_build-18a2fb18a1b2fbece65da801d0ca43e960864b0f.tar.xz
tcl: remove anti-cross-compilation bits from the generated tclConfig.sh.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/tcl-8.7a1.local.patch29
1 files changed, 27 insertions, 2 deletions
diff --git a/patches/tcl-8.7a1.local.patch b/patches/tcl-8.7a1.local.patch
index 6b47a268..b5fba2f6 100644
--- a/patches/tcl-8.7a1.local.patch
+++ b/patches/tcl-8.7a1.local.patch
@@ -1,5 +1,6 @@
---- unix/configure.orig 2017-09-07 12:54:11.000000000 +0000
-+++ unix/configure 2018-05-29 14:55:16.464000000 +0000
+diff -ru a/unix/configure b/unix/configure
+--- unix/configure 2017-09-07 08:54:11.000000000 -0400
++++ unix/configure 2019-08-20 12:55:27.989692823 -0400
@@ -3957,7 +3957,7 @@
$as_echo "#define _REENTRANT 1" >>confdefs.h
@@ -140,3 +141,27 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to package libraries" >&5
$as_echo_n "checking how to package libraries... " >&6; }
# Check whether --enable-framework was given.
+@@ -10319,7 +10342,7 @@
+ TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
+ fi
+ TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
+- TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
++ TCL_LIB_SPEC="${TCL_LIB_FLAG}"
+ fi
+ VERSION='${VERSION}'
+ eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
+@@ -10363,12 +10386,12 @@
+ fi
+
+ TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
+-TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
++TCL_STUB_LIB_SPEC="${TCL_STUB_LIB_FLAG}"
+ 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=\"-I${includedir}\""
+
+ #------------------------------------------------------------------------
+ # tclConfig.sh refers to this by a different name