get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219684,
    "url": "http://patchwork.ozlabs.org/api/patches/2219684/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260403182806.4087549-1-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": "<20260403182806.4087549-1-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-03T18:28:06",
    "name": "[1/1] package/sway: needs pcre2 instead of pcre",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "908693684c1039af5ae1442f1b40bb729f1a8d2e",
    "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/20260403182806.4087549-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 498662,
            "url": "http://patchwork.ozlabs.org/api/series/498662/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498662",
            "date": "2026-04-03T18:28:06",
            "name": "[1/1] package/sway: needs pcre2 instead of pcre",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498662/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219684/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219684/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=lDc3wxgr;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4fnRzy4yfvz1xtJ\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 04 Apr 2026 05:28:14 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 0141F61129;\n\tFri,  3 Apr 2026 18:28:12 +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 IUP1oSD16Tg9; Fri,  3 Apr 2026 18:28:11 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id E81C161120;\n\tFri,  3 Apr 2026 18:28:10 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 8A29D1F3\n for <buildroot@buildroot.org>; Fri,  3 Apr 2026 18:28:09 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 70233402E2\n for <buildroot@buildroot.org>; Fri,  3 Apr 2026 18:28:09 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Gj15oREjJuRh for <buildroot@buildroot.org>;\n Fri,  3 Apr 2026 18:28:08 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 88D7640202\n for <buildroot@buildroot.org>; Fri,  3 Apr 2026 18:28:08 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6cb24.dip0.t-ipconnect.de [79.214.203.36])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 87B3BA4C115A;\n Fri,  3 Apr 2026 20:28:06 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:44244)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1w8jFW-000000001LF-0s6q;\n Fri, 03 Apr 2026 18:28:06 +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 smtp3.osuosl.org E81C161120",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 88D7640202"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775240891;\n\tbh=wkhxOWy0g20iBsd6wQVDW332/DzLWsq/e3wiYFu8nsw=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=lDc3wxgrYwGfmkEGk3ObKg9pU9N54Q6ucVbuhUJkQBE3IC6efUhf9Lrn8EITV4END\n\t PR4VzYOfHc/nI/uXhszPV9FEDn3ju1oQUoIGoeneuMM9EgqtmP3r2TtLEsSB1OaX8f\n\t knXR8UslPVQ68zNh9VfuihQmeMlAnX6rgzPCBalDh2gNizAYBjGSYRhbvg5Pkt1s7I\n\t ZWeQvVVlMmr+HoHdqn9G0F+Wo+heUsYLsz/PiUWefXkLvw5CqIxnpnQpm2y2ym762M\n\t clbU8HkQmuKa6hN5hrEN1EXI1LKdtMnxkV+r6SgiNS/Jeq+JcpwcAQTXWJ92Xk0PKk\n\t Aw8QQyVAp52og==",
        "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 smtp2.osuosl.org 88D7640202",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Cc": "Raphael Pavlidis <raphael.pavlidis@gmail.com>",
        "Date": "Fri,  3 Apr 2026 20:28:06 +0200",
        "Message-ID": "<20260403182806.4087549-1-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "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=1775240886;\n bh=CxqnlTT8PrrmZ/lwMOZ8WnCKbO/qGdTaLVNn3LtGfso=;\n h=From:To:Cc:Subject:Date:From;\n b=WqiOdjvdTxAotwKOmtnFYljrtt4P7DaN5MN4Buvlv73IJF4TYp4pwBpLFKivgH9Zn\n fdOsOcHJFAQ4ErGPR/KqyLGs4HueKx1LDYVg1+bibH9lfPzU00nOWZ+rYcTPS3iOdy\n jELsuAgIZPT+6hV7OiKVnKxDuarBecJ40XzQ0DraNVVQvEr5N7eVFLl8p87GfVyQY/\n 34KeMF58xk7rox2wuX6zjp6/EOaVy5vrEle4kEMs84TVmxB99t3lAtycQgAHAiFQke\n Sbst9yYbxUfMxxNDZxIETcXTnTU9DA0qV40iPheyU8vgzjEplgAbTvPJun4UvIzDWZ\n tcSO/1rYlAmAA==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp2.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=WqiOdjvd"
        ],
        "Subject": "[Buildroot] [PATCH 1/1] package/sway: needs pcre2 instead of pcre",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Buildroot commit 0645cb39e0ce3af743190e587812a5bd4c1f4b24 bumped the\npackage from 1.7 to 1.81.\n\nUpstream included commit\nhttps://github.com/swaywm/sway/commit/f614f35e7354980bf4f0a66ca99be9b5f3a7ac90\nin version 1.8 to switch from pcre to pcre2 but the buildroot package\nwas not updated accordingly.\n\nPcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was\nnever noticed.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/sway/Config.in | 2 +-\n package/sway/sway.mk   | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/package/sway/Config.in b/package/sway/Config.in\nindex 1e4c8bfd3e..c89c0607d3 100644\n--- a/package/sway/Config.in\n+++ b/package/sway/Config.in\n@@ -14,7 +14,7 @@ config BR2_PACKAGE_SWAY\n \tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango\n \tselect BR2_PACKAGE_WLROOTS\n \tselect BR2_PACKAGE_JSON_C\n-\tselect BR2_PACKAGE_PCRE\n+\tselect BR2_PACKAGE_PCRE2\n \tselect BR2_PACKAGE_CAIRO\n \tselect BR2_PACKAGE_CAIRO_PNG\n \tselect BR2_PACKAGE_PANGO\ndiff --git a/package/sway/sway.mk b/package/sway/sway.mk\nindex f27d147852..a497a2cbe7 100644\n--- a/package/sway/sway.mk\n+++ b/package/sway/sway.mk\n@@ -8,7 +8,7 @@ SWAY_VERSION = 1.11\n SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)\n SWAY_LICENSE = MIT\n SWAY_LICENSE_FILES = LICENSE\n-SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango\n+SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre2 cairo pango\n SWAY_CONF_OPTS = \\\n \t-Dwerror=false \\\n \t-Dzsh-completions=false \\\n",
    "prefixes": [
        "1/1"
    ]
}