get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809146,
    "url": "http://patchwork.ozlabs.org/api/patches/809146/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-10-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-10-romain.naour@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-02T20:54:21",
    "name": "[v2,09/11] package/kodi: fix build with glibc 2.26",
    "commit_ref": null,
    "pull_url": null,
    "state": "awaiting-upstream",
    "archived": false,
    "hash": "4cf1df41a05aa7a2b15e50b386f012cace26dc5c",
    "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-10-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/809146/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809146/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.138; helo=whitealder.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=\"FatE+qVQ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3xl7f420n1z9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 06:54:52 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AAAC687B31;\n\tSat,  2 Sep 2017 20:54:50 +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 GAr-MASHlOm6; Sat,  2 Sep 2017 20:54:46 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4916C873D5;\n\tSat,  2 Sep 2017 20:54:46 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B3AF01BFF90\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:40 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 936EA82058\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:40 +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 T8dCnDM9tWGi for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:39 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id A21F582E12\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 20:54:38 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id e204so3093676wma.2\n\tfor <buildroot@buildroot.org>; Sat, 02 Sep 2017 13:54:38 -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.36\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 13:54:36 -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=aftCfHGOchR8GfvNswVQn4fEqNU8ZBo7iHQSPK7JIy8=;\n\tb=FatE+qVQ+wM57Lb5o4z2XZPkqoHwbTRvS9ay7HIaqLk2cNsED0CYvLAXuEo9/NEQFA\n\t3hCDh5XV68O24oAnzNqL7wSEmjLwhxHSkNfcyNekwFMWY0odBxMe0SN5FfI8FjN55wX2\n\tcGWI97Mb0gau6fGEw/xJxJEMB11m/rlJxjdaVsxzaQU+73cPjlZlMUEp5p5IQhHpjnLn\n\tirC5EQW6LrIEjZ8r2lC+kqrAvwjn8LugGtuNTG4yW1Gl/c4oa6pjWkLXcLGpNw0M1VOj\n\txJU1pkYWw9l6Exo9mwd0g3JSSwoYNWxZNhhLK3F5w5JuxC8EJe76Y7CZZkKoiS+3OXzK\n\tOm0g==",
        "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=aftCfHGOchR8GfvNswVQn4fEqNU8ZBo7iHQSPK7JIy8=;\n\tb=S5T7wLuxlJs/KGCcPRfmW+2b+kk//LK9yiPdgv5XaRjuGyQsSW/pNMPfhRtpiVA10p\n\taH7TTQp18Sp9IVo6ErzKuZ/3iDkSeyfq6fWC9Z3dHdVqZ7K2QGJo6WyZXSEwSbNlxYKU\n\thKgC0Otf704vqHw0/8MNZ2ZEB7kwfRNUOMKGTkSP3g2tiIHZsdOk17r/wwSW5Qf2nKXX\n\tuup0SOASpcSqask/PUyuftbHny7JXibUDM/VTBGeGGU7NxzL5NJ1RRv3K1S0pmxMactw\n\tq84RbgenYdJ17w2aLo6HGWE1nahag/ijy+GKDKCF9AW0kwV5KRboa2vIaUnJHyAYDfAV\n\tRwNg==",
        "X-Gm-Message-State": "AHPjjUhaGbnuDlo7vVYrZ8XheGPFC1j0QaMyh8XX6le7N0j62UrpLmhk\n\tuKqWgZ8PWy1MbXFPwqo=",
        "X-Google-Smtp-Source": "ADKCNb6+iElZCBk+lmOkrOY0KV0QFH1r3ZdNkbTZ1lpNfzEJhY429urmSMc7Zqcf0vBsmzg58JZXew==",
        "X-Received": "by 10.28.137.19 with SMTP id l19mr1235482wmd.98.1504385676936;\n\tSat, 02 Sep 2017 13:54:36 -0700 (PDT)",
        "From": "Romain Naour <romain.naour@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat,  2 Sep 2017 22:54:21 +0200",
        "Message-Id": "<20170902205423.21288-10-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>",
        "Cc": "Bernd Kuhls <bernd.kuhls@t-online.de>,\n\tRomain Naour <romain.naour@gmail.com>",
        "Subject": "[Buildroot] [PATCH v2 09/11] package/kodi: fix build with glibc 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>",
        "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": "Kodi fail to build with glibc 2.26 release:\nIn file included from [...]/host/x86_64-buildroot-linux-gnu/include/c++/7.2.0/cmath:45:0,\n                 from [...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:21:\n[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp: In member function 'void CGUIDialogProgressBarHandle::SetProgress(int, int)':\n[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:55:13: error: '__builtin_isnan' is not a member of 'std'\n   if (!std::isnan(fPercentage))\n             ^\n[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:55:13: note: suggested alternative:\n<built-in>: note:   '__builtin_isnan'\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\nCc: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n ...3-dialogs-fix-build-issue-with-glibc-2.26.patch | 37 ++++++++++++++++++++++\n 1 file changed, 37 insertions(+)\n create mode 100644 package/kodi/0003-dialogs-fix-build-issue-with-glibc-2.26.patch",
    "diff": "diff --git a/package/kodi/0003-dialogs-fix-build-issue-with-glibc-2.26.patch b/package/kodi/0003-dialogs-fix-build-issue-with-glibc-2.26.patch\nnew file mode 100644\nindex 0000000..5c12173\n--- /dev/null\n+++ b/package/kodi/0003-dialogs-fix-build-issue-with-glibc-2.26.patch\n@@ -0,0 +1,37 @@\n+From 55f51f883ba2d38509f0b9d0a5092a92af71f71e Mon Sep 17 00:00:00 2001\n+From: Romain Naour <romain.naour@gmail.com>\n+Date: Sat, 2 Sep 2017 19:06:57 +0200\n+Subject: [PATCH] dialogs: fix build issue with glibc 2.26\n+\n+Kodi fail to build with glibc 2.26 release:\n+In file included from [...]/host/x86_64-buildroot-linux-gnu/include/c++/7.2.0/cmath:45:0,\n+                 from [...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:21:\n+[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp: In member function 'void CGUIDialogProgressBarHandle::SetProgress(int, int)':\n+[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:55:13: error: '__builtin_isnan' is not a member of 'std'\n+   if (!std::isnan(fPercentage))\n+             ^\n+[...]/build/kodi-17.3-Krypton/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp:55:13: note: suggested alternative:\n+<built-in>: note:   '__builtin_isnan'\n+\n+Signed-off-by: Romain Naour <romain.naour@gmail.com>\n+Cc Bernd Kuhls <bernd.kuhls@t-online.de>\n+---\n+ xbmc/dialogs/GUIDialogExtendedProgressBar.cpp | 2 +-\n+ 1 file changed, 1 insertion(+), 1 deletion(-)\n+\n+diff --git a/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp b/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp\n+index 42c2238..043a25f 100644\n+--- a/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp\n++++ b/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp\n+@@ -52,7 +52,7 @@ void CGUIDialogProgressBarHandle::SetTitle(const std::string &strTitle)\n+ void CGUIDialogProgressBarHandle::SetProgress(int currentItem, int itemCount)\n+ {\n+   float fPercentage = (currentItem*100.0f)/itemCount;\n+-  if (!std::isnan(fPercentage))\n++  if (!isnan(fPercentage))\n+     m_fPercentage = std::min(100.0f, fPercentage);\n+ }\n+ \n+-- \n+2.9.5\n+\n",
    "prefixes": [
        "v2",
        "09/11"
    ]
}