From f7e339556e6a2dadba1be619288fe56a5fd2352b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 10 Apr 2014 08:24:02 +2100 Subject: [PATCH] [PATCH 1/2] build: add canonicalize_file_name to symbols exported from libnotmuch.so --- 55/03fd9210579280394ec8dc597711dc81bd4c93 | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 55/03fd9210579280394ec8dc597711dc81bd4c93 diff --git a/55/03fd9210579280394ec8dc597711dc81bd4c93 b/55/03fd9210579280394ec8dc597711dc81bd4c93 new file mode 100644 index 000000000..a9d5b138c --- /dev/null +++ b/55/03fd9210579280394ec8dc597711dc81bd4c93 @@ -0,0 +1,69 @@ +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 AF6E5431FC3 + for ; Wed, 9 Apr 2014 04:24:23 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 UEpueR-Sveyd for ; + Wed, 9 Apr 2014 04:24:18 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 42690431FC0 + for ; Wed, 9 Apr 2014 04:24:18 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WXqc2-0000aX-P1; Wed, 09 Apr 2014 08:24:14 -0300 +Received: (nullmailer pid 11013 invoked by uid 1000); Wed, 09 Apr 2014 + 11:24:11 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH 1/2] build: add canonicalize_file_name to symbols exported + from libnotmuch.so +Date: Wed, 9 Apr 2014 08:24:02 -0300 +Message-Id: <1397042643-10975-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.9.0 +In-Reply-To: <87r4586p7m.fsf@zancas.localnet> +References: <87r4586p7m.fsf@zancas.localnet> +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: Wed, 09 Apr 2014 11:24:24 -0000 + +This is needed for our compat version of canonicalize_file_name to be used. +--- + lib/gen-version-script.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh +index 76670d5..64a7374 100644 +--- a/lib/gen-version-script.sh ++++ b/lib/gen-version-script.sh +@@ -23,6 +23,6 @@ while read sym; do + ;; + esac + done +-nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $2 == "T" && $3 ~ "^get(line|delim)$" {print $3 ";"}' ++nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $2 == "T" && $3 ~ "^(getline|getdelim|canonicalize_file_name)$" {print $3 ";"}' + sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/ \1;/p' $HEADER + printf "local: *;\n};\n" +-- +1.9.0 + -- 2.26.2