public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/build-docbook-catalog/files/
@ 2016-07-17 13:33 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2016-07-17 13:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0005237968465998ba45ddfcfbb7116278600128
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jul 15 18:54:16 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 13:24:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00052379

app-text/build-docbook-catalog: remove unused patch

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../build-docbook-catalog-1.19.1-no-flock.patch    | 33 ----------------------
 1 file changed, 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 48f054e..0000000
--- 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
- }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-17 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-17 13:33 [gentoo-commits] repo/gentoo:master commit in: app-text/build-docbook-catalog/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox