From 8d6ecd9acb2b3359333157fedff0495c4cbd4cd8 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Sat, 26 May 2012 09:43:24 +2000 Subject: [PATCH] [PATCH 03/10] Fix compilation of smtp-dummy on FreeBSD --- e9/49b16ef16285eb48be1fa2d6fc7cf7fd6e8645 | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 e9/49b16ef16285eb48be1fa2d6fc7cf7fd6e8645 diff --git a/e9/49b16ef16285eb48be1fa2d6fc7cf7fd6e8645 b/e9/49b16ef16285eb48be1fa2d6fc7cf7fd6e8645 new file mode 100644 index 000000000..ae6096417 --- /dev/null +++ b/e9/49b16ef16285eb48be1fa2d6fc7cf7fd6e8645 @@ -0,0 +1,94 @@ +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 4D6F2431FC9 + for ; Fri, 25 May 2012 06:43:53 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 WroFUyJtPYBa for ; + Fri, 25 May 2012 06:43:53 -0700 (PDT) +Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com + [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E5C93431FC0 + for ; Fri, 25 May 2012 06:43:52 -0700 (PDT) +Received: by mail-vc0-f181.google.com with SMTP id f1so727472vcb.26 + for ; Fri, 25 May 2012 06:43:52 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references + :x-gm-message-state; + bh=DmfSVQ2dSAKVi3FNMdMTUj7BhHG6Zljmiokf1W9iDu4=; + b=Hbx/ZRJeU4OBsh/08kdYAIxA3dKqzBl+kIqrwwMMMNdJXjY9VMd0xYkQBpcOHP2qNT + jPRacClWPNYPt8nuEJa6onfw344Y3JSSB2MJqP846vPwWASbta9GVzplJooTQFdGxLib + Cf2KaL4iqYaWtFC2ZM87bkJxruVTziZjNLNsljcCJoJuI8sSVu2nR48g5XaROqsU/D/V + poTk/Gukc6U3vm8+4j2Dy01cYJgW+iyYVdlM7NxU1PJE4QiJXomopSFJvJSfCguF5MZ/ + hSXCUKjTH/ty4xNutEVl2cWLiAN1v86HU4XpOh4DWw4xfM62v+ou1sYtbfDDhjIz6atN + V97g== +Received: by 10.52.95.110 with SMTP id dj14mr3107634vdb.69.1337953432618; + Fri, 25 May 2012 06:43:52 -0700 (PDT) +Received: from nas.home.pioto.org (pool-71-182-155-97.pitbpa.fios.verizon.net. + [71.182.155.97]) + by mx.google.com with ESMTPS id c17sm4240559vdj.11.2012.05.25.06.43.51 + (version=TLSv1/SSLv3 cipher=OTHER); + Fri, 25 May 2012 06:43:52 -0700 (PDT) +Received: by nas.home.pioto.org (Postfix, from userid 1001) + id 60303287C9; Fri, 25 May 2012 09:43:51 -0400 (EDT) +From: Mike Kelly +To: notmuch@notmuchmail.org +Subject: [PATCH 03/10] Fix compilation of smtp-dummy on FreeBSD +Date: Fri, 25 May 2012 09:43:24 -0400 +Message-Id: <1337953411-21000-4-git-send-email-pioto@pioto.org> +X-Mailer: git-send-email 1.7.10.2 +In-Reply-To: <1337953411-21000-1-git-send-email-pioto@pioto.org> +References: <1337953411-21000-1-git-send-email-pioto@pioto.org> +X-Gm-Message-State: + ALoCoQlcOTxIc2Mx5r7HNMEJoude/pmR++DbFYb3MfEMUyPTDjRZ1Tt6jUEQx+wxCFkMXG6Rn+H7 +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: Fri, 25 May 2012 13:43:53 -0000 + +--- + test/smtp-dummy.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c +index 3801a5e..aa82fa1 100644 +--- a/test/smtp-dummy.c ++++ b/test/smtp-dummy.c +@@ -33,11 +33,14 @@ + * have been warned. + */ + ++#define _GNU_SOURCE /* for getline */ + #include + #include + #include + #include +-#include ++#include ++#include ++#include + #include + #include + +-- +1.7.10.2 + -- 2.26.2