get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/808751/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 808751,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/808751/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1504281081-11201-1-git-send-email-angelo.compagnucci@gmail.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504281081-11201-1-git-send-email-angelo.compagnucci@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-01T15:51:21",
    "name": "package/sysdig: fix missing curlbuild include",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9ec0336c9f0d1dd42f8f288b0425bea359fbca32",
    "submitter": {
        "id": 64104,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/64104/?format=api",
        "name": "Angelo Compagnucci",
        "email": "angelo.compagnucci@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1504281081-11201-1-git-send-email-angelo.compagnucci@gmail.com/mbox/",
    "series": [
        {
            "id": 1054,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1054/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1054",
            "date": "2017-09-01T15:51:21",
            "name": "package/sysdig: fix missing curlbuild include",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1054/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808751/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808751/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"qQn8V70/\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkP156kZqz9t3P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 01:53:45 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 355AF8A2CD;\n\tFri,  1 Sep 2017 15:53:41 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id N29VJssmIsJN; Fri,  1 Sep 2017 15:53:39 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8B9368A2CE;\n\tFri,  1 Sep 2017 15:53:39 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 29E1C1C015C\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  1 Sep 2017 15:53:38 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 247A78822A\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  1 Sep 2017 15:53:38 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hSTUF5Dthtkh for <buildroot@lists.busybox.net>;\n\tFri,  1 Sep 2017 15:53:37 +0000 (UTC)",
            "from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 557A188224\n\tfor <buildroot@buildroot.org>; Fri,  1 Sep 2017 15:53:37 +0000 (UTC)",
            "by mail-wm0-f68.google.com with SMTP id 187so339188wmn.0\n\tfor <buildroot@buildroot.org>; Fri, 01 Sep 2017 08:53:37 -0700 (PDT)",
            "from localhost.localdomain ([151.47.121.69])\n\tby smtp.gmail.com with ESMTPSA id\n\tp105sm486041wrc.64.2017.09.01.08.53.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 01 Sep 2017 08:53:34 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=HpHbeeegA5N7qu0vQCDXy2GiQHAJZ4KLFclBLl4HR3k=;\n\tb=qQn8V70/tW2dTSmz71VihMGGCc1WG53R3TpiLlWTqZEUocLlMDoxr+SR75pCLi+r5j\n\tDLF/UXVUC3rcr9GuCwcAV3SJ0Wur1IY0a5PqwxOXZZ2HxE1icA4NOzLxzUzKrjZtkMUT\n\tPeP/k36qgVjswNzns+yTJ56SfH+42dS3Dyws3QbQZyjDknvK82Nbu2ef8Yg4QuyCGRdE\n\tuRyS5YaLkWaM28qa75L/aBUDrqHL56SUxrdq6qm0rRR+4dR1Pfi4pRJWVth2rmAkgBE7\n\trEEGd4UrwWrzUfN8mSsSXoo0Z2P/BsD4yoBrYg0KrYWz8w+eFPk+yqVz/xhRhOXiVPEb\n\tXQQg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=HpHbeeegA5N7qu0vQCDXy2GiQHAJZ4KLFclBLl4HR3k=;\n\tb=nr5M6UtyeFvMZBwa+9x9/S8Ba4AV+a+e9iDU0tTY8amM1CvQsPys1qrMqmI8fcW6LQ\n\tkT3dx5hC9z52vuSP33nXsgxFJlX0A/EPsJndwccgf/SgItIHSWK9m98JA2FRY8CrlcHB\n\tMdS1wvl04dtyFpe1d5ExwUZb/2h8h5T+krCzgD8YHZtY7SRV6SGuabem22fNk6Dya2Za\n\tJXoGNxW57NLGTM9DEHGIVTMob0oryO3OjMLBDVaIeMbhwbUHfouiHx4svEJCRdc4ojdi\n\t8CckOPQk9AW24wTNZL4TDzMzBg7UfaiMbe9jhJU5v4GfUW6lLG6fojErizyW/VUL7g1R\n\txEZw==",
        "X-Gm-Message-State": "AHPjjUitC7f3n+yDlw1VnhLhSNEJ10Evzf3DVI+GwZSVWvwv23ry38Y2\n\tE8LPinem2ipN1KsBF9Y=",
        "X-Google-Smtp-Source": "ADKCNb6m10FkHgxjE+m+r2FBpHfxBuHQ9LOm4jRhjenzLR3IYl4DAVaLgKQfZPkeKihJJQES4gz30Q==",
        "X-Received": "by 10.28.141.196 with SMTP id p187mr811036wmd.115.1504281215107; \n\tFri, 01 Sep 2017 08:53:35 -0700 (PDT)",
        "From": "Angelo Compagnucci <angelo.compagnucci@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  1 Sep 2017 17:51:21 +0200",
        "Message-Id": "<1504281081-11201-1-git-send-email-angelo.compagnucci@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[Buildroot] [PATCH] package/sysdig: fix missing curlbuild include",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "curlbuild.h was removed in recent versions of curl, backporting a\npatch from mainline to fix sysdig until a newer version is\nreleased.\n\nSigned-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>\n---\n .../sysdig/0001-Don-t-include-curlbuild.h.patch    | 56 ++++++++++++++++++++++\n 1 file changed, 56 insertions(+)\n create mode 100644 package/sysdig/0001-Don-t-include-curlbuild.h.patch",
    "diff": "diff --git a/package/sysdig/0001-Don-t-include-curlbuild.h.patch b/package/sysdig/0001-Don-t-include-curlbuild.h.patch\nnew file mode 100644\nindex 0000000..ae406c0\n--- /dev/null\n+++ b/package/sysdig/0001-Don-t-include-curlbuild.h.patch\n@@ -0,0 +1,56 @@\n+From 8a6670ea4b57c0e2bf8588d4534b22d1ea860989 Mon Sep 17 00:00:00 2001\n+From: Mark Stemm <mark.stemm@gmail.com>\n+Date: Tue, 15 Aug 2017 17:49:53 -0700\n+Subject: [PATCH] Don't include curlbuild.h\n+\n+It's not required to build and it's not present with some newer versions\n+of libcurl, so removing it.\n+\n+Thanks to https://github.com/hhoffstaette for the tip.\n+\n+This fixes https://github.com/draios/sysdig/issues/895.\n+---\n+ userspace/libsinsp/marathon_http.cpp | 1 -\n+ userspace/libsinsp/mesos_http.cpp    | 1 -\n+ userspace/sysdig.project             | 1 -\n+ 3 files changed, 3 deletions(-)\n+\n+diff --git a/userspace/libsinsp/marathon_http.cpp b/userspace/libsinsp/marathon_http.cpp\n+index f7937b6..2e4449a 100644\n+--- a/userspace/libsinsp/marathon_http.cpp\n++++ b/userspace/libsinsp/marathon_http.cpp\n+@@ -7,7 +7,6 @@\n+ #include \"marathon_http.h\"\n+ #include \"curl/curl.h\"\n+ #include \"curl/easy.h\"\n+-#include \"curl/curlbuild.h\"\n+ #define BUFFERSIZE 512 // b64 needs this macro\n+ #include \"b64/encode.h\"\n+ #include \"sinsp.h\"\n+diff --git a/userspace/libsinsp/mesos_http.cpp b/userspace/libsinsp/mesos_http.cpp\n+index 18ac9f5..c6bfb58 100644\n+--- a/userspace/libsinsp/mesos_http.cpp\n++++ b/userspace/libsinsp/mesos_http.cpp\n+@@ -7,7 +7,6 @@\n+ #include \"mesos_http.h\"\n+ #include \"curl/curl.h\"\n+ #include \"curl/easy.h\"\n+-#include \"curl/curlbuild.h\"\n+ #include \"sinsp.h\"\n+ #include \"sinsp_int.h\"\n+ #include \"sinsp_curl.h\"\n+diff --git a/userspace/sysdig.project b/userspace/sysdig.project\n+index 5d00f18..76a18f0 100644\n+--- a/userspace/sysdig.project\n++++ b/userspace/sysdig.project\n+@@ -752,7 +752,6 @@\n+             </VirtualDirectory>\n+             <VirtualDirectory Name=\"include\">\n+               <VirtualDirectory Name=\"curl\">\n+-                <File Name=\"../build/release/curl-prefix/src/curl/include/curl/curlbuild.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/easy.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/stdcheaders.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/curlrules.h\"/>\n+-- \n+2.7.4\n+\n",
    "prefixes": []
}