get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2232191,
    "url": "http://patchwork.ozlabs.org/api/patches/2232191/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260503144908.2807535-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": "<20260503144908.2807535-1-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-05-03T14:49:05",
    "name": "[1/4] package/gdb: link with libatomic if needed",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "87a83c312a1f8a132a2466a5cf5ef861f6328a3c",
    "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/20260503144908.2807535-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 502579,
            "url": "http://patchwork.ozlabs.org/api/series/502579/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=502579",
            "date": "2026-05-03T14:49:05",
            "name": "[1/4] package/gdb: link with libatomic if needed",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502579/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2232191/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2232191/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=OnUt9LVt;\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 4g7njb4Qktz1xvV\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 04 May 2026 00:49:20 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 03CCA60C1F;\n\tSun,  3 May 2026 14:49:18 +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 RkSlxWhY9J-T; Sun,  3 May 2026 14:49:16 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id F320560D78;\n\tSun,  3 May 2026 14:49:15 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id D52BD190\n for <buildroot@buildroot.org>; Sun,  3 May 2026 14:49:14 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id B7E1E414C6\n for <buildroot@buildroot.org>; Sun,  3 May 2026 14:49:14 +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 1OaFDBQaMEgo for <buildroot@buildroot.org>;\n Sun,  3 May 2026 14:49:14 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 5117C4149E\n for <buildroot@buildroot.org>; Sun,  3 May 2026 14:49:12 +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 52C80A4C0296\n for <buildroot@buildroot.org>; Sun,  3 May 2026 16:49:09 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:40976)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.2)\n (envelope-from <bernd@kuhls.net>) id 1wJY85-000000001nT-1t2o\n for buildroot@buildroot.org; Sun, 03 May 2026 14:49:09 +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 F320560D78",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5117C4149E"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777819756;\n\tbh=Byp32TbIP4AlJw4AT3XhcKy/4b2AoSCJqdOFhqIJDDs=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=OnUt9LVt7szrrv0gdtopemj6nFwSt0bLfJssPS21hpbN9QzwCrwB/6X+p5rpT8bIH\n\t uitWc4PiLTy7Y6I20YXjO6xYy+FGdPuqFbvzehRIbh0pPnpOxBpiF9OZnJTqUku6Ue\n\t +Qb7B5hwNWniia5nJtnTzfGI7+p3kZ7b2MKyUQ/KILXtmGFH38zFDFNvtH58F0dpye\n\t +txf6aMB5GoB/E1617lf9mlFu/Wh+Jq9W0Q2DrPlunyBHmoc920fyjlWTXs48JGouN\n\t I56gozeL4lmiDCQlPkwp/LNPCzGuY+YkQrUwMFr9S4WMMj0uzLrsuOSNA00c+/TnJg\n\t ruz0zniqg08Ug==",
        "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 smtp4.osuosl.org 5117C4149E",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  3 May 2026 16:49:05 +0200",
        "Message-ID": "<20260503144908.2807535-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=1777819749;\n bh=FXt7Zov9OFZt5VEn7Efny9061miInzRTiGXniVLyvFo=;\n h=From:To:Subject:Date:From;\n b=p6wxWIjlsU0K9l9N7rbxJNwl6l2hOZQNLO1R9Lo8OuhbNov+33U453E5NuL7tnHS5\n jkwt1jbvtfHfpoQr/+jXmXdwXNAO/PJ/Q/SGNeVvpe+cQUdghNPM8Ob+MlK7aG5Eul\n mZyU9KHQhGzlAuFjJuMi4t4+qhAGE4OjCL1Pbd/VgvpbUBRI8vN5o7ybJ9Hi/vnRTN\n G2MZZK5Xj6s0WtnVPggTc4A6AfkqPUmhylzCkmDlQ6EtRbg4LrTGlI4mUzLUsGikPh\n yBNUF9rZ/sPhoEFd+Saplo8TqWA9dVcDoP5YzYg+IoToepptZaLulzdFKYCJMLlsjF\n xii/VuQQrbFCQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp4.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=p6wxWIjl"
        ],
        "Subject": "[Buildroot] [PATCH 1/4] package/gdb: link with libatomic if needed",
        "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": "Fixes:\ngdb-14.2: https://autobuild.buildroot.net/results/32f/32f5715285ca46370df2ab35c38d16dbdbde5d21/\ngdb-15.2: https://autobuild.buildroot.net/results/386/38645389cc5fdb1d5fdfa5d6f6eef417a975ea41/\n\nSupport for gdb 14.x was added to buildroot with commit\na9a56ab6fd98125ca09078bdeb7c8d55d53aa35e so a backport to LTS branches\nshould be considered.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/gdb/gdb.mk | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk\nindex 1841002dc1..2a2fdb260d 100644\n--- a/package/gdb/gdb.mk\n+++ b/package/gdb/gdb.mk\n@@ -116,6 +116,14 @@ GDB_MAKE_ENV += \\\n GDB_CONF_ENV += gdb_cv_prfpregset_t_broken=no\n GDB_MAKE_ENV += gdb_cv_prfpregset_t_broken=no\n \n+GDB_LDFLAGS = $(TARGET_LDFLAGS)\n+# Uses __atomic_compare_exchange_1\n+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)\n+GDB_LDFLAGS += -latomic\n+endif\n+GDB_CONF_ENV += \\\n+\tLDFLAGS=\"$(GDB_LDFLAGS)\"\n+\n # We want the built-in libraries of gdb (libbfd, libopcodes) to be\n # built and linked statically, as we do not install them on the\n # target, to not clash with the ones potentially installed by\n",
    "prefixes": [
        "1/4"
    ]
}