get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223111,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223111/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414132055.3263118-1-buildroot@bubu1.eu/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "msgid": "<20260414132055.3263118-1-buildroot@bubu1.eu>",
    "date": "2026-04-14T13:20:51",
    "name": "[1/2] package/bat: remove no longer needed patch for gcc15 compat",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3b744b204c4ab03e48b1df848db990fd2f0ba4c8",
    "submitter": {
        "id": 87807,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/87807/?format=api",
        "name": "Marcus Hoffmann",
        "email": "buildroot@bubu1.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414132055.3263118-1-buildroot@bubu1.eu/mbox/",
    "series": [
        {
            "id": 499843,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499843/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499843",
            "date": "2026-04-14T13:20:51",
            "name": "[1/2] package/bat: remove no longer needed patch for gcc15 compat",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499843/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223111/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223111/checks/",
    "tags": {},
    "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=Pc6tvdQS;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\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 4fw4jg4nzPz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 14 Apr 2026 23:23:51 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 87D8A61CD4;\n\tTue, 14 Apr 2026 13:23:49 +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 ZQ_ayxePpDEt; Tue, 14 Apr 2026 13:23:48 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id ADF4661CE1;\n\tTue, 14 Apr 2026 13:23:48 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 9A5E4237\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 13:23:47 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 5121842A34\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 13:23:45 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id T7-vGQY-41jy for <buildroot@buildroot.org>;\n Tue, 14 Apr 2026 13:23:44 +0000 (UTC)",
            "from smtp.bubu1.eu (smtp.bubu1.eu [176.9.145.28])\n by smtp4.osuosl.org (Postfix) with ESMTPS id A888042A33\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 13:23:43 +0000 (UTC)",
            "from bubutux.fritz.box (unknown [212.37.174.96])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits)\n server-digest\n SHA256) (No client certificate requested)\n by smtp.bubu1.eu (Postfix) with ESMTPSA id 5969F2C88C79;\n Tue, 14 Apr 2026 15:23:40 +0200 (CEST)"
        ],
        "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 smtp3.osuosl.org ADF4661CE1",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org A888042A33"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776173028;\n\tbh=Rmg9gjzuwBUrToiR40HVeP4oLcok6n62VSElXUXI2JE=;\n\th=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=Pc6tvdQSN62onsAw40hqrDy/xmpYuJFR87CrNqNrPvp+bovH+Q8uwy88LDqlpvDTx\n\t McJmOW8iQDYvYI5TQyxYOmagWNkAeEh9HMRQsTaFUlpFnEbqc59+zQBJsyRdVLy+gA\n\t 0oQgOMY1NjoNPp9yFymZSLrfCQkVX8Pe7VQ3snlOmESHFOx/WhCvwOg696ZfBOF26w\n\t btKKJFncuUmW4ib5eDYtHLe9Ew2e/vkPvEnXZHzjLLgdcZ6SinyFJZxiq/6wmUPUBM\n\t lt1jAZwbh50rRcPrQFW0mi8qDdMnKDtxsVVnNyrJIxcs/XTFjsAFUyrjO6z7r960it\n\t 4nJBui1R14CEg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=176.9.145.28;\n helo=smtp.bubu1.eu; envelope-from=buildroot@bubu1.eu; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org A888042A33",
        "To": "buildroot@buildroot.org",
        "Cc": "David Pierret <david.pierret@smile.fr>",
        "Date": "Tue, 14 Apr 2026 15:20:51 +0200",
        "Message-ID": "<20260414132055.3263118-1-buildroot@bubu1.eu>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=bubu1.eu; s=bubu;\n t=1776173020; bh=U7gqm4Tsb6POmTs0xgd1yO+lJfdBNAMjYH20oKMDRf4=;\n h=From:To:Cc:Subject:Date;\n b=H2QSAoqc5k3obCWZCDYiULMvj5jttUlPA4dMY62tpdUXWSzhcpYI7tmRemzaP1iYr\n 20gMUpaR2CqCbTjldDUWGv9hZkTfjbUoosylI0brtIqt/zfEJBx0v3o8CEXYo7J4Zb\n Eo2Zu66/zKZ0yeN03du21VDmerwttqzXhV7Z8n06b+R91/nclqL7jXxV9U6DWb8erY\n DDyhbapKrz+42RC1Dm/K0qxLz5oZyj//j713R8Xbf0O70JsU8qyZcjbsbLHxk0he89\n a9edZQQj/nmMtF1POtQdGFUk0+dl6+q+sF1OThLM+OKP96b1odpbN2kXcr++lcgf98\n VhE1PfwEUndtQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bubu1.eu",
            "smtp4.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=bubu1.eu header.i=@bubu1.eu header.a=rsa-sha256\n header.s=bubu header.b=H2QSAoqc"
        ],
        "Subject": "[Buildroot] [PATCH 1/2] package/bat: remove no longer needed patch\n for gcc15 compat",
        "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>",
        "From": "Marcus Hoffmann via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Marcus Hoffmann <buildroot@bubu1.eu>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "The bat 0.26.0 already depends on a newer version of the onig_sys crate,\nso the problem that patch is fixing was no already no longer present.\n\nSigned-off-by: Marcus Hoffmann <buildroot@bubu1.eu>\n---\n ...ig-by-regex-fancy-in-minimal-applica.patch | 47 -------------------\n 1 file changed, 47 deletions(-)\n delete mode 100644 package/bat/0001-Replace-regex-onig-by-regex-fancy-in-minimal-applica.patch",
    "diff": "diff --git a/package/bat/0001-Replace-regex-onig-by-regex-fancy-in-minimal-applica.patch b/package/bat/0001-Replace-regex-onig-by-regex-fancy-in-minimal-applica.patch\ndeleted file mode 100644\nindex de6a3fc70c..0000000000\n--- a/package/bat/0001-Replace-regex-onig-by-regex-fancy-in-minimal-applica.patch\n+++ /dev/null\n@@ -1,47 +0,0 @@\n-From 9b6727df25e45222b3863dbe5f5bc58237b68ab9 Mon Sep 17 00:00:00 2001\n-From: El Mehdi YOUNES <elmehdi.younes@smile.fr>\n-Date: Tue, 2 Sep 2025 14:02:11 +0200\n-Subject: [PATCH] Replace regex-onig by regex-fancy in minimal-application\n-\n-The default \"application\" feature enables \"minimal-application\", which\n-in turn pulls in the \"regex-onig\" feature of syntect. This brings in the\n-onig crate (version 6.4.0) and its dependency onig_sys, which fail to\n-build with GCC 15 due to C23 keyword conflicts.\n-\n-It is not possible to simply update the onig crate from bat itself,\n-since its version is pinned indirectly by syntect. To avoid this\n-dependency and fix the build, replace \"regex-onig\" with \"regex-fancy\" in\n-\"minimal-application\". This makes bat use the pure-Rust fancy-regex\n-engine instead of Oniguruma, removing the need for onig_sys and allowing\n-the package to build with GCC 15.\n-\n-There is an an ongoing discussion about removing Oniguruma from bat\n-since Oniguruma has been declared archived:\n-\n-see https://github.com/sharkdp/bat/issues/3285\n-\n-The Upstream project for now is refusing to use fancy-regex as default.\n-\n-Upstream: not submitted\n-\n-Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>\n----\n- Cargo.toml | 2 +-\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n-\n-diff --git a/Cargo.toml b/Cargo.toml\n-index 80d19321..93a07a1d 100644\n---- a/Cargo.toml\n-+++ b/Cargo.toml\n-@@ -29,7 +29,7 @@ minimal-application = [\n-     \"clap\",\n-     \"etcetera\",\n-     \"paging\",\n--    \"regex-onig\",\n-+    \"regex-fancy\",\n-     \"wild\",\n- ]\n- git = [\"git2\"] # Support indicating git modifications\n--- \n-2.43.0\n-\n",
    "prefixes": [
        "1/2"
    ]
}