get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 254900,
    "url": "http://patchwork.ozlabs.org/api/patches/254900/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1372285574-29423-11-git-send-email-thomas.petazzoni@free-electrons.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": "<1372285574-29423-11-git-send-email-thomas.petazzoni@free-electrons.com>",
    "list_archive_url": null,
    "date": "2013-06-26T22:26:05",
    "name": "[RFCv2,10/19] gcc-initial: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "13e407ba82a547d80e402e79fa0424d56e55a1df",
    "submitter": {
        "id": 2230,
        "url": "http://patchwork.ozlabs.org/api/people/2230/?format=api",
        "name": "Thomas Petazzoni",
        "email": "thomas.petazzoni@free-electrons.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1372285574-29423-11-git-send-email-thomas.petazzoni@free-electrons.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/254900/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/254900/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"
        ],
        "Received": [
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 7FF642C0095\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 27 Jun 2013 08:32:13 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 753808CF2C;\n\tWed, 26 Jun 2013 22:32:04 +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 qdSZ4Jo1A3Dn; Wed, 26 Jun 2013 22:31:50 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 35F1F8CF30;\n\tWed, 26 Jun 2013 22:27:58 +0000 (UTC)",
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 211A98F74B\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 26 Jun 2013 22:26:33 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3FED786426\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 26 Jun 2013 22:26:26 +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 f5rtaZDMWGeJ for <buildroot@lists.busybox.net>;\n\tWed, 26 Jun 2013 22:26:24 +0000 (UTC)",
            "from mail.free-electrons.com (mail.free-electrons.com\n\t[94.23.35.102])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B466F8A263\n\tfor <buildroot@uclibc.org>; Wed, 26 Jun 2013 22:26:23 +0000 (UTC)",
            "by mail.free-electrons.com (Postfix, from userid 106)\n\tid C055476F; Thu, 27 Jun 2013 00:26:23 +0200 (CEST)",
            "from localhost (AToulouse-651-1-224-135.w86-199.abo.wanadoo.fr\n\t[86.199.199.135])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 7664C66E\n\tfor <buildroot@uclibc.org>; Thu, 27 Jun 2013 00:26:23 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>",
        "To": "buildroot@uclibc.org",
        "Date": "Thu, 27 Jun 2013 00:26:05 +0200",
        "Message-Id": "<1372285574-29423-11-git-send-email-thomas.petazzoni@free-electrons.com>",
        "X-Mailer": "git-send-email 1.8.1.2",
        "In-Reply-To": "<1372285574-29423-1-git-send-email-thomas.petazzoni@free-electrons.com>",
        "References": "<1372285574-29423-1-git-send-email-thomas.petazzoni@free-electrons.com>",
        "Subject": "[Buildroot] [RFCv2 10/19] gcc-initial: new package",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.14",
        "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-bounces@busybox.net"
    },
    "content": "Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n package/gcc/gcc-initial/gcc-initial.mk | 37 ++++++++++++++++++++++++++++++++++\n 1 file changed, 37 insertions(+)\n create mode 100644 package/gcc/gcc-initial/gcc-initial.mk",
    "diff": "diff --git a/package/gcc/gcc-initial/gcc-initial.mk b/package/gcc/gcc-initial/gcc-initial.mk\nnew file mode 100644\nindex 0000000..37fb2bb\n--- /dev/null\n+++ b/package/gcc/gcc-initial/gcc-initial.mk\n@@ -0,0 +1,37 @@\n+#############################################################\n+#\n+# gcc-initial\n+#\n+#############################################################\n+\n+GCC_INITIAL_VERSION = $(GCC_VERSION)\n+GCC_INITIAL_SITE    = $(GCC_SITE)\n+GCC_INITIAL_SOURCE  = $(GCC_SOURCE)\n+\n+HOST_GCC_INITIAL_DEPENDENCIES = $(HOST_GCC_COMMON_DEPENDENCIES)\n+\n+ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),)\n+HOST_GCC_INITIAL_POST_EXTRACT_CMDS += HOST_GCC_XTENSA_OVERLAY_EXTRACT\n+endif\n+\n+HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES\n+\n+# gcc doesn't support in-tree build, so we create a 'build'\n+# subdirectory in the gcc sources, and build from there.\n+HOST_GCC_INITIAL_SUBDIR = build\n+\n+HOST_GCC_INITIAL_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK\n+\n+HOST_GCC_INITIAL_CONF_OPT = \\\n+\t$(HOST_GCC_COMMON_CONF_OPT) \\\n+\t--enable-languages=c \\\n+\t--disable-shared \\\n+\t--without-headers \\\n+\t--with-newlib \\\n+\t--disable-largefile \\\n+\t--disable-nls\n+\n+HOST_GCC_INITIAL_MAKE_OPT = all-gcc\n+HOST_GCC_INITIAL_INSTALL_OPT = install-gcc\n+\n+$(eval $(host-autotools-package))\n",
    "prefixes": [
        "RFCv2",
        "10/19"
    ]
}