get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231376,
    "url": "http://patchwork.ozlabs.org/api/patches/2231376/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260430162156.3456640-7-bernd@kuhls.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": "<20260430162156.3456640-7-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-30T16:21:49",
    "name": "[07/14] package/grantlee: Fix build with gcc 16.x",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "10a5382632158b11efa97ac94a5043aeb912c8a5",
    "submitter": {
        "id": 86624,
        "url": "http://patchwork.ozlabs.org/api/people/86624/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd@kuhls.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260430162156.3456640-7-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 502339,
            "url": "http://patchwork.ozlabs.org/api/series/502339/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=502339",
            "date": "2026-04-30T16:21:43",
            "name": "[01/14] package/autoconf: bump version to 2.73",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502339/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231376/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231376/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=JWF1B8SR;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5zyS1RyCz1xqf\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 01 May 2026 02:24:16 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 9531B84E3A;\n\tThu, 30 Apr 2026 16:24:14 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id ncy_Lth71d6U; Thu, 30 Apr 2026 16:24:12 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id A8FDE84E36;\n\tThu, 30 Apr 2026 16:24:12 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists1.osuosl.org (Postfix) with ESMTP id 4DF9718E\n for <buildroot@buildroot.org>; Thu, 30 Apr 2026 16:24:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 3304161CB8\n for <buildroot@buildroot.org>; Thu, 30 Apr 2026 16:24:11 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id p6QKcEiBpFs1 for <buildroot@buildroot.org>;\n Thu, 30 Apr 2026 16:24:09 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp3.osuosl.org (Postfix) with ESMTPS id A9ED961CB0\n for <buildroot@buildroot.org>; Thu, 30 Apr 2026 16:24:09 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6c2eb.dip0.t-ipconnect.de\n [79.214.194.235])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id F1F33A4C2D18;\n Thu, 30 Apr 2026 18:22:04 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:45580)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.2)\n (envelope-from <bernd@kuhls.net>) id 1wIU9F-000000004jw-2O66;\n Thu, 30 Apr 2026 16:21:57 +0000"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org A8FDE84E36",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org A9ED961CB0"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777566252;\n\tbh=bCpYypOOo/E7+gFjGLOwLhjjnWGyTPnMD17tUNxjyI8=;\n\th=From:To:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t Cc:From;\n\tb=JWF1B8SRq2BxaUoJR8Z2Wf6B9v/PM5CPS+ztS721EKuOeUiHRzyt0DaYBqW4/IAf1\n\t 5vbNnL3Wvyz4/AoraLuAY/ahRUuE5TutdTLN+P/wir4gTpKp4LwPcdzVR/5nTQSpmz\n\t YmUM3Lmei9L0nncFJ1rK7QXEuKDe6JZ8cv1s8+RMZ1N5VSgXROFwouN6y71ZBM5jTZ\n\t 1FShFU0YlxC6leMQ4um6wNj7UFtv6bXVzz2WZN5AFCJI0m/kb38tvEXP0nk7n3JSqG\n\t LtZxdcu/dlfIXtCMbmLMWigNU3aAyFA96OhcZvhhJnL1cI9jMPuXmuUUfAvlAg6ToV\n\t UO3FLZjHbZcLQ==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org A9ED961CB0",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu, 30 Apr 2026 18:21:49 +0200",
        "Message-ID": "<20260430162156.3456640-7-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260430162156.3456640-1-bernd@kuhls.net>",
        "References": "<20260430162156.3456640-1-bernd@kuhls.net>",
        "MIME-Version": "1.0",
        "X-Spamd-Bar": "/",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1777566125;\n bh=oNABBqhHfyb1pzPHrOPGnRjzDWuNaEPrU1lSEf85h7M=;\n h=From:To:Cc:Subject:Date:In-Reply-To:From;\n b=JFJi4W+WWEq6YN/kJqKDi77ctM/YjAr82QejJ0ASLe17IoN/K+HOMWwEX/Dmhtffl\n NgCku/AqAJcAXthfRRx43AvodWtRnNKwh4b7EmBRuO6jHQ5Lo5bRIlbx9zxPN8t8RP\n lBig1hpw23fgRzNbVxObQ5XCGZruvjj06MMmTNBs0CgctNKGPx6xc3JQhxPUHMl0MZ\n Z6PLY/9p02TsqE/foRYkjdJfZNyQ9P6cuwWZnaSpLIvnAzI3LuzW8+hi2lGrqVQtHd\n OEJ+mlzHnhTbirWGnlcJCkh8NJO0qY/D55cbIweHwT+z10zZFQLL+ESZi/muXorVxG\n vEIojz9MMjPbA==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net\n header.a=rsa-sha256 header.s=kas202511301023 header.b=JFJi4W+W"
        ],
        "Subject": "[Buildroot] [PATCH 07/14] package/grantlee: Fix build with gcc 16.x",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Cc": "Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>,\n Giulio Benetti <giulio.benetti@benettiengineering.com>,\n Angelo Compagnucci <angelo.compagnucci@gmail.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Romain Naour <romain.naour@gmail.com>,\n Olivier Schonken <olivier.schonken@gmail.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n ...-id-in-constructor-of-template-class.patch | 30 +++++++++++++++++++\n 1 file changed, 30 insertions(+)\n create mode 100644 package/grantlee/0001-Remove-template-id-in-constructor-of-template-class.patch",
    "diff": "diff --git a/package/grantlee/0001-Remove-template-id-in-constructor-of-template-class.patch b/package/grantlee/0001-Remove-template-id-in-constructor-of-template-class.patch\nnew file mode 100644\nindex 0000000000..6fd4636df1\n--- /dev/null\n+++ b/package/grantlee/0001-Remove-template-id-in-constructor-of-template-class.patch\n@@ -0,0 +1,30 @@\n+From 261bfe75d718abfc537ddcebfe805df01c33ab3a Mon Sep 17 00:00:00 2001\n+From: Pino Toscano <toscano.pino@tiscali.it>\n+Date: Sat, 25 Apr 2026 10:21:47 +0200\n+Subject: [PATCH] Remove template-id in constructor of template class\n+\n+It was not required, and it is invalid now in C++ 20.\n+\n+Upstream: https://github.com/steveire/grantlee/pull/93\n+\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+---\n+ templates/defaulttags/cycle.h | 4 ++--\n+ 1 file changed, 2 insertions(+), 2 deletions(-)\n+\n+diff --git a/templates/defaulttags/cycle.h b/templates/defaulttags/cycle.h\n+index 936c2a2e..a917555f 100644\n+--- a/templates/defaulttags/cycle.h\n++++ b/templates/defaulttags/cycle.h\n+@@ -40,9 +40,9 @@ Cycles endlessly over elements.\n+ template <typename T> class RingIterator\n+ {\n+ public:\n+-  RingIterator<T>() {}\n++  RingIterator() {}\n+ \n+-  RingIterator<T>(const QList<T> &list)\n++  RingIterator(const QList<T> &list)\n+       : m_begin(list.constBegin()), m_it(list.constBegin()),\n+         m_end(list.constEnd())\n+   {\n",
    "prefixes": [
        "07/14"
    ]
}