get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217315,
    "url": "http://patchwork.ozlabs.org/api/patches/2217315/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327212816.1228111-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": "<20260327212816.1228111-1-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-03-27T21:28:15",
    "name": "[1/2] package/leafnode2: fix build without pod2man",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7e53a2bd0582646fb0bc06fb9bdd6b6a80e24858",
    "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/20260327212816.1228111-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 497831,
            "url": "http://patchwork.ozlabs.org/api/series/497831/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497831",
            "date": "2026-03-27T21:28:15",
            "name": "[1/2] package/leafnode2: fix build without pod2man",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497831/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217315/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217315/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=hLMcua6V;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4fjDKC39WWz1y1x\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 28 Mar 2026 08:28:29 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id DD39540E74;\n\tFri, 27 Mar 2026 21:28:25 +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 dwl_uIR0j3rF; Fri, 27 Mar 2026 21:28:23 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 3E51E40DD8;\n\tFri, 27 Mar 2026 21:28:23 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id C2D9B2AA\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:21 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id A909781A1C\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:21 +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 PIUETh8ftPoM for <buildroot@buildroot.org>;\n Fri, 27 Mar 2026 21:28:21 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 5B07581A16\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:19 +0000 (UTC)",
            "from fli4l.lan.fli4l (p5b3a0ba3.dip0.t-ipconnect.de [91.58.11.163])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id CB97BA4C16F4\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 22:28:16 +0100 (CET)",
            "from bruckner.lan.fli4l ([192.168.1.1]:37436)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1w6Ej2-000000001xn-23zH\n for buildroot@buildroot.org; Fri, 27 Mar 2026 21:28:16 +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 smtp4.osuosl.org 3E51E40DD8",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5B07581A16"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774646903;\n\tbh=lt5hR5nlR1Ug/2d/ZRKIeNPfU7oDW5lJlIO0S0F/XgA=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=hLMcua6VAal2d163SwY7+tIeze/zGZCK+//UV8I5PFb02gKXb8uWrRiOq9TbnCoz4\n\t f6Ev1oFw6t5GkWgTEz0TwXhsw1QFHAOvzxKem4ihkC1O2B/h8u7KEG+LTidb/NVti/\n\t 1qTPCibpz6ve58oKXInsvcMOeS9vMxTRXViQTsxc64aumf9YVsBCC5Ag2rZjI9gYNi\n\t yW37ihxVJhsYdSdcTB53lNanU9B7ZktKFQnSE5fPqyvcyzoH8iPpUQkoMGna3jqUm0\n\t Gyagd5azqBabdBekhtHwObzX3R5jroOdrZ75bNSuTfzF/QqNxlQijc6TcVdr/W3HSf\n\t Rxk9/O0AxjMAg==",
        "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 smtp1.osuosl.org 5B07581A16",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 27 Mar 2026 22:28:15 +0100",
        "Message-ID": "<20260327212816.1228111-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=1774646896;\n bh=Wu/BrnCd6lSCeN5RQRE+anBSos1/uKmHt7PqpHQMG6I=;\n h=From:To:Subject:Date:From;\n b=dcvZ8sy+Y4+JrI+gSgNyQTklBy+65sP/UH2L4+yWok6Nnf4Upk+h9GNkkJ8G5n2O3\n awwCyNRUf2lP+v1KF0kiiPcVMLm0YFBZkBxKBlo0t1w5xNDFIXGnKp/Ne8HDwenLRy\n LFxsNzv7xv4KvAYT80g4mzG7wUi+aVlcjHbpBOyrwJPLX0Ni3aqFBK/Ggkc2cE8rZJ\n j7A1BgW5OIkvS/KrcZfk7X2dNh9cBYHo8QOVvJJWJkNBOXQ8K1Y9LORaRWWc0hRIR0\n dcnMJwfH0VVqPplVfjKTobfShjQOiIcHRyL8n81epZLTnywRMnF8GKWg3+mvHw2Lkr\n uM2wySxc/lg6Q==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp1.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=dcvZ8sy+"
        ],
        "Subject": "[Buildroot] [PATCH 1/2] package/leafnode2: fix build without pod2man",
        "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 a build error when pod2man is missing on the host:\n\n  pod2man ./tools/lsmac.pl >lsmac.1 || { rm -f lsmac.1 ; false ; }\n  /bin/sh: line 1: pod2man: command not found\n\nFixes:\nhttps://autobuild.buildroot.net/results/999/9996e81429f90f4615755827ac182094d416c467/\n\nAlthough the build error only occurs since 2026-03-05 it should be\nbackported to LTS branches because the last change to the buildroot\npackage dates back to 2024.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/leafnode2/leafnode2.mk | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk\nindex 566aaf3d55..8c44071209 100644\n--- a/package/leafnode2/leafnode2.mk\n+++ b/package/leafnode2/leafnode2.mk\n@@ -11,6 +11,12 @@ LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL\n LEAFNODE2_DEPENDENCIES = host-pcre pcre\n LEAFNODE2_AUTORECONF = YES\n \n+# pod2man doesn't work when cross compiling\n+define LEAFNODE2_DISABLE_POD2MAN\n+\t$(SED) 's/GENERATED_MANS=lsmac.1/GENERATED_MANS=/' $(@D)/Makefile.am\n+endef\n+LEAFNODE2_POST_PATCH_HOOKS += LEAFNODE2_DISABLE_POD2MAN\n+\n LEAFNODE2_CONF_ENV = \\\n \tPCRECONFIG=\"$(STAGING_DIR)/usr/bin/pcre-config\"\n \n",
    "prefixes": [
        "1/2"
    ]
}