get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813974,
    "url": "http://patchwork.ozlabs.org/api/patches/813974/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170914221446.13647-3-abrodkin@synopsys.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": "<20170914221446.13647-3-abrodkin@synopsys.com>",
    "list_archive_url": null,
    "date": "2017-09-14T22:14:46",
    "name": "[2/2] toolchain: Add glibc support for ARCv2",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "cf681ad4976f21c39a97fd1c4be0b7587c12d2da",
    "submitter": {
        "id": 23881,
        "url": "http://patchwork.ozlabs.org/api/people/23881/?format=api",
        "name": "Alexey Brodkin",
        "email": "Alexey.Brodkin@synopsys.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170914221446.13647-3-abrodkin@synopsys.com/mbox/",
    "series": [
        {
            "id": 3170,
            "url": "http://patchwork.ozlabs.org/api/series/3170/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3170",
            "date": "2017-09-14T22:14:44",
            "name": "toolchain: Add glibc support for ARCv2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3170/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813974/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813974/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 3xtY1X1C8xz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 08:22:23 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id EF2B68911D;\n\tThu, 14 Sep 2017 22:22:19 +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 riLmWlR5SdrF; Thu, 14 Sep 2017 22:22:18 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 6D1C08910C;\n\tThu, 14 Sep 2017 22:22:18 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id E29F71C04DC\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:16 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id DBE9689CB0\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:16 +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 FkbM4pv7X2OT for <buildroot@lists.busybox.net>;\n\tThu, 14 Sep 2017 22:22:16 +0000 (UTC)",
            "from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com\n\t[198.182.47.9])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 4254689CB2\n\tfor <buildroot@busybox.net>; Thu, 14 Sep 2017 22:22:16 +0000 (UTC)",
            "from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id 5E31B24E1697;\n\tThu, 14 Sep 2017 15:15:03 -0700 (PDT)",
            "from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 340E1CDD;\n\tThu, 14 Sep 2017 15:15:03 -0700 (PDT)",
            "from ru20arcgnu1.internal.synopsys.com\n\t(ru20arcgnu1.internal.synopsys.com [10.121.9.48])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 63C29C76;\n\tThu, 14 Sep 2017 15:15:01 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "From": "Alexey Brodkin <Alexey.Brodkin@synopsys.com>",
        "To": "buildroot@busybox.net",
        "Date": "Fri, 15 Sep 2017 01:14:46 +0300",
        "Message-Id": "<20170914221446.13647-3-abrodkin@synopsys.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170914221446.13647-1-abrodkin@synopsys.com>",
        "References": "<20170914221446.13647-1-abrodkin@synopsys.com>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tCupertino Miranda <Cupertino.Miranda@synopsys.com>,\n\tVineet Gupta <Vineet.Gupta1@synopsys.com>,\n\tAlexey Brodkin <Alexey.Brodkin@synopsys.com>,\n\tAnton Kolesov <Anton.Kolesov@synopsys.com>",
        "Subject": "[Buildroot] [PATCH 2/2] toolchain: Add glibc support for ARCv2",
        "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": "Finally there's working ARC port of glibc thanks to Vineet and Cuper!\nThis port is based on pretty recent glibc's master branch and ARC\nchanges are being reviewed now in glibc's mailing list.\n\nThus we again have to use sources from our GitHub but as soon as there's\na glibc release with our patches applied we'll switch to unpstream releases\nand will drop our glibc GitHub repo alltogether.\n\nNote now we cut tags in glibc repo simultaneously with tags\nin Binutils and GCC repos and so to make sure everything works in the best\nway we plan to update glibc tag together with Binutils and GCC.\n\nAlso note as of today ARCompact (AKA ARCv1 ISA) is not supported in glibc\nbut we plan to fix it soonish so for now we make glibc intentionally\ndependent on archs38.\n\nSigned-off-by: Alexey Brodkin <abrodkin@synopsys.com>\nCc: Cupertino Miranda <cmiranda@synopsys.com>\nCc: Vineet Gupta <vgupta@synopsys.com>\nCc: Anton Kolesov <akolesov@synopsys.com>\n---\n package/glibc/glibc.hash                | 2 ++\n package/glibc/glibc.mk                  | 7 +++++++\n toolchain/toolchain-buildroot/Config.in | 2 +-\n 3 files changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash\nindex daaf014a00..06b52eb069 100644\n--- a/package/glibc/glibc.hash\n+++ b/package/glibc/glibc.hash\n@@ -1,2 +1,4 @@\n # Locally calculated after checking pgp signature (glibc)\n sha256\t067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0\tglibc-2.25.tar.xz\n+# Locally calculated (fetched from Github)\n+sha256\tacbc223dea1130e9df2dd839f3311b4d0e3942e9dc833d8a962024cfaceed9c6\tglibc-arc-2017.09-eng008.tar.gz\ndiff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk\nindex c9a65796b0..e9570b6a5f 100644\n--- a/package/glibc/glibc.mk\n+++ b/package/glibc/glibc.mk\n@@ -4,9 +4,16 @@\n #\n ################################################################################\n \n+ifeq ($(BR2_arc),y)\n+GLIBC_VERSION = arc-2017.09-eng008\n+GLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VERSION))\n+GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.gz\n+else\n GLIBC_VERSION = 2.25\n GLIBC_SITE = $(BR2_GNU_MIRROR)/libc\n GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz\n+endif\n+\n GLIBC_SRC_SUBDIR = .\n \n GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library)\ndiff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in\nindex f47001fcf6..6afd139b59 100644\n--- a/toolchain/toolchain-buildroot/Config.in\n+++ b/toolchain/toolchain-buildroot/Config.in\n@@ -47,7 +47,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC\n \t\t   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \\\n \t\t   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \\\n \t\t   BR2_sh          || BR2_sparc64    || BR2_x86_64 || \\\n-\t\t   BR2_microblaze || BR2_nios2\n+\t\t   BR2_microblaze  || BR2_nios2      || BR2_archs38\n \tdepends on BR2_USE_MMU\n \tdepends on !BR2_STATIC_LIBS\n \tdepends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2\n",
    "prefixes": [
        "2/2"
    ]
}