summaryrefslogtreecommitdiffstats
path: root/archive-libs/zlib/UP_TRIGGERS
diff options
context:
space:
mode:
authorGeorge Sherwood2011-01-09 10:58:40 -0600
committerGeorge Sherwood2011-01-09 10:58:40 -0600
commit591c6443704baece384ec8b96740bd883169f7c9 (patch)
treeb1930818d64f72b582f3f5dbf7d7491f338a4d63 /archive-libs/zlib/UP_TRIGGERS
parent902d0545eb36581a17fcbeb5dd64cbdf14fa6694 (diff)
zlip: Added sed from LFS to fix zlib.h. UP_TRIGGERS to ensure system
is stable. Should also fix Bug 15927.
Diffstat (limited to 'archive-libs/zlib/UP_TRIGGERS')
-rwxr-xr-xarchive-libs/zlib/UP_TRIGGERS11
1 files changed, 11 insertions, 0 deletions
diff --git a/archive-libs/zlib/UP_TRIGGERS b/archive-libs/zlib/UP_TRIGGERS
new file mode 100755
index 0000000000..cacaeab143
--- /dev/null
+++ b/archive-libs/zlib/UP_TRIGGERS
@@ -0,0 +1,11 @@
+# run if unpatched zlib.h is found
+
+local OLD_SPELL_VERSION=""
+spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
+if [ "${OLD_SPELL_VERSION}" == "1.2.5" ]; then
+ if grep -q "ifdef _LARGEFILE64_SOURCE" $INSTALL_ROOT/usr/include/zlib.h; then
+ for each in $(show_up_depends $SPELL 1); do
+ up_trigger $each cast_self
+ done
+ fi
+fi