get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809139,
    "url": "http://patchwork.ozlabs.org/api/patches/809139/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-4-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": "<20170902205423.21288-4-romain.naour@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-02T20:54:15",
    "name": "[v2,03/11] package/mesa3d: fix build issue with glibc >= 2.26",
    "commit_ref": null,
    "pull_url": null,
    "state": "awaiting-upstream",
    "archived": false,
    "hash": "4224634e23a3e37c62343bc385d9aa5c3da830a2",
    "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/20170902205423.21288-4-romain.naour@gmail.com/mbox/",
    "series": [
        {
            "id": 1178,
            "url": "http://patchwork.ozlabs.org/api/series/1178/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1178",
            "date": "2017-09-02T20:54:12",
            "name": "glibc: bump to 2.26",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1178/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809139/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809139/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.133; helo=hemlock.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=\"aI+eXVA0\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 3xl7dr2rR5z9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 06:54:40 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id A55DC89BF7;\n\tSat,  2 Sep 2017 20:54:37 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id GYnEyuoPGdNv; Sat,  2 Sep 2017 20:54:37 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D73518944C;\n\tSat,  2 Sep 2017 20:54:36 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id C20E31C121F\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:33 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B905587062\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:33 +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 nJljzBN0K4+d for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:33 +0000 (UTC)",
            "from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id E564E8704C\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 20:54:32 +0000 (UTC)",
            "by mail-wm0-f68.google.com with SMTP id l19so3101963wmi.1\n\tfor <buildroot@buildroot.org>; Sat, 02 Sep 2017 13:54:32 -0700 (PDT)",
            "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\t52sm2295647wru.59.2017.09.02.13.54.30\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 13:54: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:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=EYjbQMMZKcjISemvFyEuDrGke5bE0NH/YbchzmyglRk=;\n\tb=aI+eXVA0A6EBqjUpNTXGpLI3rRF/5LqXJq+LokqdjPGy3LsWaguMQxiidCRXSQJ0E7\n\tOxXx8C2se/D5ag9N5q0sOGA2nYmWAMrQT6j+cMQzws/XqTFxbMdjEwDX3kaMnKxasV8X\n\tel6TJ4zPQVkEUn8FX0xylkeeoSwEATNGivAq0wFkbIhklvcWnTd23Omd++wh4g1+6x4U\n\tCQZkMXtKTkqpLIF7N+hLramEZC1VUMqK9+Sum8Ns/mvd7ZtqLPHZYXkspQQUdRinvWOx\n\tQJowDKry/5OsvSf7aGP/ihrsg/xavv9NVBjvdslH+EzmJigJpkLFH2L2bq79GNvgtBAN\n\tmG+Q==",
        "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:mime-version:content-transfer-encoding;\n\tbh=EYjbQMMZKcjISemvFyEuDrGke5bE0NH/YbchzmyglRk=;\n\tb=pDIjVmnDzj9DzQHijJzeylEdht2/xdsPEnMDfeu4BcWNlSAVZUn1wTin4UIgKmXOw8\n\tvNoxHv03gbC985uFr3n1y9AyEg2VfZnjyfrjEFtqDBf6M4p1iJgf6ayl1cIr+opcX3lc\n\tBL3iy4iTUGH/NDo9UDbG9U40djgbe3EKEkYATpujtemIJKQdK2DmU88Hw1kmdU/kNoIZ\n\t/asO6H1kTjUcAI/F0CPKjdCCuT3uQgfyBeh794SEYjutdzJSnjdn0eWalZZOrgwQO5s0\n\t3K8T4PelEtJ/hG//goYYQ0lTQbVhjqckYWlaxxQ4iclLO4YVQ+8J0Ha9Mvqo/4Fz2mnl\n\tyRgw==",
        "X-Gm-Message-State": "AHPjjUgRtlZZDYEzVprImMfRnE1OwThA0dIy9MUEX02zK8DxAVrsaE9z\n\tYt1EFZmceAAu+X44jaw=",
        "X-Google-Smtp-Source": "ADKCNb7/KuWhD3q+JJvyrcEQlEj4vWCikGo/ICS1H7NR/weXaD4nElQ9zWJzR/awlVjCUEFMTpaafQ==",
        "X-Received": "by 10.28.152.78 with SMTP id a75mr1220280wme.143.1504385671218; \n\tSat, 02 Sep 2017 13:54:31 -0700 (PDT)",
        "From": "Romain Naour <romain.naour@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat,  2 Sep 2017 22:54:15 +0200",
        "Message-Id": "<20170902205423.21288-4-romain.naour@gmail.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170902205423.21288-1-romain.naour@gmail.com>",
        "References": "<20170902205423.21288-1-romain.naour@gmail.com>",
        "MIME-Version": "1.0",
        "Cc": "Romain Naour <romain.naour@gmail.com>",
        "Subject": "[Buildroot] [PATCH v2 03/11] package/mesa3d: fix build issue with\n\tglibc >= 2.26",
        "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>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Issue found while testing glibc 2.26 bump.\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\n ...-c99_math-fix-build-issue-with-glibc-2.26.patch | 82 ++++++++++++++++++++++\n 1 file changed, 82 insertions(+)\n create mode 100644 package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch",
    "diff": "diff --git a/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch b/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch\nnew file mode 100644\nindex 0000000..55e4fcf\n--- /dev/null\n+++ b/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch\n@@ -0,0 +1,82 @@\n+From f8ef875d8b5313d8f15f8680dc0c512c10756ea8 Mon Sep 17 00:00:00 2001\n+From: Romain Naour <romain.naour@gmail.com>\n+Date: Sat, 26 Aug 2017 19:20:56 +0200\n+Subject: [PATCH] c99_math: fix build issue with glibc >= 2.26\n+MIME-Version: 1.0\n+Content-Type: text/plain; charset=UTF-8\n+Content-Transfer-Encoding: 8bit\n+\n+The workaround is not required anymore since glibc 2.26 and\n+trigger a build issue:\n+\n+In file included from ../../src/gallium/auxiliary/util/u_math.h:44:0,\n+                 from ../../src/mesa/main/macros.h:35,\n+                 from glsl_types.cpp:25:\n+../../include/c99_math.h:196:12: error: « std::fpclassify »  was not declared in this scope\n+ using std::fpclassify;\n+            ^~~~~~~~~~\n+../../include/c99_math.h:197:12: error: « std::isfinite »  was not declared in this scope\n+ using std::isfinite;\n+            ^~~~~~~~\n+../../include/c99_math.h:198:12: error: « std::isinf »  was not declared in this scope\n+ using std::isinf;\n+            ^~~~~\n+../../include/c99_math.h:199:12: error: « std::isnan »  was not declared in this scope\n+ using std::isnan;\n+            ^~~~~\n+../../include/c99_math.h:200:12: error: « std::isnormal »  was not declared in this scope\n+ using std::isnormal;\n+            ^~~~~~~~\n+../../include/c99_math.h:201:12: error: « std::signbit »  was not declared in this scope\n+ using std::signbit;\n+            ^~~~~~~\n+../../include/c99_math.h:202:12: error: « std::isgreater »  was not declared in this scope\n+ using std::isgreater;\n+            ^~~~~~~~~\n+../../include/c99_math.h:203:12: error: « std::isgreaterequal »  was not declared in this scope\n+ using std::isgreaterequal;\n+            ^~~~~~~~~~~~~~\n+../../include/c99_math.h:204:12: error: « std::isless »  was not declared in this scope\n+ using std::isless;\n+            ^~~~~~\n+../../include/c99_math.h:205:12: error: « std::islessequal »  was not declared in this scope\n+ using std::islessequal;\n+            ^~~~~~~~~~~\n+../../include/c99_math.h:206:12: error: « std::islessgreater »  was not declared in this scope\n+ using std::islessgreater;\n+            ^~~~~~~~~~~~~\n+../../include/c99_math.h:207:12: error: « std::isunordered »  was not declared in this scope\n+ using std::isunordered;\n+            ^~~~~~~~~~~\n+\n+Signed-off-by: Romain Naour <romain.naour@gmail.com>\n+---\n+ include/c99_math.h | 5 +++++\n+ 1 file changed, 5 insertions(+)\n+\n+diff --git a/include/c99_math.h b/include/c99_math.h\n+index e906c26..6fd257e 100644\n+--- a/include/c99_math.h\n++++ b/include/c99_math.h\n+@@ -193,6 +193,10 @@ fpclassify(double x)\n+ #if __cplusplus >= 201103L && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23))\n+ #include <cmath>\n+ \n++/* This workaround is not necessary since Glibc 2.26\n++ * https://sourceware.org/git/?p=glibc.git;a=commit;h=2072f5c34ede81dde9e0d953d57a0690a66b0f12\n++ */\n++#if (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 25)\n+ using std::fpclassify;\n+ using std::isfinite;\n+ using std::isinf;\n+@@ -206,6 +210,7 @@ using std::islessequal;\n+ using std::islessgreater;\n+ using std::isunordered;\n+ #endif\n++#endif\n+ \n+ \n+ #endif /* #define _C99_MATH_H_ */\n+-- \n+2.9.5\n+\n",
    "prefixes": [
        "v2",
        "03/11"
    ]
}