get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216964,
    "url": "http://patchwork.ozlabs.org/api/patches/2216964/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327130326.3513059-2-buildroot@heine.tech/",
    "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": "<20260327130326.3513059-2-buildroot@heine.tech>",
    "list_archive_url": null,
    "date": "2026-03-27T13:03:12",
    "name": "package/supertux: fix build with gcc > 11",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "41aba29bf8d841b5d7198395fe60b1dff177baa9",
    "submitter": {
        "id": 79798,
        "url": "http://patchwork.ozlabs.org/api/people/79798/?format=api",
        "name": "Michael Nosthoff",
        "email": "buildroot@heine.tech"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327130326.3513059-2-buildroot@heine.tech/mbox/",
    "series": [
        {
            "id": 497766,
            "url": "http://patchwork.ozlabs.org/api/series/497766/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497766",
            "date": "2026-03-27T13:03:12",
            "name": "package/supertux: fix build with gcc > 11",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497766/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216964/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216964/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=ObuspiEw;\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 4fj1702j8fz1y1P\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 28 Mar 2026 00:03:56 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 20B6A60EDD;\n\tFri, 27 Mar 2026 13:03:54 +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 LJxO7RRRdvFc; Fri, 27 Mar 2026 13:03:53 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 3ED5F60FBB;\n\tFri, 27 Mar 2026 13:03:53 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id 49D0F1D3\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 13:03:51 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 3014C41703\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 13:03:51 +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 4dTKVJFuMRNg for <buildroot@buildroot.org>;\n Fri, 27 Mar 2026 13:03:50 +0000 (UTC)",
            "from mail.heine.tech (mail.heine.tech [195.201.24.99])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 83E65416FA\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 13:03:49 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id DC6AF1814B9; Fri, 27 Mar 2026 14:03:45 +0100 (CET)"
        ],
        "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 3ED5F60FBB",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 83E65416FA"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774616633;\n\tbh=aMbl7nMwx4meQzUIQ//m63/W+po0w9+YSYani0lDhHU=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\t List-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=ObuspiEw//zzr/DHByyXvT8pkxZJlY1YENOIeBc1q86pzpULqIVxXntfcWNZgordx\n\t RLAsGlSqO3tQigmE9ZH3SaURUovdUfdPTR9pCMNTn+HQ471xsZuVZn4C1J8yTk4+hY\n\t wmEQd+byxBwW5VOvQ8JmhIPpzZy0zK5kkli8qXa2AupQo6EvYA63zEeqVRf1XM+nTN\n\t qxFDiOynEj3wPxx77kRes8acY/L9V8/4d1egXeNFFtUVhNEDQjAuJvEqXEi8perdOa\n\t G0E616o/+Xm7a4C9qwp9j8REEnmylJdWcYqugrsGnKKWMg0k58rr+fv3MQ2SIuzMhV\n\t 0Vyv9lH52CXPA==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=195.201.24.99;\n helo=mail.heine.tech; envelope-from=buildroot@heine.tech; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org 83E65416FA",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 27 Mar 2026 14:03:12 +0100",
        "Message-ID": "<20260327130326.3513059-2-buildroot@heine.tech>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=heine.tech; s=dkim;\n t=1774616626; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding; bh=Kgs/U42GMjUvD6tmXTxc9KWkIbhpbWEaRXvwMjzVEek=;\n b=DZjVpZ5ltohapMjDCXt+PiIB93oXyQiUC91Xwitm7gjrMUwFX7R5AHuu/mBpyDgJOJcQaY\n +THcopAVYZ3YlTURLer7Wfew1gLLMtujtTHpCTyxMkq1DKoCzxGVb2uvq8gUiraWjW0C+p\n QJePuULngXqbq6Q//H3xipyE7myWEPA=",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=heine.tech",
            "smtp4.osuosl.org;\n dkim=pass (1024-bit key,\n unprotected) header.d=heine.tech header.i=@heine.tech header.a=rsa-sha256\n header.s=dkim header.b=DZjVpZ5l"
        ],
        "Subject": "[Buildroot] [PATCH] package/supertux: fix build with gcc > 11",
        "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": "Michael Nosthoff via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Michael Nosthoff <buildroot@heine.tech>",
        "Cc": "Romain Naour <romain.naour@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": "Fixes:\n \"missing #include <memory>\" when building with GCC > 11.\n\nSigned-off-by: Michael Nosthoff <buildroot@heine.tech>\n---\n package/supertux/0001-fix-gcc11-build.patch | 32 +++++++++++++++++++++\n 1 file changed, 32 insertions(+)\n create mode 100644 package/supertux/0001-fix-gcc11-build.patch",
    "diff": "diff --git a/package/supertux/0001-fix-gcc11-build.patch b/package/supertux/0001-fix-gcc11-build.patch\nnew file mode 100644\nindex 0000000000..2b4580c45f\n--- /dev/null\n+++ b/package/supertux/0001-fix-gcc11-build.patch\n@@ -0,0 +1,32 @@\n+From 81809dd5e6f611b1d64d952f6d96310bcc9c5fca Mon Sep 17 00:00:00 2001\n+From: Semphris <semphris@protonmail.com>\n+Date: Fri, 17 Jun 2022 12:36:26 -0400\n+Subject: [PATCH] Fix problem with GCC 11 and Partio's ZIP manager (missing\n+ #include <memory>)\n+\n+Closes #2219 on GitHub. Same fix, but puts the include closer to the copyright header.\n+\n+Signed-off-by: Michael Nosthoff <buildroot@heine.tech>\n+---\n+ external/partio_zip/zip_manager.hpp | 8 ++++++--\n+ 1 file changed, 6 insertions(+), 2 deletions(-)\n+\n+diff --git a/external/partio_zip/zip_manager.hpp b/external/partio_zip/zip_manager.hpp\n+index 666884dda53..245303c76be 100644\n+--- a/external/partio_zip/zip_manager.hpp\n++++ b/external/partio_zip/zip_manager.hpp\n+@@ -1,8 +1,12 @@\n+ // SOURCE: https://github.com/wdas/partio/blob/main/src/lib/io/ZIP.h\n++// NOTE: This file was edited for purposes of compatibility with SuperTux.\n+ \n+-/*\n++// This include has been added to fix a problem with GCC 11+ (and maybe 10)\n++#include <memory>\n++\n++// =============================================================================\n+ \n+-NOTE: This file was edited for purposes of compatibility with SuperTux.\n++/*\n+ \n+ PARTIO SOFTWARE\n+ Copyright 2010 Disney Enterprises, Inc. All rights reserved\n",
    "prefixes": []
}