aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslakmagik <slakmagik@gmail.com>2011-03-11 06:32:42 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 14:08:07 -0500
commit4c916010a0ac75038aab07078ad0ab0cce3977fd (patch)
tree48c9298beba4ad13d911535fe9a7ebe168853785
parent40bff32947b78638eb9bad140d533ee8f067f04e (diff)
misc/gcolor2: Fix a build failure with grep 2.7
Change [:space:] to [[:space:]] in configure. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--misc/gcolor2/gcolor2.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/gcolor2/gcolor2.SlackBuild b/misc/gcolor2/gcolor2.SlackBuild
index 6807063522c3a..236eedd7f19f2 100644
--- a/misc/gcolor2/gcolor2.SlackBuild
+++ b/misc/gcolor2/gcolor2.SlackBuild
@@ -58,6 +58,8 @@ patch -p1 < $CWD/rgb.patch
# http://patch-tracker.debian.org/package/gcolor2
patch -p1 < $CWD/callbacks.c.patch
patch -p1 < $CWD/main.c.patch
+# now fix configure
+sed -i~ '/gentoo_ltmain_version/s/\[:space:\]/[&]/g' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \