Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (c6bb4fb258e1e4c623053e255f20753be1d1a620)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (c6bb4fb258e1e4c623053e255f20753be1d1a620)
  • Date: Wed, 16 Aug 2017 19:28:22 +0000

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

libs/libtirpc/HISTORY | 3 +++
libs/libtirpc/UP_TRIGGERS | 18 ++++++++++++++++++
2 files changed, 21 insertions(+)

New commits:
commit c6bb4fb258e1e4c623053e255f20753be1d1a620
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

libtirpc: Re-cast dependees on major.minor change (e.g. 0.2.5 -> 1.0.2)

diff --git a/libs/libtirpc/HISTORY b/libs/libtirpc/HISTORY
index 4f381b7..e42ca0f 100644
--- a/libs/libtirpc/HISTORY
+++ b/libs/libtirpc/HISTORY
@@ -1,3 +1,6 @@
+2017-08-16 Eric Sandall <sandalle AT sourcemage.org>
+ * UP_TRIGGERS: Re-cast dependees on major.minor change (e.g. 0.2.5 ->
1.0.2)
+
2017-08-15 Eric Sandall <sandalle AT sourcemage.org>
* PRE_BUILD: Apply patch for glibc 2.26+ (Bug #16039)
* 0007-include-stdint.h-for-uintptr_t.patch from
diff --git a/libs/libtirpc/UP_TRIGGERS b/libs/libtirpc/UP_TRIGGERS
new file mode 100755
index 0000000..2802195
--- /dev/null
+++ b/libs/libtirpc/UP_TRIGGERS
@@ -0,0 +1,18 @@
+# Run if X or Y changes in version x.y.z for ABI (e.g. 3.0 -> 3.2) changes
+if spell_ok $SPELL; then
+ local OLD_SPELL_VERSION="$(installed_version $SPELL)" &&
+
+ if [ "${OLD_SPELL_VERSION:0:3}" != "${VERSION:0:3}" ]; then
+ message "${MESSAGE_COLOR}This is a possibly incompatible update of
$SPELL..." &&
+ message "Figuring out what spells need to be recast, this may take a
while.${DEFAULT_COLOR}" &&
+
+ local dependees="$(show_up_depends $SPELL 1)" &&
+
+ for each in $dependees; do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libtirpc\.so"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (c6bb4fb258e1e4c623053e255f20753be1d1a620), Eric Sandall, 08/18/2017

Archive powered by MHonArc 2.6.24.

Top of Page