New commits:
commit bef800a38d6842e42a9e81af1cf8ba83bc08211f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
Fixes Bug #185, Bug #186, and Bug #187
libsigsegv: Trigger dependent spells on upgrade
diffutils, gawk, m4: Optionally depend on libsigsegv
+optional_depends libsigsegv '' '' 'for page fault handling support' &&
optional_depends gettext \
"--enable-nls" \
"--disable-nls" \
diff --git a/editors/gawk/HISTORY b/editors/gawk/HISTORY
index bb49c1b..3bf4c33 100644
--- a/editors/gawk/HISTORY
+++ b/editors/gawk/HISTORY
@@ -1,3 +1,6 @@
+2014-12-30 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Optionally depends on libsigsegv. Issue #185
+
2014-09-09 Remko van der Vossen <wich AT sourcemage.org>
* DEPENDS: gmp, mpfr
diff --git a/libs/libsigsegv/HISTORY b/libs/libsigsegv/HISTORY
index f13a58e..00a7cb1 100644
--- a/libs/libsigsegv/HISTORY
+++ b/libs/libsigsegv/HISTORY
@@ -1,3 +1,7 @@
+2014-12-30 Eric Sandall <sandalle AT sourcemage.org>
+ * UP_TRIGGERS: Trigger dependent spells on upgrade
+ Bug #185, Bug #186, and Bug #187
+
2011-04-05 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.10, WEB_SITE updated
diff --git a/libs/libsigsegv/UP_TRIGGERS b/libs/libsigsegv/UP_TRIGGERS
new file mode 100755
index 0000000..c37f788
--- /dev/null
+++ b/libs/libsigsegv/UP_TRIGGERS
@@ -0,0 +1,10 @@
+local OLD_SPELL_VERSION=""
+spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
+
+if [ "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}" ]; then
+ message "${MESSAGE_COLOR}This is a possibly incompatible update of
${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR}...${DEFAULT_COLOR}"
+ message "${MESSAGE_COLOR}Figuring out what spells need to be recast, this
may take a while.${DEFAULT_COLOR}"
+ for each in $(show_up_depends $SPELL 1); do
+ up_trigger $each cast_self
+ done
+fi
[SM-Commit] GIT changes to master grimoire by Eric Sandall (bef800a38d6842e42a9e81af1cf8ba83bc08211f),
Eric Sandall, 12/30/2014