get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 804644,
    "url": "http://patchwork.ozlabs.org/api/patches/804644/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170822201526.3285-1-bernd.kuhls@t-online.de/",
    "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": "<20170822201526.3285-1-bernd.kuhls@t-online.de>",
    "list_archive_url": null,
    "date": "2017-08-22T20:15:24",
    "name": "[PATCH/next,1/3] package/kodi: bump to version 17.4",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e34a8551d59000d466e2dbfeb6e4857d2fffd903",
    "submitter": {
        "id": 62613,
        "url": "http://patchwork.ozlabs.org/api/people/62613/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd.kuhls@t-online.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170822201526.3285-1-bernd.kuhls@t-online.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/804644/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/804644/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.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xcMHt1nCTz9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 23 Aug 2017 06:15:38 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 5D51130445;\n\tTue, 22 Aug 2017 20:15:35 +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 n5gAkLhkZfsy; Tue, 22 Aug 2017 20:15:33 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id BB1C63043B;\n\tTue, 22 Aug 2017 20:15:33 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id AF3F61C00C1\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 22 Aug 2017 20:15:31 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id A6B763043D\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 22 Aug 2017 20:15:31 +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 ZNCa1HCy5tFX for <buildroot@lists.busybox.net>;\n\tTue, 22 Aug 2017 20:15:30 +0000 (UTC)",
            "from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 2262E3041D\n\tfor <buildroot@buildroot.org>; Tue, 22 Aug 2017 20:15:30 +0000 (UTC)",
            "from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135])\n\tby mailout10.t-online.de (Postfix) with SMTP id 17AA941F9C21;\n\tTue, 22 Aug 2017 22:15:28 +0200 (CEST)",
            "from fli4l.lan.fli4l\n\t(bH-5ukZbghlVjLdIEynPPuTFw2uq3MY3NQHpxvOVMh-P6eVflOElycYZSDTiLd5gQ8@[79.228.1.21])\n\tby fwd30.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dkFaB-1zml0K0; Tue, 22 Aug 2017 22:15:27 +0200",
            "from mahler.lan.fli4l ([192.168.1.1]:34992 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dkFaA-0002Gu-Qi; Tue, 22 Aug 2017 22:15:27 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Bernd Kuhls <bernd.kuhls@t-online.de>",
        "To": "buildroot@buildroot.org",
        "Date": "Tue, 22 Aug 2017 22:15:24 +0200",
        "Message-Id": "<20170822201526.3285-1-bernd.kuhls@t-online.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "X-ID": "bH-5ukZbghlVjLdIEynPPuTFw2uq3MY3NQHpxvOVMh-P6eVflOElycYZSDTiLd5gQ8",
        "X-TOI-MSGID": "a312abf2-b4b5-46a1-9d93-34204314c13d",
        "Cc": "Maxime Hadjinlian <maxime.hadjinlian@gmail.com>",
        "Subject": "[Buildroot] [PATCH/next 1/3] package/kodi: bump to version 17.4",
        "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": "Removed patch 0003, applied upstream:\nhttps://github.com/xbmc/xbmc/commit/5fa10ff6b1b60abee172296d9c1dec8dfc10615c\n\n-DWITH_FFMPEG is needed due to commit\nhttps://github.com/xbmc/xbmc/commit/5ba6eb7cadc41d5eb86ef94e3661b833b62953ff\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n .../kodi-jsonschemabuilder.mk                      |  2 +-\n package/kodi-texturepacker/kodi-texturepacker.mk   |  2 +-\n .../kodi/0003-FTPParse.cpp-use-std-string.patch    | 91 ----------------------\n package/kodi/kodi.hash                             |  2 +-\n package/kodi/kodi.mk                               |  3 +-\n 5 files changed, 5 insertions(+), 95 deletions(-)\n delete mode 100644 package/kodi/0003-FTPParse.cpp-use-std-string.patch",
    "diff": "diff --git a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk\nindex 320c77977..e3de102b7 100644\n--- a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk\n+++ b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk\n@@ -6,7 +6,7 @@\n \n # Not possible to directly refer to kodi variables, because of\n # first/second expansion trickery...\n-KODI_JSONSCHEMABUILDER_VERSION = 17.3-Krypton\n+KODI_JSONSCHEMABUILDER_VERSION = 17.4-Krypton\n KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))\n KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz\n KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0\ndiff --git a/package/kodi-texturepacker/kodi-texturepacker.mk b/package/kodi-texturepacker/kodi-texturepacker.mk\nindex d69585b09..26776acbe 100644\n--- a/package/kodi-texturepacker/kodi-texturepacker.mk\n+++ b/package/kodi-texturepacker/kodi-texturepacker.mk\n@@ -6,7 +6,7 @@\n \n # Not possible to directly refer to kodi variables, because of\n # first/second expansion trickery...\n-KODI_TEXTUREPACKER_VERSION = 17.3-Krypton\n+KODI_TEXTUREPACKER_VERSION = 17.4-Krypton\n KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))\n KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz\n KODI_TEXTUREPACKER_LICENSE = GPL-2.0\ndiff --git a/package/kodi/0003-FTPParse.cpp-use-std-string.patch b/package/kodi/0003-FTPParse.cpp-use-std-string.patch\ndeleted file mode 100644\nindex 9fa7abb71..000000000\n--- a/package/kodi/0003-FTPParse.cpp-use-std-string.patch\n+++ /dev/null\n@@ -1,91 +0,0 @@\n-From 5fa10ff6b1b60abee172296d9c1dec8dfc10615c Mon Sep 17 00:00:00 2001\n-From: Stefan Saraev <stefan@saraev.ca>\n-Date: Sun, 7 May 2017 17:30:47 +0300\n-Subject: [PATCH] FTPParse.cpp: use std::string\n-\n-Fixes build with newer gcc versions.\n-\n-Backported from upstream commit\n-https://github.com/xbmc/xbmc/commit/5fa10ff6b1b60abee172296d9c1dec8dfc10615c\n-\n-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n----\n- xbmc/filesystem/FTPParse.cpp | 44 ++++++++++++++++++++++----------------------\n- 1 file changed, 22 insertions(+), 22 deletions(-)\n-\n-diff --git a/xbmc/filesystem/FTPParse.cpp b/xbmc/filesystem/FTPParse.cpp\n-index cfcc7c64ed..b0f676ae1a 100644\n---- a/xbmc/filesystem/FTPParse.cpp\n-+++ b/xbmc/filesystem/FTPParse.cpp\n-@@ -34,7 +34,7 @@ CFTPParse::CFTPParse()\n-   m_time = 0;\n- }\n- \n--string CFTPParse::getName()\n-+std::string CFTPParse::getName()\n- {\n-   return m_name;\n- }\n-@@ -59,16 +59,16 @@ time_t CFTPParse::getTime()\n-   return m_time;\n- }\n- \n--void CFTPParse::setTime(string str)\n-+void CFTPParse::setTime(std::string str)\n- {\n-   /* Variables used to capture patterns via the regexes */\n--  string month;\n--  string day;\n--  string year;\n--  string hour;\n--  string minute;\n--  string second;\n--  string am_or_pm;\n-+  std::string month;\n-+  std::string day;\n-+  std::string year;\n-+  std::string hour;\n-+  std::string minute;\n-+  std::string second;\n-+  std::string am_or_pm;\n- \n-   /* time struct used to set the time_t variable */\n-   struct tm time_struct = {};\n-@@ -338,21 +338,21 @@ int CFTPParse::getDayOfWeek(int month, int date, int year)\n-   return day_of_week;\n- }\n- \n--int CFTPParse::FTPParse(string str)\n-+int CFTPParse::FTPParse(std::string str)\n- {\n-   /* Various variable to capture patterns via the regexes */\n--  string permissions;\n--  string link_count;\n--  string owner;\n--  string group;\n--  string size;\n--  string date;\n--  string name;\n--  string type;\n--  string stuff;\n--  string facts;\n--  string version;\n--  string file_id;\n-+  std::string permissions;\n-+  std::string link_count;\n-+  std::string owner;\n-+  std::string group;\n-+  std::string size;\n-+  std::string date;\n-+  std::string name;\n-+  std::string type;\n-+  std::string stuff;\n-+  std::string facts;\n-+  std::string version;\n-+  std::string file_id;\n- \n-   /* Regex for standard Unix listing formats */\n-   pcrecpp::RE unix_re(\"^([-bcdlps])\" // type\n--- \n-2.11.0\n-\ndiff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash\nindex 167b17928..6c7cf8f61 100644\n--- a/package/kodi/kodi.hash\n+++ b/package/kodi/kodi.hash\n@@ -1,5 +1,5 @@\n # Locally computed\n-sha256 1de8653a3729cefd1baaf09ecde5ace01a1e3a58fbf29d48c1363f2503d331a1  kodi-17.3-Krypton.tar.gz\n+sha256 b05e11b2d108222bfc3ff0c9a466d798c0feedf1228166239948e6ed37c3cb4f  kodi-17.4-Krypton.tar.gz\n # Locally computed - libdvdcss\n sha256 b6eb2d929ff56cb051152c32010afc5e7cf5fe8c5ae32dca412a2b46b6b57e34  2f12236.tar.gz\n # Locally computed - libdvdnav\ndiff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk\nindex 0bf7331dd..793289f9b 100644\n--- a/package/kodi/kodi.mk\n+++ b/package/kodi/kodi.mk\n@@ -6,7 +6,7 @@\n \n # When updating the version, please also update kodi-jsonschemabuilder\n # and kodi-texturepacker\n-KODI_VERSION = 17.3-Krypton\n+KODI_VERSION = 17.4-Krypton\n KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))\n KODI_LICENSE = GPL-2.0\n KODI_LICENSE_FILES = LICENSE.GPL\n@@ -67,6 +67,7 @@ KODI_CONF_OPTS += \\\n \t-DENABLE_OPENSSL=ON \\\n \t-DNATIVEPREFIX=$(HOST_DIR) \\\n \t-DDEPENDS_PATH=$(@D) \\\n+\t-DWITH_FFMPEG=$(STAGING_DIR)/usr \\\n \t-DWITH_TEXTUREPACKER=$(HOST_DIR)/bin/TexturePacker \\\n \t-DLIBDVDCSS_URL=$(DL_DIR)/$(KODI_LIBDVDCSS_VERSION).tar.gz \\\n \t-DLIBDVDNAV_URL=$(DL_DIR)/$(KODI_LIBDVDNAV_VERSION).tar.gz \\\n",
    "prefixes": [
        "PATCH/next",
        "1/3"
    ]
}