summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2007-04-09 11:11:48 +0000
committerMichael Januszewski <spock@gentoo.org>2007-04-09 11:11:48 +0000
commit82bc632a23afd68a7c4c2b238414ce54a092464d (patch)
tree34ed47e04ea583d05e7e1be5b56c92dcf2a5c121 /media-gfx/splashutils/files
parentFixing the built_with_use for apache-2.0.59, since apache-2.0 only supports a... (diff)
downloadgentoo-2-82bc632a23afd68a7c4c2b238414ce54a092464d.tar.gz
gentoo-2-82bc632a23afd68a7c4c2b238414ce54a092464d.tar.bz2
gentoo-2-82bc632a23afd68a7c4c2b238414ce54a092464d.zip
Fix bug #173830.
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-gfx/splashutils/files')
-rw-r--r--media-gfx/splashutils/files/splashutils-gentoo-0.1.14-stat.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/splashutils/files/splashutils-gentoo-0.1.14-stat.patch b/media-gfx/splashutils/files/splashutils-gentoo-0.1.14-stat.patch
new file mode 100644
index 000000000000..6e8ef66a1426
--- /dev/null
+++ b/media-gfx/splashutils/files/splashutils-gentoo-0.1.14-stat.patch
@@ -0,0 +1,23 @@
+diff -Naurp splashutils-gentoo-0.1.14-orig/splash-functions.sh splashutils-gentoo-0.1.14/splash-functions.sh
+--- splashutils-gentoo-0.1.14-orig/splash-functions.sh 2007-04-09 12:45:01.000000000 +0200
++++ splashutils-gentoo-0.1.14/splash-functions.sh 2007-04-09 12:46:32.000000000 +0200
+@@ -207,7 +207,7 @@ splash_cache_prep() {
+
+ mount -n --move "${spl_tmpdir}" "${spl_cachedir}"
+
+- h=$(stat -c '%y' ${spl_cachedir}/deptree 2>/dev/null)
++ h=$(ls -ld --full-time ${spl_cachedir}/deptree | cut -f6,7,8 -d' ' 2>/dev/null)
+
+ # Point depscan.sh to our cachedir
+ spl_cache_depscan="yes" /sbin/depscan.sh -u
+@@ -226,8 +226,8 @@ splash_cache_prep() {
+ local lastlev timestamp
+ { read lastlev; read timestamp; } < ${spl_cachedir}/levels
+ if [[ "${lastlev}" != "${BOOTLEVEL}/${DEFAULTLEVEL}" || \
+- "${timestamp}" != "$(stat -c '%y' /etc/runlevels/${BOOTLEVEL})/$(stat -c '%y' /etc/runlevels/${DEFAULTLEVEL})" || \
+- "$(stat -c '%y' ${spl_cachedir}/deptree)" != "${h}" ]]; then
++ "${timestamp}" != "$(ls -ld --full-time /etc/runlevels/${BOOTLEVEL} | cut -f6,7,8 -d' ')/$(ls -ld --full-time /etc/runlevels/${DEFAULTLEVEL} | cut -f6,7,8 -d' ')" || \
++ "$(ls -ld --full-time ${spl_cachedir}/deptree | cut -f6,7,8 -d' ')" != "${h}" ]]; then
+ echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start
+ fi
+ fi