get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811417,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/811417/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/8423660704daf069a26cafd6fd43009796262e33.1504862629.git.baruch@tkos.co.il/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<8423660704daf069a26cafd6fd43009796262e33.1504862629.git.baruch@tkos.co.il>",
    "list_archive_url": null,
    "date": "2017-09-08T09:23:48",
    "name": "[1/2] strace: fix program_invocation_name uClibc declaration mismatch",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a47835d5e2063ea82aa6a462066be0491d3817ed",
    "submitter": {
        "id": 1458,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/1458/?format=api",
        "name": "Baruch Siach",
        "email": "baruch@tkos.co.il"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/8423660704daf069a26cafd6fd43009796262e33.1504862629.git.baruch@tkos.co.il/mbox/",
    "series": [
        {
            "id": 2151,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/2151/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2151",
            "date": "2017-09-08T09:23:49",
            "name": "[1/2] strace: fix program_invocation_name uClibc declaration mismatch",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2151/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811417/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811417/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>)",
        "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 3xpX2P4C9bz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 19:24:13 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2029B87CE0;\n\tFri,  8 Sep 2017 09:24:10 +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 RS4OQKCyt5DT; Fri,  8 Sep 2017 09:24:09 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4683C87CBD;\n\tFri,  8 Sep 2017 09:24:09 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 201561C3F84\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 09:24:06 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1720B830F8\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 09:24:06 +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 zfL+QIcPOeKg for <buildroot@lists.busybox.net>;\n\tFri,  8 Sep 2017 09:24:04 +0000 (UTC)",
            "from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 1A03788062\n\tfor <buildroot@busybox.net>; Fri,  8 Sep 2017 09:24:04 +0000 (UTC)",
            "from tarshish.tkos.co.il (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPSA id D326F440889;\n\tFri,  8 Sep 2017 12:24:01 +0300 (IDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Baruch Siach <baruch@tkos.co.il>",
        "To": "buildroot@busybox.net",
        "Date": "Fri,  8 Sep 2017 12:23:48 +0300",
        "Message-Id": "<8423660704daf069a26cafd6fd43009796262e33.1504862629.git.baruch@tkos.co.il>",
        "X-Mailer": "git-send-email 2.14.1",
        "MIME-Version": "1.0",
        "Subject": "[Buildroot] [PATCH 1/2] strace: fix program_invocation_name uClibc\n\tdeclaration mismatch",
        "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": "The local program_invocation_name declaration conflicts with the uClibc\none. Add a patch making this declaration depend on\n!HAVE_PROGRAM_INVOCATION_NAME.\n\nFixes:\nhttp://autobuild.buildroot.net/results/5f0/5f0852f3ffb46f8fb2b4c9318652c5ab3ab5e97d/\n\nSigned-off-by: Baruch Siach <baruch@tkos.co.il>\n---\n ...s-fix-program_invocation_name-type-confli.patch | 45 ++++++++++++++++++++++\n 1 file changed, 45 insertions(+)\n create mode 100644 package/strace/0001-error_prints-fix-program_invocation_name-type-confli.patch",
    "diff": "diff --git a/package/strace/0001-error_prints-fix-program_invocation_name-type-confli.patch b/package/strace/0001-error_prints-fix-program_invocation_name-type-confli.patch\nnew file mode 100644\nindex 000000000000..b144bdd78c50\n--- /dev/null\n+++ b/package/strace/0001-error_prints-fix-program_invocation_name-type-confli.patch\n@@ -0,0 +1,45 @@\n+From 96ad51b91c6ab7ff8bac58f90f199324baed07af Mon Sep 17 00:00:00 2001\n+From: Baruch Siach <baruch@tkos.co.il>\n+Date: Fri, 8 Sep 2017 12:08:13 +0300\n+Subject: [PATCH] error_prints: fix program_invocation_name type conflict\n+\n+uClibc-ng declares program_invocation_name as const. This causes the\n+build failure below:\n+\n+error_prints.c:40:14: error: conflicting types for ‘program_invocation_name’\n+ extern char *program_invocation_name;\n+              ^~~~~~~~~~~~~~~~~~~~~~~\n+In file included from error_prints.c:32:0:\n+.../output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/errno.h:54:20: note: previous declaration of ‘program_invocation_name’ was here\n+ extern const char *program_invocation_name, *program_invocation_short_name;\n+                    ^~~~~~~~~~~~~~~~~~~~~~~\n+Makefile:3856: recipe for target 'strace-error_prints.o' failed\n+\n+Declare program_invocation_name only when the C library does not provide\n+one.\n+\n+Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n+---\n+Upstream status: sent upstream; waiting for moderator approval to appear at\n+https://sourceforge.net/p/strace/mailman/strace-devel/.\n+\n+ error_prints.c | 2 ++\n+ 1 file changed, 2 insertions(+)\n+\n+diff --git a/error_prints.c b/error_prints.c\n+index 8519b9246698..710e99b04ab9 100644\n+--- a/error_prints.c\n++++ b/error_prints.c\n+@@ -37,7 +37,9 @@\n+ \n+ #include \"error_prints.h\"\n+ \n++#ifndef HAVE_PROGRAM_INVOCATION_NAME\n+ extern char *program_invocation_name;\n++#endif\n+ \n+ static void\n+ verror_msg(int err_no, const char *fmt, va_list p)\n+-- \n+2.14.1\n+\n",
    "prefixes": [
        "1/2"
    ]
}