get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814442,
    "url": "http://patchwork.ozlabs.org/api/patches/814442/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916002712.19851-1-andrew.smirnov@gmail.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": "<20170916002712.19851-1-andrew.smirnov@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-16T00:27:12",
    "name": "package/zstd: Install tools into /usr/bin, not /usr/local/bin",
    "commit_ref": "2753d6df3a335545c94c452dafc6f4d82ae7beb0",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0b1a89c1051e179d31e26c44ef93433fd9c35efd",
    "submitter": {
        "id": 67013,
        "url": "http://patchwork.ozlabs.org/api/people/67013/?format=api",
        "name": "Andrey Smirnov",
        "email": "andrew.smirnov@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916002712.19851-1-andrew.smirnov@gmail.com/mbox/",
    "series": [
        {
            "id": 3403,
            "url": "http://patchwork.ozlabs.org/api/series/3403/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3403",
            "date": "2017-09-16T00:27:12",
            "name": "package/zstd: Install tools into /usr/bin, not /usr/local/bin",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3403/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814442/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814442/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>)",
            "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=\"aSb7rVxL\"; dkim-atps=neutral"
        ],
        "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 3xvClc2sMlz9sRg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 10:27:40 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id EA122892D6;\n\tSat, 16 Sep 2017 00:27:37 +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 jss6sQKFC47e; Sat, 16 Sep 2017 00:27:34 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7BE6E892B8;\n\tSat, 16 Sep 2017 00:27:34 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id A5C0E1BF25F\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 00:27:32 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A13D689E38\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 00:27:32 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id fdJ5PF1MT+jt for <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 00:27:32 +0000 (UTC)",
            "from mail-pf0-f193.google.com (mail-pf0-f193.google.com\n\t[209.85.192.193])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 40FB889D9C\n\tfor <buildroot@buildroot.org>; Sat, 16 Sep 2017 00:27:32 +0000 (UTC)",
            "by mail-pf0-f193.google.com with SMTP id f84so1900255pfj.3\n\tfor <buildroot@buildroot.org>; Fri, 15 Sep 2017 17:27:32 -0700 (PDT)",
            "from squirtle.westlake.spaceflightindustries.com\n\t([173.226.206.194]) by smtp.gmail.com with ESMTPSA id\n\tb68sm4146540pfk.23.2017.09.15.17.27.30\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 15 Sep 2017 17:27:30 -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=K8Y5OnU434YqYw7Dd70hpRphlgZ3vdRn5O9whmthnyc=;\n\tb=aSb7rVxLMjO+mUCJ+3z/FRUBA/p81ojY5kaQWqiZ7RzeXcPh1Q+cPWE1eAYDljPXI7\n\t8vna4ck9IQ5y5R9qEgCKiiXKWwk37KaSYJxzanK3JKrZq2uHF3BoqIz0r2iuDknzQi9h\n\tQQM9xRPC3yHKQ+2pBCZnBa6/EHhM8vKRTk4ATpFqVA47SjUqIz77B66YIoSxqVhw5y5s\n\tqCTG2w8LaqhB+hLnqorC1Q9jKUWyOHD2qLvjIrAqBgOg6kNQJtXCGR7WyCgE2MTPn4vQ\n\tnLF9k0TgYnficOfxT8V7BljHIGV0lXd/sGUwbLZOW5z2OwpBEv/Xa1p2XqgVmmcLoAwX\n\tLxsg==",
        "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=K8Y5OnU434YqYw7Dd70hpRphlgZ3vdRn5O9whmthnyc=;\n\tb=FLDEVMX5CKHKtMVTpP6SWFKc60AlpLQRUMX9kienY2HkYBxEED7i6QnzzKSYNlhk4i\n\tO1nutC7nBY11d278Xc6izbYwZXKWTaijiZGvZbzqKYRxoZ1Myn+A6KIAscyEzn+r6d1V\n\tVjvf+MWPZAsPL/rhmPfbHxaeC/KPHa74Ffm+YWnI39DefMkl3WA5pzeyBnhS9reNMgL3\n\tpnE1dpHCDA6wBLehggBYbL2rurfG+Q6fKzAMl/Xt2ug6/wGWt8gjOgcqZ9rQ6lZ1qByy\n\tNDnqT6/p24s/MOPINeLza2kJ01pl0/z9tBoxtqXCpZD+vQVbNikTnMLvDxHAw17clRwX\n\taf0A==",
        "X-Gm-Message-State": "AHPjjUgXv0rzoEd+altpvv1laTiyrSqtw+971DP+odGDyOG8jiOcExFc\n\t8drxlgkXxDr2WAgM8OA=",
        "X-Google-Smtp-Source": "ADKCNb7Ao9/ESMum4phxhwTXuakKBmT7Ew0zxFxRf9DGFg5hj9EJwZ+OH2HVX9EJ/GF0EbxJ1Kdl9w==",
        "X-Received": "by 10.99.185.93 with SMTP id v29mr26369912pgo.32.1505521651483; \n\tFri, 15 Sep 2017 17:27:31 -0700 (PDT)",
        "From": "Andrey Smirnov <andrew.smirnov@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 15 Sep 2017 17:27:12 -0700",
        "Message-Id": "<20170916002712.19851-1-andrew.smirnov@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "Cc": "Andrey Smirnov <andrew.smirnov@gmail.com>",
        "Subject": "[Buildroot] [PATCH] package/zstd: Install tools into /usr/bin,\n\tnot /usr/local/bin",
        "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": "Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin\nis not in PATH by deafault.\n\nSigned-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n---\n\n package/zstd/zstd.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk\nindex 475079dbfe..9a6e286954 100644\n--- a/package/zstd/zstd.mk\n+++ b/package/zstd/zstd.mk\n@@ -43,7 +43,7 @@ endef\n \n define ZSTD_INSTALL_TARGET_CMDS\n \t$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \\\n-\t\tDESTDIR=$(TARGET_DIR) -C $(@D)/programs install\n+\t\tDESTDIR=$(TARGET_DIR) PREFIX= -C $(@D)/programs install\n endef\n \n $(eval $(generic-package))\n",
    "prefixes": []
}