diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-07-15 20:54:16 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-17 15:24:33 +0200 |
commit | 0005237968465998ba45ddfcfbb7116278600128 (patch) | |
tree | 51c6600494d88facb6ba6e2d57e72a69e4073812 /app-text | |
parent | app-text/antiword: remove unused patch (diff) | |
download | gentoo-0005237968465998ba45ddfcfbb7116278600128.tar.gz gentoo-0005237968465998ba45ddfcfbb7116278600128.tar.bz2 gentoo-0005237968465998ba45ddfcfbb7116278600128.zip |
app-text/build-docbook-catalog: remove unused patch
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/build-docbook-catalog/files/build-docbook-catalog-1.19.1-no-flock.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app-text/build-docbook-catalog/files/build-docbook-catalog-1.19.1-no-flock.patch b/app-text/build-docbook-catalog/files/build-docbook-catalog-1.19.1-no-flock.patch deleted file mode 100644 index 48f054e57a07..000000000000 --- a/app-text/build-docbook-catalog/files/build-docbook-catalog-1.19.1-no-flock.patch +++ /dev/null @@ -1,33 +0,0 @@ -build-docbook-catalog: avoid usage of non-portable flock - -Solaris has no flock(1), hence use shell-provided until instead to -simulate lock. - ---- build-docbook-catalog -+++ build-docbook-catalog -@@ -65,10 +65,14 @@ - mkdir -p "${ROOT}${ROOTCONFDIR}" || error "could not create ${ROOTCONFDIR}" - fi - -+ local lock="${ROOT}${ROOTCONFDIR}"/build-docbook-catalog-lock - ( - # Lock the dir to avoid trashing other runs that might - # be running parallel. -- flock 123 || error "unable to lock ${ROOTCONFDIR}" -+ touch "${lock}".$$ && \ -+ until ln "${lock}".$$ "${lock}" 2>/dev/null; do sleep 1; done && \ -+ rm "${lock}".$$ -+ [[ -f ${lock}.$$ ]] && error "unable to lock ${ROOTCONFDIR}" - - create_catalogs # will exit on error - for type in xsl xsl-ns xsl-saxon xsl-xalan; do -@@ -90,7 +94,8 @@ - populate_entities - fi - -- ) 123>"${ROOT}${ROOTCONFDIR}/.keep" -+ ) -+ rm "${lock}" - - exit 0 - } |