* [PATCH] Use POSIX sed invocation
@ 2011-07-03 9:18 Robin Green
2011-07-03 11:51 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Robin Green @ 2011-07-03 9:18 UTC (permalink / raw)
To: notmuch
Fixes broken build on DragonFly BSD
Signed-off-by: Robin Green <greenrd@greenrd.org>
---
lib/Makefile.local | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Makefile.local b/lib/Makefile.local
index fe42920..88d8deb 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -76,7 +76,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
notmuch.sym: lib/notmuch.h
printf "{\nglobal:\n" > notmuch.sym
- sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym
+ sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym
printf "local: *;\n};\n" >> notmuch.sym
$(dir)/$(SONAME): $(dir)/$(LIBNAME)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Use POSIX sed invocation
2011-07-03 9:18 [PATCH] Use POSIX sed invocation Robin Green
@ 2011-07-03 11:51 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2011-07-03 11:51 UTC (permalink / raw)
To: Robin Green, notmuch
On Sun, 3 Jul 2011 10:18:17 +0100, Robin Green <greenrd@greenrd.org> wrote:
> Fixes broken build on DragonFly BSD
> - sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym
> + sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym
Fix (for my naughty GNUism) pushed.
Thanks for your patch
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-03 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-03 9:18 [PATCH] Use POSIX sed invocation Robin Green
2011-07-03 11:51 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).