Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 81 / e078070cdd1ac7ab6d0152ecb520ef12f9a58f
1 Return-Path: <pioto@pioto.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1354940D144\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 06:32:14 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id sFj2iLZEOpGX for <notmuch@notmuchmail.org>;\r
16         Wed, 13 Oct 2010 06:32:03 -0700 (PDT)\r
17 Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235])\r
18         by olra.theworths.org (Postfix) with ESMTP id 9451740D141\r
19         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 06:32:03 -0700 (PDT)\r
20 Received: from pioto.org (pit84.pair.com [216.92.130.84])\r
21         (Authenticated sender: pioto)\r
22         by everglades.pioto.org (Postfix) with ESMTPSA id 0C4CB1601D1\r
23         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 09:32:02 -0400 (EDT)\r
24 Date: Wed, 13 Oct 2010 09:31:58 -0400\r
25 From: Mike Kelly <pioto@pioto.org>\r
26 To: notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH 0/4] Maildir synchronization v2\r
28 Message-ID: <20101013093158.6d637b89@pioto.org>\r
29 In-Reply-To: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz>\r
30 References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz>\r
31 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0)\r
32 Mime-Version: 1.0\r
33 Content-Type: text/plain; charset=US-ASCII\r
34 Content-Transfer-Encoding: 7bit\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Wed, 13 Oct 2010 13:32:14 -0000\r
48 \r
49 On Wed, 13 Oct 2010 14:13:54 +0200\r
50 Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
51 \r
52 > Hi,\r
53\r
54 > this is an updated version of patches sent in\r
55 > id:1273580061-22580-1-git-send-email-sojkam1@fel.cvut.cz. Only the\r
56 > last patch (tests) was actually updated to work with new test suite.\r
57 > These patches has already been tested by several people and I think\r
58 > they are ready to be merged. They can be pulled by:\r
59\r
60 > git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2\r
61 \r
62 This sounds like just the sort of feature set I'd want from this sort\r
63 of patch, except unfortunately it won't compile for me on FreeBSD:\r
64 \r
65   gcc -c -DNOTMUCH_VERSION=0.3.1-96-g6e0dca9 -O2 -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wmissing-declarations -DHAVE_GETLINE=1 -D_REENTRANT -I/usr/local/include/gmime-2.4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include   -DHAVE_VALGRIND=0  -DHAVE_STRCASESTR=1  -Icompat -Ilib -fPIC notmuch-config.c -o notmuch-config.o\r
66   notmuch-config.c:90: error: field 'maildir_sync' has incomplete type\r
67   notmuch-config.c: In function 'notmuch_config_open':\r
68   notmuch-config.c:241: error: 'NOTMUCH_MAILDIR_SYNC_INVALID' undeclared (first use in this function)\r
69   notmuch-config.c:241: error: (Each undeclared identifier is reported only once\r
70   notmuch-config.c:241: error: for each function it appears in.)\r
71   notmuch-config.c:335: error: invalid use of undefined type 'enum notmuch_maildir_sync'\r
72   notmuch-config.c:336: error: 'NOTMUCH_MAILDIR_SYNC_NONE' undeclared (first use in this function)\r
73   notmuch-config.c:336: error: type of formal parameter 2 is incomplete\r
74   notmuch-config.c: At top level:\r
75   notmuch-config.c:596: error: return type is an incomplete type\r
76   notmuch-config.c:596: error: conflicting types for 'notmuch_config_get_maildir_sync'\r
77   notmuch-client.h:195: error: previous declaration of 'notmuch_config_get_maildir_sync' was here\r
78   notmuch-config.c: In function 'notmuch_config_get_maildir_sync':\r
79   notmuch-config.c:597: error: 'NOTMUCH_MAILDIR_SYNC_INVALID' undeclared (first use in this function)\r
80   notmuch-config.c:602: warning: 'return' with a value, in function returning void\r
81   notmuch-config.c: At top level:\r
82   notmuch-config.c:607: error: parameter 2 ('maildir_sync') has incomplete type\r
83   notmuch-config.c: In function 'notmuch_config_set_maildir_sync':\r
84   notmuch-config.c:607: warning: unused parameter 'maildir_sync'\r
85   gmake: *** [notmuch-config.o] Error 1\r
86 \r
87 This is with "gcc (GCC) 4.2.1 20070719  [FreeBSD]"\r
88 \r
89 Switching to gcc44 seems to allow it to compile correctly, however notmuch didn't used to have that dependency.\r
90 \r
91 -- \r
92 Mike Kelly\r