get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 833472,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/833472/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20171102181405.6476-1-yann.morin.1998@free.fr/",
    "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": "<20171102181405.6476-1-yann.morin.1998@free.fr>",
    "list_archive_url": null,
    "date": "2017-11-02T18:14:05",
    "name": "package/gdb: ARC version has stringent dependencies on host gcc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ecf081e92ef786691fd8aa80a5bb17d378dabaec",
    "submitter": {
        "id": 13903,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/13903/?format=api",
        "name": "Yann E. MORIN",
        "email": "yann.morin.1998@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20171102181405.6476-1-yann.morin.1998@free.fr/mbox/",
    "series": [
        {
            "id": 11558,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/11558/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=11558",
            "date": "2017-11-02T18:14:05",
            "name": "package/gdb: ARC version has stringent dependencies on host gcc",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/11558/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/833472/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/833472/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>)",
            "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=\"P08Yr1gd\"; dkim-atps=neutral"
        ],
        "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 3ySYBj24gsz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 05:14:21 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 494D02FD66;\n\tThu,  2 Nov 2017 18:14:18 +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 ynRLY2y2KVLO; Thu,  2 Nov 2017 18:14:16 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id BDB5A2DC15;\n\tThu,  2 Nov 2017 18:14:16 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3C7F61C039A\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 18:14:15 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 35A2D8781C\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 18:14:15 +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 1Q3mVoMH7HOX for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 18:14:14 +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 34D4687828\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 18:14:14 +0000 (UTC)",
            "by mail-wm0-f68.google.com with SMTP id b9so734475wmh.0\n\tfor <buildroot@buildroot.org>; Thu, 02 Nov 2017 11:14:14 -0700 (PDT)",
            "from localhost.localdomain\n\t(2a01cb0886107300b5968ae0062c3fd7.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:b596:8ae0:62c:3fd7])\n\tby smtp.gmail.com with ESMTPSA id\n\t10sm331479wml.27.2017.11.02.11.14.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 11:14:11 -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=sender:from:to:cc:subject:date:message-id;\n\tbh=M0CZFJ/xfh0ediMHPiF32BhwleaPJQSPywjsIV6bLkk=;\n\tb=P08Yr1gduE38hjUaJ99w5jDugvuOiigleMwYsFzuNiYW9IKVTn0PFIs1pxTPLO01h0\n\twXXRAniDEor8hWqKHzNFjqR18ChggGgt40MHmFpgn/3ehmOhc5myCR7V+r4gauh5HLmj\n\t0IOKZVXu9nEFdwSSObW+3t57WGfCDTwTUb/gm5Ef8tiyamQ1cO6couXjZ2qqYfokogb+\n\tFOBIZpYIt8KjBbS6J4mWw3s3rONw5DxXURZoyuLGLrFIYAj3ZeoSy+n12qLeaSVUSKaQ\n\twTTxopJa04fgUf0p4Yf26miJSUdFCvJTTtpeo7QjR5C+QWEEQHVgekscSjuw03H+U38p\n\tpgHg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=M0CZFJ/xfh0ediMHPiF32BhwleaPJQSPywjsIV6bLkk=;\n\tb=HL2G3u3ukrJbqOxJqn1j0yC3paFOMrhOx41IzbaMZXM8I2pPwNNWOknHF5IXh0Iz5b\n\tP/xliJCpO7MlEWIMxVXUqdr+gyGlA4B9WsWNWBRsV/d+8Vuqfr5IqPmHZe2d7meseMOt\n\t/0FCXr/vr3rvuVPFvPdrob53bonv5c+CN3cmIjMJYnuotPWdB7IxUYu8EMp7yozXV32t\n\tvooWxAT8P+PG1NuA5AFuH2jL7H/b0aMXfdvyVajyF+WrI1Ccu0VATTf7/fRLhPgNWiYa\n\tFieMqV6nLikrTc2WAOUYo5HtMET6cXAT2yefUwcxAcuJgJgveSD3JrzxNtwXAQX96wX2\n\tpfkQ==",
        "X-Gm-Message-State": "AJaThX5aHi3qheNLQ7YhgrkXB9X+8yerpMrXGDdUGRSF51Q2uX39Y7lp\n\to30SFWxv7QXv9e6fuSXi2IT3Hg==",
        "X-Google-Smtp-Source": "ABhQp+SU+vBY5p2vFQiUmZTIxY1ruUYiN9PD/5nJDY2zTYTcPb1HhVvLL/vin2izdsrlV47fvYH+Eg==",
        "X-Received": "by 10.28.62.67 with SMTP id l64mr2296387wma.6.1509646452496;\n\tThu, 02 Nov 2017 11:14:12 -0700 (PDT)",
        "From": "\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu,  2 Nov 2017 19:14:05 +0100",
        "Message-Id": "<20171102181405.6476-1-yann.morin.1998@free.fr>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.24",
        "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>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tAlexey Brodkin <Alexey.Brodkin@synopsys.com>,\n\t\"Yann E. MORIN\" <yann.morin.1998@free.fr>",
        "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": "The ARC gdb version requires a gcc >= 4.8 (because C++11).\n\nSince the host variant uses the same sources as the target variant, we\nmust ensure that we have a host gcc >= 4.8 as well.\n\nMove the architecture dependencies to their own symbol, and also hide\nthe comment when they are not met.\n\nFixes:\n    http://autobuild.buildroot.net/results/43eae264991aa369490236c7bd59c0b6a67fcf25/\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n package/gdb/Config.in.host | 18 ++++++++++++++----\n 1 file changed, 14 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\nindex c2cfc34284..797c07c3f9 100644\n--- a/package/gdb/Config.in.host\n+++ b/package/gdb/Config.in.host\n@@ -1,4 +1,17 @@\n+config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n+\tbool\n+\tdefault y\n+\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\n+\tdepends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc\n+\tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_arc\n+\tdepends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)\n+\tdepends on !BR2_microblaze\n+\tdepends on !BR2_nios2\n+\tdepends on !BR2_or1k\n+\n comment \"Host GDB Options\"\n+\tdepends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY\n+\tdepends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n \n config BR2_PACKAGE_HOST_GDB\n \tbool \"Build cross gdb for the host\"\n@@ -6,10 +19,7 @@ config BR2_PACKAGE_HOST_GDB\n \t# allow to build a cross-gdb, as the one of the external\n \t# toolchain should be used.\n \tdepends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY\n-\tdepends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)\n-\tdepends on !BR2_microblaze\n-\tdepends on !BR2_nios2\n-\tdepends on !BR2_or1k\n+\tdepends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n \thelp\n \t  Build a cross gdb that runs on the host machine and debugs\n \t  programs running on the target. It requires 'gdbserver'\n",
    "prefixes": []
}