get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810252,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/810252/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170905185219.9953-1-francois.perrad@gadz.org/",
    "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": "<20170905185219.9953-1-francois.perrad@gadz.org>",
    "list_archive_url": null,
    "date": "2017-09-05T18:52:19",
    "name": "libtommath: set PREFIX when installing",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "884e83c86ceb786c84da29040914de039c82351c",
    "submitter": {
        "id": 15376,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/15376/?format=api",
        "name": "Francois Perrad",
        "email": "fperrad@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170905185219.9953-1-francois.perrad@gadz.org/mbox/",
    "series": [
        {
            "id": 1630,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1630/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1630",
            "date": "2017-09-05T18:52:19",
            "name": "libtommath: set PREFIX when installing",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1630/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810252/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810252/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=\"h3qG2asl\"; 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 3xmwpD3Bykz9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 04:53:08 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id CFAAB86DF8;\n\tTue,  5 Sep 2017 18:53:03 +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 C1aigk7a9NbY; Tue,  5 Sep 2017 18:53:01 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 5760E86DAB;\n\tTue,  5 Sep 2017 18:53:01 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id C500F1C0DE1\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 18:52:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id BE7CE8770C\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 18:52:59 +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 lCL10Vyp4SKa for <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 18:52:57 +0000 (UTC)",
            "from mail-wr0-f194.google.com (mail-wr0-f194.google.com\n\t[209.85.128.194])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 596A1871B3\n\tfor <buildroot@busybox.net>; Tue,  5 Sep 2017 18:52:57 +0000 (UTC)",
            "by mail-wr0-f194.google.com with SMTP id b9so2126603wra.0\n\tfor <buildroot@busybox.net>; Tue, 05 Sep 2017 11:52:57 -0700 (PDT)",
            "from localhost.localdomain (5.224.204.77.rev.sfr.net.\n\t[77.204.224.5]) by smtp.gmail.com with ESMTPSA id\n\t110sm296049wra.39.2017.09.05.11.52.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 05 Sep 2017 11:52:49 -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=ci8qBMgHJootM1J+P+jbDg5IJ0ySXl1LQ1wmRG9b9n8=;\n\tb=h3qG2aslK20rDfiMaL0dCSRPjLvPkh+FYdUZzdssC2gyHdLgw7wVQ6Ebldju1/z8fb\n\tk0zBB5VLTcTihS3rS0aEeqMOmYt1FYmZHkU0/pVxof/6ihffX+vRIMNDuJYlAWvPQm2N\n\t8FLkVLB59mTCsKfiSZK1azWcSqBpm/zYd7W8X9ttFSbfA/4fJ5LOlL1DkwhzpsYWXZ+j\n\t7Scoi4HOiC/0SkLt/6LIolpA6/5KUFM5/Mzs8W1XN4gLA+9STVqhLqmlqrsM04BGClnb\n\tzsAMRw4Zt+BvAr9uYgBT5++yTL3b5Ph9+1zQh8nh5KEoc5f6Jqx69MG+aEWnKV0V05C4\n\tTTJA==",
        "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=ci8qBMgHJootM1J+P+jbDg5IJ0ySXl1LQ1wmRG9b9n8=;\n\tb=dtLRV+aUlteCiNHVv91+R/2YWXdRigoApns9iWQfQdt/3TBMrpdhRauzHmEvtZpxZM\n\tejcwEIcJq/4BtM0Rbp1/MhRdR9PYRyOINp+J3YHbaTJ6QdC9oK3YET/AjBGERt9QXSaT\n\tAjV1xuz1ieWecs5fiKSmSZy9xWD2cGnGL2O6O1poI3b9qBPn30kgM88J456JaHsg+f2a\n\tKsr9QkAQVGAn34XUk4zR8IZUSnxovxm6FEC2dZRbGJbHv+xdy76PQwkAEWWmDIAEZqHH\n\tRHG4Uwhr/lxjfwU9N3VfDL2suTBKPHZXDCH+G1g/MPPnNxwLjcLow1u21hFMzK++Y13N\n\tN8tg==",
        "X-Gm-Message-State": "AHPjjUikLA0zdv+LljJLMdEkW49oDhtcCvsAdXzHFwRhb8WnH6U9858i\n\twL6Kbw6/ciDYj2x2",
        "X-Google-Smtp-Source": "ADKCNb634zgXN+5uYWh12sMDi/B+6lBHsSHWAoilJXPi3Hh7PHn3rqUvf4ZdujcjTkRYRJvAgko8Ng==",
        "X-Received": "by 10.223.176.213 with SMTP id j21mr43554wra.56.1504637575310;\n\tTue, 05 Sep 2017 11:52:55 -0700 (PDT)",
        "From": "Francois Perrad <fperrad@gmail.com>",
        "X-Google-Original-From": "Francois Perrad <francois.perrad@gadz.org>",
        "To": "buildroot@busybox.net",
        "Date": "Tue,  5 Sep 2017 20:52:19 +0200",
        "Message-Id": "<20170905185219.9953-1-francois.perrad@gadz.org>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Buildroot] [PATCH] libtommath: set PREFIX when installing",
        "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": "the default value is /usr/local and causes breakage in libtomcrypt & moarvm\nsee http://autobuild.buildroot.net/results/a76/a760063f05ae23f79920bc89ffc37e7dcf77aeab/\nsee http://autobuild.buildroot.net/results/78c/78c9bc9a21cfce48615b70d80b25dd4847bd803b/\n\nSigned-off-by: Francois Perrad <francois.perrad@gadz.org>\n---\n package/libtommath/libtommath.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk\nindex 8e0b10ca2..ceb2e6846 100644\n--- a/package/libtommath/libtommath.mk\n+++ b/package/libtommath/libtommath.mk\n@@ -17,7 +17,7 @@ define LIBTOMMATH_BUILD_CMDS\n endef\n \n define LIBTOMMATH_INSTALL_STAGING_CMDS\n-\t$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=\"$(STAGING_DIR)\" install\n+\t$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=\"$(STAGING_DIR)\" PREFIX=/usr install\n endef\n \n $(eval $(generic-package))\n",
    "prefixes": []
}