Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 17743431FD0 for ; Sun, 3 Jul 2011 02:18:39 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.275 X-Spam-Level: * X-Spam-Status: No, score=1.275 tagged_above=-999 required=5 tests=[RDNS_NONE=1.274, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nliZqjd418fs for ; Sun, 3 Jul 2011 02:18:38 -0700 (PDT) Received: from mail.dnsexit.com (unknown [67.214.175.90]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 587A1431FB6 for ; Sun, 3 Jul 2011 02:18:38 -0700 (PDT) Received: from greenrd.plus.com (greenrd.plus.com [212.159.116.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.dnsexit.com (Postfix) with ESMTP id 30C8EB7D3EB for ; Sun, 3 Jul 2011 05:18:00 -0400 (EDT) Received: from greenrd (uid 1001) (envelope-from greenrd@greenrd.org) id 10a089c2d by greenrd.plus.com (DragonFly Mail Agent) Sun, 03 Jul 2011 10:18:29 +0100 From: Robin Green To: notmuch@notmuchmail.org Subject: [PATCH] Use POSIX sed invocation Date: Sun, 3 Jul 2011 10:18:17 +0100 Message-Id: <1309684697-3289-1-git-send-email-greenrd@greenrd.org> X-Mailer: git-send-email 1.7.4.1 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 09:18:39 -0000 Fixes broken build on DragonFly BSD Signed-off-by: Robin Green --- 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