[Lunar-commits] <moonbase> docbook-utils: patch BUILD for grep-2.7 strictness
Duncan Gibson
engelsman at lunar-linux.org
Tue Oct 5 22:24:21 CEST 2010
commit a90bde1ac9d87af888fdca4f4425de7809d9612e
Author: Duncan Gibson <duncan.gibson at xs4all.nl>
Date: Tue Oct 5 22:24:21 2010 +0200
docbook-utils: patch BUILD for grep-2.7 strictness
inspired by gentoo's docbook-sgml-utils-0.6.14-grep-2.7.patch, added a
sedit to BUILD to correct generated script's use of [:space:] instead
of [[:space:]] because grep-2.7 is now strict about the correct usage.
This patch isn't required by docbook-utils as such, but by the modules
that use docbook-utils, such as gnome-power-manager
---
doc-tools/docbook-utils/BUILD | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc-tools/docbook-utils/BUILD b/doc-tools/docbook-utils/BUILD
index 769acea..b3da3ed 100644
--- a/doc-tools/docbook-utils/BUILD
+++ b/doc-tools/docbook-utils/BUILD
@@ -1,5 +1,8 @@
(
+ # grep 2.7 no longer accepts [:space:] instead of [[:space:]]
+ sedit 's/\[:space:\]/[&]/g' bin/jw.in &&
+
# Do not loopback (breaks docbook-utils build)
CENTRALIZED=/etc/sgml/catalog &&
install-catalog -r $CENTRALIZED /etc/sgml/catalog &&
More information about the Lunar-commits
mailing list