get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806449,
    "url": "http://patchwork.ozlabs.org/api/patches/806449/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1503911719-25545-1-git-send-email-marcin.nowakowski@imgtec.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/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": "<1503911719-25545-1-git-send-email-marcin.nowakowski@imgtec.com>",
    "list_archive_url": null,
    "date": "2017-08-28T09:15:19",
    "name": "libkcapi: fix build with gcc 7.x",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d49b9332bde0be2825ff30980e4dd7c5170232cc",
    "submitter": {
        "id": 69044,
        "url": "http://patchwork.ozlabs.org/api/people/69044/?format=api",
        "name": "Marcin Nowakowski",
        "email": "marcin.nowakowski@imgtec.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1503911719-25545-1-git-send-email-marcin.nowakowski@imgtec.com/mbox/",
    "series": [
        {
            "id": 111,
            "url": "http://patchwork.ozlabs.org/api/series/111/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=111",
            "date": "2017-08-28T09:15:19",
            "name": "libkcapi: fix build with gcc 7.x",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/111/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806449/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806449/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.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 3xgmMj2dpcz9sNq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 19:15:45 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 411FF86B45;\n\tMon, 28 Aug 2017 09:15:42 +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 eSfGht4p--Q5; Mon, 28 Aug 2017 09:15:40 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 62F0786B2C;\n\tMon, 28 Aug 2017 09:15:40 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id A6CDF1BFC8C\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 28 Aug 2017 09:15:38 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 9FCE186B2C\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 28 Aug 2017 09:15: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 syUkDNpdzA_j for <buildroot@lists.busybox.net>;\n\tMon, 28 Aug 2017 09:15:37 +0000 (UTC)",
            "from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4698286B08\n\tfor <buildroot@buildroot.org>; Mon, 28 Aug 2017 09:15:37 +0000 (UTC)",
            "from hhmail02.hh.imgtec.org (unknown [10.100.10.20])\n\tby Forcepoint Email with ESMTPS id 4C4EEDC343CE9\n\tfor <buildroot@buildroot.org>; Mon, 28 Aug 2017 10:15:32 +0100 (IST)",
            "from WR-NOWAKOWSKI.kl.imgtec.org (10.80.2.5) by\n\thhmail02.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server\n\t(TLS) id 14.3.294.0; Mon, 28 Aug 2017 10:15:34 +0100"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Marcin Nowakowski <marcin.nowakowski@imgtec.com>",
        "To": "<buildroot@buildroot.org>",
        "Date": "Mon, 28 Aug 2017 11:15:19 +0200",
        "Message-ID": "<1503911719-25545-1-git-send-email-marcin.nowakowski@imgtec.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.80.2.5]",
        "Cc": "Marcin Nowakowski <marcin.nowakowski@imgtec.com>",
        "Subject": "[Buildroot] [PATCH] libkcapi: fix build with gcc 7.x",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Add an upstream patch to make libkcapi build with gcc 7.x.\n\nFixes:\n\n  http://autobuild.buildroot.net/results/01f/01f207ccd1cf5fc030510cb7a4eb2649e124b49b/\n\nSigned-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>\n---\n ...1-Have-sufficient-memory-size-for-message.patch | 31 ++++++++++++++++++++++\n 1 file changed, 31 insertions(+)\n create mode 100644 package/libkcapi/0001-Have-sufficient-memory-size-for-message.patch",
    "diff": "diff --git a/package/libkcapi/0001-Have-sufficient-memory-size-for-message.patch b/package/libkcapi/0001-Have-sufficient-memory-size-for-message.patch\nnew file mode 100644\nindex 0000000..7526efe\n--- /dev/null\n+++ b/package/libkcapi/0001-Have-sufficient-memory-size-for-message.patch\n@@ -0,0 +1,31 @@\n+From b56deda7c13c257050fdbdd71c1a5a47b78aa63e Mon Sep 17 00:00:00 2001\n+From: Stephan Mueller <smueller@chronox.de>\n+Date: Thu, 3 Aug 2017 17:50:51 +0200\n+Subject: [PATCH] Have sufficient memory size for message\n+\n+With GCC 7, the size of the buffer in snprintf is checked. The\n+occurrence here is found to be too small.\n+\n+Signed-off-by: Stephan Mueller <smueller@chronox.de>\n+\n+[Upstream commit: https://github.com/smuellerDD/libkcapi/commit/b56deda7c13c257050fdbdd71c1a5a47b78aa63e]\n+---\n+ speed-test/cryptoperf-base.c | 2 +-\n+ 1 file changed, 1 insertion(+), 1 deletion(-)\n+\n+diff --git a/speed-test/cryptoperf-base.c b/speed-test/cryptoperf-base.c\n+index 8766ca7..07384ae 100644\n+--- a/speed-test/cryptoperf-base.c\n++++ b/speed-test/cryptoperf-base.c\n+@@ -172,7 +172,7 @@ char *cp_print_status(struct cp_test *test, int raw)\n+ \t\t\t(unsigned long)(processed_bytes/totaltime),\n+ \t\t\t(unsigned long)ops);\n+ \t} else {\n+-\t\t#define VALLEN 10\n++\t\t#define VALLEN 23\n+ \t\tchar byteseconds[VALLEN + 1];\n+ \n+ \t\tmemset(byteseconds, 0, sizeof(byteseconds));\n+-- \n+2.7.4\n+\n",
    "prefixes": []
}