get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806286,
    "url": "http://patchwork.ozlabs.org/api/patches/806286/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170827173606.13144-6-romain.naour@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": "<20170827173606.13144-6-romain.naour@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-27T17:36:04",
    "name": "[5/7] package/glibc: needs kernel headers >= 3.10 on powerpc64le",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "08adc21e280db5ca7c1110cc8c465f96492ad4db",
    "submitter": {
        "id": 67942,
        "url": "http://patchwork.ozlabs.org/api/people/67942/?format=api",
        "name": "Romain Naour",
        "email": "romain.naour@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170827173606.13144-6-romain.naour@gmail.com/mbox/",
    "series": [
        {
            "id": 34,
            "url": "http://patchwork.ozlabs.org/api/series/34/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=34",
            "date": "2017-08-27T17:35:59",
            "name": "glibc: bump to 2.26",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/34/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806286/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806286/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=\"U0Pwv2F8\"; 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 3xgMX40lGNz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 03:36:35 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 6825286F1D;\n\tSun, 27 Aug 2017 17:36:32 +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 YDXBAO5VYcuq; Sun, 27 Aug 2017 17:36:30 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id A48EE86C5F;\n\tSun, 27 Aug 2017 17:36:30 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2526F1C0D51\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:19 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 19FF0248EB\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:19 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id qtydm-zUBAqv for <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:18 +0000 (UTC)",
            "from mail-wr0-f195.google.com (mail-wr0-f195.google.com\n\t[209.85.128.195])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 6B6AE2F462\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 17:36:18 +0000 (UTC)",
            "by mail-wr0-f195.google.com with SMTP id p14so2858182wrg.4\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 10:36:18 -0700 (PDT)",
            "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tk35sm1926217wre.95.2017.08.27.10.36.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 10:36:16 -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:in-reply-to:references;\n\tbh=2EBfKX08wnKalHPx5GNlaClgfU59uQuJe1YTENBxVxM=;\n\tb=U0Pwv2F8dDWtNumr8F3y+3aa5hEX2Dk8mz6wNh+LgFuBT8QLM2KpIB8aWo94vieuD1\n\tokY38kHG4CQQIHlZVVMlb9UmZW3V1mwDjpfPsc+szOmeLvAY2wib9B4rEP9b/cAD1j8W\n\tIUPNm/E4wAf5SeEfDyZobWVqkgt3eE+qtpCqbROrzC/ObdTA0Br8mjNO4krDr6wXSe3p\n\tm/Mzm6/10TmzwG/UcJQx9QTBn4Yjd1JsInACEKP++1+Cr6hI4pvv0WBLTDGcHQl/yhBY\n\teM6Ia9eq/i6skqXUMFtVGCvQFvaGisGD1vSPoX1SzzXcOdgL3z0OFaYD4ddYUCeKqfDu\n\tdy/A==",
        "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:in-reply-to\n\t:references;\n\tbh=2EBfKX08wnKalHPx5GNlaClgfU59uQuJe1YTENBxVxM=;\n\tb=ahcQVdFQSEqb21VMZNxQPjrzYorNVJ56oPqzh6RfKiY/hoY+ye6f4L8B3LhcaMMWEW\n\tOIq7ZbD6GMK9MRPtl/tRuKGdmp8cItU8BbWZ2nIItigi/nE/hkaX3wx0ineZMD7Oc9Jp\n\t3ZQjjEiIz0uaFnkNecYs5x78RpJ8gr3ACaHmrhGZ7ccsE9ePed49ZV4k4zAVXZRjUIaV\n\t3Zlv9VNtrhMplSVmd+GefwhYPRW2ApPlyO27MQoMHopY/JWgq4Hn42F/jThxp2qSOP4s\n\tdPftC90g/CfjDW/r85QX4W7l5eHIDokZQE7IBuf0eJ91/wy79v2B8l9IdFPG/vUBTEn0\n\t8VIA==",
        "X-Gm-Message-State": "AHYfb5iOA/P50J2Id2X+zrrIX6Tup+uviRzAZZCukniVKtxZy75TOaio\n\tJOh1HV+/Ts2U6ihaWzE=",
        "X-Received": "by 10.223.131.132 with SMTP id 4mr3281622wre.188.1503855376700; \n\tSun, 27 Aug 2017 10:36:16 -0700 (PDT)",
        "From": "Romain Naour <romain.naour@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun, 27 Aug 2017 19:36:04 +0200",
        "Message-Id": "<20170827173606.13144-6-romain.naour@gmail.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170827173606.13144-1-romain.naour@gmail.com>",
        "References": "<20170827173606.13144-1-romain.naour@gmail.com>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tRomain Naour <romain.naour@gmail.com>",
        "Subject": "[Buildroot] [PATCH 5/7] package/glibc: needs kernel headers >= 3.10\n\ton powerpc64le",
        "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": "Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1].\nIn order to prepare the glibc bump to this version, we don't allow to\nbuild a Buildroot toolchain with kernel headers older than 3.10.\n\n[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=c2ff5ec13fca1bdd1cd646a0260808386d7bd7ff\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n toolchain/toolchain-buildroot/Config.in | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in\nindex f47001f..8ffad61 100644\n--- a/toolchain/toolchain-buildroot/Config.in\n+++ b/toolchain/toolchain-buildroot/Config.in\n@@ -45,7 +45,8 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC\n \tdepends on BR2_arm         || BR2_armeb      || BR2_aarch64 || \\\n \t\t   BR2_aarch64_be  || BR2_i386       || BR2_mips    || \\\n \t\t   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \\\n-\t\t   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \\\n+\t\t   BR2_powerpc     || BR2_powerpc64  || \\\n+\t\t   (BR2_powerpc64le && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10) || \\\n \t\t   BR2_sh          || BR2_sparc64    || BR2_x86_64 || \\\n \t\t   BR2_microblaze || BR2_nios2\n \tdepends on BR2_USE_MMU\n@@ -65,6 +66,11 @@ comment \"glibc needs a toolchain w/ dynamic library, kernel headers >= 3.2\"\n \tdepends on BR2_USE_MMU\n \tdepends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2\n \n+# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le.\n+comment \"glibc on powerpc64le needs a toolchain w/ headers >= 3.10\"\n+\tdepends on BR2_powerpc64le\n+\tdepends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10\n+\n config BR2_TOOLCHAIN_BUILDROOT_MUSL\n \tbool \"musl\"\n \tdepends on BR2_aarch64\t  || BR2_arm     || BR2_armeb     || BR2_i386 || \\\n",
    "prefixes": [
        "5/7"
    ]
}