--- /dev/null
+Return-Path: <wiz@danbala.ifoer.tuwien.ac.at>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 2F22C431FAF\r
+ for <notmuch@notmuchmail.org>; Thu, 26 Jun 2014 06:08:41 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id UkpSrFS-4us9 for <notmuch@notmuchmail.org>;\r
+ Thu, 26 Jun 2014 06:08:35 -0700 (PDT)\r
+Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at\r
+ [128.130.168.64])\r
+ by olra.theworths.org (Postfix) with ESMTP id 856CE431FAE\r
+ for <notmuch@notmuchmail.org>; Thu, 26 Jun 2014 06:08:34 -0700 (PDT)\r
+Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116)\r
+ id C9BCEA4FC; Thu, 26 Jun 2014 15:08:26 +0200 (CEST)\r
+Date: Thu, 26 Jun 2014 15:08:26 +0200\r
+From: Thomas Klausner <tk@giga.or.at>\r
+To: David Bremner <david@tethera.net>\r
+Subject: notmuch-0.18 issues [was Re: notmuch-0.16: realpath() compatibility\r
+ issue; clang visibility problem]\r
+Message-ID: <20140626130826.GL11862@danbala.tuwien.ac.at>\r
+References: <20140103214735.GG27614@danbala.tuwien.ac.at>\r
+ <87ob0c6p0e.fsf@zancas.localnet>\r
+ <20140408123312.GZ5053@danbala.tuwien.ac.at>\r
+ <sfid-H20140626-143836-+023.12-1@spamfilter.osbf.lua>\r
+ <87a98zho9y.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"\r
+Content-Disposition: inline\r
+In-Reply-To: <87a98zho9y.fsf@zancas.localnet>\r
+Cc: Notmuch list <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 26 Jun 2014 13:08:41 -0000\r
+\r
+\r
+--T4sUOijqQbZv57TR\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+\r
+Hi David!\r
+\r
+Thanks for getting back to me about this.\r
+Currently configure (with some patches) says:\r
+\r
+Checking for Xapian development files... Yes (1.2.17).\r
+Checking for Xapian compaction support... Yes.\r
+Checking for GMime development files... Yes (gmime-2.4 ).\r
+Checking for Glib development files (>= 2.22)... Yes.\r
+Checking for zlib (>= 1.2.5.2)... Yes.\r
+Checking for talloc development files... Yes.\r
+Checking for valgrind development files... No (but that's fine).\r
+Checking for bash-completion (>= 1.90)... No (will not install bash completion).\r
+Checking if emacs is available... emacs: not found\r
+No (so will not byte-compile emacs code)\r
+Checking if sphinx is available and supports nroff output... python: not found\r
+No (falling back to rst2man).\r
+Checking if rst2man is available... Yes.\r
+Checking which platform we are on... Unknown.\r
+\r
+*** Warning: Unknown platform. Notmuch might or might not build correctly.\r
+\r
+Checking byte order... 1234\r
+Checking for canonicalize_file_name... No (will use our own instead).\r
+Checking for getline... Yes.\r
+Checking for strcasestr... Yes.\r
+Checking for strsep... Yes.\r
+Checking for timegm... Yes.\r
+Checking for dirent.d_type... Yes.\r
+Checking for standard version of getpwuid_r... Yes.\r
+Checking for standard version of asctime_r... Yes.\r
+Checking for rpath support... Yes.\r
+Checking for -Wl,--as-needed... Yes.\r
+Checking for available C++ compiler warning flags... \r
+ -Wall -Wextra -Wwrite-strings\r
+Checking for available C compiler warning flags... \r
+ -Wall -Wextra -Wwrite-strings -Wmissing-declarations\r
+\r
+so this particular issue seems to be fixed, right?\r
+\r
+I had some other issues with 0.18 though.\r
+\r
+1. pkgsrc's copy of rst2man is called "rst2man.py". The configure test\r
+for this fails, of course, and there is another place where rst2man is\r
+called directly. I've changed that to rst2man.py locally, but it'd be\r
+good if configure could test for both names, set a variable to the one\r
+found, and use the variable in the other place.\r
+\r
+2. doc/Makefile.local has "python" hardcoded. pkgsrc supports multiple\r
+python versions at the same time, with the disadvantage that there is\r
+no "python" executable, only "python2.6", "python2.7", "python3.3"\r
+etc. I've passed in the proper executable name as PYTHONBIN and used\r
+it in the Makefile.\r
+\r
+3. installation of notmuch-version.el fails, because the install rule\r
+has no dependency on the generated file notmuch-version.el. I've added\r
+such a dependency.\r
+\r
+The patches I used to make notmuch build are attached, but I can of\r
+course test other patches if you prefer different solutions. I haven't\r
+really run this version of notmuch yet.\r
+\r
+Cheers,\r
+ Thomas\r
+--T4sUOijqQbZv57TR\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: attachment; filename="patch-doc_Makefile.local"\r
+\r
+$NetBSD$\r
+\r
+--- doc/Makefile.local.orig 2014-05-06 07:27:29.000000000 +0000\r
++++ doc/Makefile.local\r
+@@ -7,8 +7,8 @@ SPHINXOPTS := -q\r
+ SPHINXBUILD = sphinx-build\r
+ DOCBUILDDIR := $(dir)/_build\r
+ \r
+-prerst2man := python $(srcdir)/$(dir)/prerst2man.py\r
+-mkdocdeps := python $(srcdir)/$(dir)/mkdocdeps.py\r
++prerst2man := ${PYTHONBIN} $(srcdir)/$(dir)/prerst2man.py\r
++mkdocdeps := ${PYTHONBIN} $(srcdir)/$(dir)/mkdocdeps.py\r
+ \r
+ # Internal variables.\r
+ ALLSPHINXOPTS := -d $(DOCBUILDDIR)/doctrees $(SPHINXOPTS) $(srcdir)/$(dir)\r
+\r
+--T4sUOijqQbZv57TR\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: attachment; filename="patch-doc_prerst2man.py"\r
+\r
+$NetBSD$\r
+\r
+--- doc/prerst2man.py.orig 2014-05-06 07:27:29.000000000 +0000\r
++++ doc/prerst2man.py\r
+@@ -59,5 +59,5 @@ for page in man_pages:\r
+ outfile.write("".join(lines))\r
+ outfile.close()\r
+ \r
+- system('set -x; rst2man {0} {1}/{2}.{3}'\r
++ system('set -x; rst2man.py {0} {1}/{2}.{3}'\r
+ .format(filename, outdir, page[0], page[4]))\r
+\r
+--T4sUOijqQbZv57TR\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: attachment; filename="patch-emacs_Makefile.local"\r
+\r
+$NetBSD$\r
+\r
+--- emacs/Makefile.local.orig 2014-05-06 07:27:29.000000000 +0000\r
++++ emacs/Makefile.local\r
+@@ -69,7 +69,7 @@ install: install-emacs\r
+ endif\r
+ \r
+ .PHONY: install-emacs\r
+-install-emacs:\r
++install-emacs: $(dir)/notmuch-version.el\r
+ mkdir -p "$(DESTDIR)$(emacslispdir)"\r
+ install -m0644 $(emacs_sources) "$(DESTDIR)$(emacslispdir)"\r
+ ifeq ($(HAVE_EMACS),1)\r
+\r
+--T4sUOijqQbZv57TR\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: attachment; filename=patch-configure\r
+\r
+$NetBSD: patch-aa,v 1.1 2014/01/09 12:15:23 wiz Exp $\r
+\r
+--- configure.orig 2014-05-06 07:27:29.000000000 +0000\r
++++ configure\r
+@@ -418,7 +418,7 @@ else\r
+ have_sphinx=0\r
+ \r
+ printf "Checking if rst2man is available... "\r
+- if rst2man -V > /dev/null 2>&1; then\r
++ if rst2man.py -V > /dev/null 2>&1; then\r
+ printf "Yes.\n"\r
+ have_rst2man=1\r
+ else\r
+\r
+--T4sUOijqQbZv57TR--\r