sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Eric Sandall (40f00a739f78b5a45014c45f52d094a9b45b8b51)
- From: Eric Sandall <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (40f00a739f78b5a45014c45f52d094a9b45b8b51)
- Date: Thu, 20 Mar 2008 23:14:15 -0500
GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:
devel/tcl/HISTORY | 4 ++++
devel/tcl/UP_TRIGGERS | 15 +++++++++++++++
2 files changed, 19 insertions(+)
New commits:
commit 40f00a739f78b5a45014c45f52d094a9b45b8b51
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
tcl: Check for version changes and triger casts. Fixes Bug #14235
diff --git a/devel/tcl/HISTORY b/devel/tcl/HISTORY
index 141f578..78a14c2 100644
--- a/devel/tcl/HISTORY
+++ b/devel/tcl/HISTORY
@@ -1,3 +1,7 @@
+2008-03-20 Eric Sandall <sandalle AT sourcemage.org>
+ * UP_TRIGGERS: Check for version changes and trigger casts
+ Fixes Bug #14235
+
2008-02-10 George Sherwood <george AT beernabeer.com>
* DETAILS: Updated stable to 8.5.1
diff --git a/devel/tcl/UP_TRIGGERS b/devel/tcl/UP_TRIGGERS
new file mode 100755
index 0000000..902d7b1
--- /dev/null
+++ b/devel/tcl/UP_TRIGGERS
@@ -0,0 +1,15 @@
+# up_trigger everything on major version updates as most stuff links to
libtcl
+local OLD_SPELL_VERSION=""
+if spell_ok $SPELL; then
+ OLD_SPELL_VERSION="$(installed_version $SPELL)"
+ if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then
+ message "This is a possibly incompatible update of libtcl..."
+ message "Figuring out what spells need to be recast, this may take a
while."
+ for each in $(show_up_depends $SPELL); do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libtcl${OLD_SPELL_VERSION:0:3}.so"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi
- [SM-Commit] GIT changes to master grimoire by Eric Sandall (40f00a739f78b5a45014c45f52d094a9b45b8b51), Eric Sandall, 03/21/2008
Archive powered by MHonArc 2.6.24.