get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810680,
    "url": "http://patchwork.ozlabs.org/api/patches/810680/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170906164855.65d6e474@vomer.devel.greenbone.net/",
    "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": "<20170906164855.65d6e474@vomer.devel.greenbone.net>",
    "list_archive_url": null,
    "date": "2017-09-06T14:48:55",
    "name": "[1/1] Update lcdproc version",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7d67bd53f5abafa62fc5f83b9af51a2791de4915",
    "submitter": {
        "id": 72309,
        "url": "http://patchwork.ozlabs.org/api/people/72309/?format=api",
        "name": "Sven Haardiek",
        "email": "sven.haardiek@greenbone.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170906164855.65d6e474@vomer.devel.greenbone.net/mbox/",
    "series": [
        {
            "id": 1838,
            "url": "http://patchwork.ozlabs.org/api/series/1838/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1838",
            "date": "2017-09-06T14:48:55",
            "name": "[1/1] Update lcdproc version",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1838/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810680/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810680/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\" (1024-bit key;\n\tunprotected) header.d=greenbone.net header.i=@greenbone.net\n\theader.b=\"VivcRKP2\"; 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 3xnSD853Pyz9s03\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 01:28:55 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6785C88718;\n\tWed,  6 Sep 2017 15:28:53 +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 gm1VtWaZltZv; Wed,  6 Sep 2017 15:28:52 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 30BF18871B;\n\tWed,  6 Sep 2017 15:28:52 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id DCD7E1BFB44\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 15:28:50 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D016A8871B\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 15:28: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 yX+FgHbgkIBV for <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 15:28:49 +0000 (UTC)",
            "from mail.dn-systems.net (amalthea.dnx.de [193.108.181.146])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id AE25788718\n\tfor <buildroot@busybox.net>; Wed,  6 Sep 2017 15:28:49 +0000 (UTC)",
            "from relay.dn-systems.net ([2001:67c:274c:42::150]:56670)\n\tby mail.dn-systems.net with esmtps\n\t(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n\t(Exim 4.89) (envelope-from <sven.haardiek@greenbone.net>)\n\tid 1dpbdl-0000rU-8C\n\tfor buildroot@busybox.net; Wed, 06 Sep 2017 16:49:17 +0200",
            "from [212.95.124.162] (port=5073 helo=vomer.devel.greenbone.net)\n\tby relay.dn-systems.net with esmtpsa\n\t(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n\t(Exim 4.84_2) (envelope-from <sven.haardiek@greenbone.net>)\n\tid 1dpbdR-0001ls-2D\n\tfor buildroot@busybox.net; Wed, 06 Sep 2017 16:48:57 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:39:28 by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=greenbone.net; s=20170621; h=Content-Transfer-Encoding:Content-Type:\n\tMIME-Version:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:\n\tList-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=QZuiOIRSpJPj1YHovVdPe+TZg4WjbQ6SviDUX5yvREI=;\n\tb=VivcRKP2ncX3XnRxH6P2rUa8OT\n\tB5sCR7bVhHqb6VtgRxebaq4A2VEgv0o3kLAtMLmAYpRp/K6L6cN+wo0TGduibYqN5XauaNBlyq2IJ\n\tpoLkVGC/v9qbdbu2p9+nq1+u6H86NNCi9wUPpNCd5p/KsvYDpZ9p4xTz8mk8VkMTJYqQ=;",
        "Delivery-date": "Wed, 06 Sep 2017 17:28:49 +0200",
        "Date": "Wed, 6 Sep 2017 16:48:55 +0200",
        "From": "Sven Haardiek <sven.haardiek@greenbone.net>",
        "To": "buildroot@busybox.net",
        "Message-ID": "<20170906164855.65d6e474@vomer.devel.greenbone.net>",
        "Organization": "Greenbone",
        "X-Mailer": "Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)",
        "MIME-Version": "1.0",
        "X-Scan-Signature": "f24d9fe6c7e5421cb0db8ff0faadc7e5",
        "Subject": "[Buildroot] [PATCH 1/1] Update lcdproc version",
        "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=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Patch title: Update lcdproc version\n\nThere is a newer version of lcdproc available and it seems like lcdproc moved\nto github.\n\nThe new version also compiles with musl without any patches.\n\nSigned-off-by: Sven Haardiek <sven.haardiek@greenbone.net>\n---\n package/lcdproc/0002-musl.patch | 102 ----------------------------------------\n package/lcdproc/lcdproc.hash    |   1 +\n package/lcdproc/lcdproc.mk      |   4 +-\n 3 files changed, 3 insertions(+), 104 deletions(-)\n delete mode 100644 package/lcdproc/0002-musl.patch",
    "diff": "diff --git a/package/lcdproc/0002-musl.patch b/package/lcdproc/0002-musl.patch\ndeleted file mode 100644\nindex d0425fd5b2..0000000000\n--- a/package/lcdproc/0002-musl.patch\n+++ /dev/null\n@@ -1,102 +0,0 @@\n-Fix musl build\n-\n-Partly downloaded from\n-http://lists.omnipotent.net/pipermail/lcdproc/2015-November/014291.html\n-http://lists.omnipotent.net/pipermail/lcdproc/2015-November/014281.html\n-\n-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n-\n-diff -uNr lcdproc-0.5.7.org/clients/lcdproc/machine.h lcdproc-0.5.7/clients/lcdproc/machine.h\n---- lcdproc-0.5.7.org/clients/lcdproc/machine.h\t2012-08-19 16:29:07.000000000 +0200\n-+++ lcdproc-0.5.7/clients/lcdproc/machine.h\t2016-01-30 14:07:33.641802847 +0100\n-@@ -12,6 +12,7 @@\n- #ifndef _lcdproc_machine_h_\n- #define _lcdproc_machine_h_\n- \n-+#include <time.h>\n- #include \"shared/LL.h\"\n- \n- #ifndef LOADAVG_NSTATS\n-diff -uNr lcdproc-0.5.7.org/server/drivers/hd44780-pifacecad.c lcdproc-0.5.7/server/drivers/hd44780-pifacecad.c\n---- lcdproc-0.5.7.org/server/drivers/hd44780-pifacecad.c\t2014-03-23 11:22:09.000000000 +0100\n-+++ lcdproc-0.5.7/server/drivers/hd44780-pifacecad.c\t2016-01-30 14:12:03.521279729 +0100\n-@@ -54,6 +54,7 @@\n- #include <unistd.h>\n- #include <fcntl.h>\n- #include <sys/ioctl.h>\n-+#include <linux/ioctl.h>\n- #include <stdint.h>\n- #include <linux/spi/spidev.h>\n- \n-diff -uNr lcdproc-0.5.7.org/server/drivers/hd44780-rpi.c lcdproc-0.5.7/server/drivers/hd44780-rpi.c\n---- lcdproc-0.5.7.org/server/drivers/hd44780-rpi.c\t2014-03-23 11:22:09.000000000 +0100\n-+++ lcdproc-0.5.7/server/drivers/hd44780-rpi.c\t2016-01-30 14:04:10.288112853 +0100\n-@@ -285,7 +285,7 @@\n- \n- \t/* Unmap and free memory */\n- \tif (gpio_map != NULL)\n--\t\tmunmap((caddr_t) gpio_map, GPIO_BLOCK_SIZE);\n-+\t\tmunmap((void *) gpio_map, GPIO_BLOCK_SIZE);\n- \tif (p->rpi_gpio != NULL)\n- \t\tfree(p->rpi_gpio);\n- \tp->rpi_gpio = NULL;\n-diff -uNr lcdproc-0.5.7.org/server/drivers/hd44780-spi.c lcdproc-0.5.7/server/drivers/hd44780-spi.c\n---- lcdproc-0.5.7.org/server/drivers/hd44780-spi.c\t2014-03-23 11:22:09.000000000 +0100\n-+++ lcdproc-0.5.7/server/drivers/hd44780-spi.c\t2016-01-30 14:11:11.604763500 +0100\n-@@ -29,6 +29,7 @@\n- #include <unistd.h>\n- #include <fcntl.h>\n- #include <sys/ioctl.h>\n-+#include <linux/ioctl.h>\n- #include <stdint.h>\n- #include <linux/spi/spidev.h>\n- \n-diff -uNr lcdproc-0.5.7.org/server/drivers/mtc_s16209x.c lcdproc-0.5.7/server/drivers/mtc_s16209x.c\n---- lcdproc-0.5.7.org/server/drivers/mtc_s16209x.c\t2011-08-14 14:29:16.000000000 +0200\n-+++ lcdproc-0.5.7/server/drivers/mtc_s16209x.c\t2016-01-30 14:13:10.691122839 +0100\n-@@ -49,6 +49,7 @@\n- #include <fcntl.h>\n- #include <string.h>\n- #include <errno.h>\n-+#include <sys/file.h>\n- \n- #ifdef HAVE_CONFIG_H\n- # include \"config.h\"\n-diff -uNr lcdproc-0.5.7.org/server/drivers/rawserial.c lcdproc-0.5.7/server/drivers/rawserial.c\n---- lcdproc-0.5.7.org/server/drivers/rawserial.c\t2014-03-23 11:22:10.000000000 +0100\n-+++ lcdproc-0.5.7/server/drivers/rawserial.c\t2016-01-30 14:03:43.465779507 +0100\n-@@ -60,13 +60,13 @@\n- \t/** \\name Event loop timing. refresh_time and refresh_delta form the\n- \t * event loop timing mechanism for configurable update rates.\n- \t *@{*/\n--\tuint refresh_time;\t\t/**< time at the last screen update */\n--\tuint refresh_delta;\t\t/**< time step to next screen update */\n-+\tunsigned int refresh_time;\t\t/**< time at the last screen update */\n-+\tunsigned int refresh_delta;\t\t/**< time step to next screen update */\n- \t/**@}*/\n- } PrivateData;\n- \n- /* Local prototypes */\n--static uint get_millisecond_time(void);\n-+static unsigned int get_millisecond_time(void);\n- \n- \n- /* Vars for the server core */\n-@@ -303,7 +303,7 @@\n- \tPrivateData *p = drvthis->private_data;\n- \tchar out[LCD_MAX_WIDTH * LCD_MAX_HEIGHT];\n- \n--\tuint currentTime = get_millisecond_time();\n-+\tunsigned int currentTime = get_millisecond_time();\n- \tint t_delta = currentTime - p->refresh_time;\n- \n- \t/*\n-@@ -415,7 +415,7 @@\n-  *\n-  * \\return  int with current millisecond time.\n-  */\n--static uint\n-+static unsigned int\n- get_millisecond_time(void)\n- {\n- \tstruct timeval ts;\ndiff --git a/package/lcdproc/lcdproc.hash b/package/lcdproc/lcdproc.hash\nindex ea39a9b492..00f685448d 100644\n--- a/package/lcdproc/lcdproc.hash\n+++ b/package/lcdproc/lcdproc.hash\n@@ -1,2 +1,3 @@\n # Locally computed:\n sha256  843007d377adc856529ed0c7c42c9a7563043f06b1b73add0372bba3a3029804  lcdproc-0.5.7.tar.gz\n+sha256  d48a915496c96ff775b377d2222de3150ae5172bfb84a6ec9f9ceab962f97b83  lcdproc-0.5.9.tar.gz\ndiff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk\nindex e602088fa8..e5b6172b15 100644\n--- a/package/lcdproc/lcdproc.mk\n+++ b/package/lcdproc/lcdproc.mk\n@@ -4,8 +4,8 @@\n #\n ################################################################################\n \n-LCDPROC_VERSION = 0.5.7\n-LCDPROC_SITE = http://downloads.sourceforge.net/project/lcdproc/lcdproc/$(LCDPROC_VERSION)\n+LCDPROC_VERSION = 0.5.9\n+LCDPROC_SITE = https://github.com/lcdproc/lcdproc/releases/download/v$(LCDPROC_VERSION)\n LCDPROC_LICENSE = GPL-2.0+\n LCDPROC_LICENSE_FILES = COPYING\n LCDPROC_MAKE = $(MAKE1)\n",
    "prefixes": [
        "1/1"
    ]
}