get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221174,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221174/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260408193359.4047938-1-giulio.benetti@benettiengineering.com/",
    "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": "<20260408193359.4047938-1-giulio.benetti@benettiengineering.com>",
    "date": "2026-04-08T19:33:58",
    "name": "[v2,1/2] package/libnl: enable host package variant",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "44bd1576dc79bcb0c8720514c5a6208b01e32b59",
    "submitter": {
        "id": 77479,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/77479/?format=api",
        "name": "Giulio Benetti",
        "email": "giulio.benetti@benettiengineering.com"
    },
    "delegate": {
        "id": 89618,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/89618/?format=api",
        "username": "juju",
        "first_name": "Julien",
        "last_name": "Olivain",
        "email": "juju@cotds.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260408193359.4047938-1-giulio.benetti@benettiengineering.com/mbox/",
    "series": [
        {
            "id": 499200,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499200/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499200",
            "date": "2026-04-08T19:33:59",
            "name": "[v2,1/2] package/libnl: enable host package variant",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499200/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221174/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221174/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=l7Med/Mr;\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 4frYCn25fgz1yD6\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Thu, 09 Apr 2026 05:34:13 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 4A21D60FD3;\n\tWed,  8 Apr 2026 19:34:09 +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 bzvGPPXdLZhK; Wed,  8 Apr 2026 19:34:07 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 48E1260FBB;\n\tWed,  8 Apr 2026 19:34:07 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 508571F6\n for <buildroot@buildroot.org>; Wed,  8 Apr 2026 19:34:06 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 40B214062C\n for <buildroot@buildroot.org>; Wed,  8 Apr 2026 19:34:06 +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 5MvuRtpEQGxC for <buildroot@buildroot.org>;\n Wed,  8 Apr 2026 19:34:05 +0000 (UTC)",
            "from smtpcmd0756.aruba.it (smtpcmd0756.aruba.it [62.149.156.56])\n by smtp2.osuosl.org (Postfix) with ESMTPS id A808A4006F\n for <buildroot@buildroot.org>; Wed,  8 Apr 2026 19:34:02 +0000 (UTC)",
            "from localhost.localdomain ([84.33.84.190])\n by Aruba SMTP with ESMTPSA\n id AYf2weC6stpTfAYf2wsLDy; Wed, 08 Apr 2026 21:34:00 +0200"
        ],
        "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 48E1260FBB",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org A808A4006F"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775676847;\n\tbh=hYafktai1CixtKooFe0aKOJY0v2NIY24nv4ST52DrL8=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=l7Med/MrL1Krjdf6N6SzrMxo3fn6T9eVmRPRqXqGSwlVvRIYSd14J6DBECdSgdyze\n\t I2oJf2z3nPBR4MNlpQwgIBDsH9eoZjdXqG2xgStEejeHDgfALP1972bE2gSCHSTIRm\n\t Ym9Cj8CX/StW4yvTzgaFzdywgvzY0mO7tBfElIG1oo1BXnoW1UhwvYciKsd8yZpDUo\n\t TDXDqBg8PAEWgMMFEwFqQ/CjSLGrPZxNRulClUKePPM9U1lCzEQ+6kJhlTMmsEmmZO\n\t 7NGtKcypiya9bEol/FiSq8Pu5/cZr0Neqg+E4VPSwpfB9JAsr51GInnyn3Hb1r4O5/\n\t XpkKN+K6KHOdw==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.56;\n helo=smtpcmd0756.aruba.it;\n envelope-from=giulio.benetti@benettiengineering.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org A808A4006F",
        "From": "Giulio Benetti <giulio.benetti@benettiengineering.com>",
        "To": "buildroot@buildroot.org",
        "Cc": "Giulio Benetti <giulio.benetti@benettiengineering.com>,\n Petr Vorel <petr.vorel@gmail.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>",
        "Date": "Wed,  8 Apr 2026 21:33:58 +0200",
        "Message-ID": "<20260408193359.4047938-1-giulio.benetti@benettiengineering.com>",
        "X-Mailer": "git-send-email 2.47.3",
        "MIME-Version": "1.0",
        "X-CMAE-Envelope": "\n MS4xfEBHeYAQSyY6FwWwXDmzpAxbpKxdC7UAuz9lHpu/wSxs6/x16WVGH8FqtZwa+zvYPmxY2lF8xmF8Eg1iImHfXo2oePBxtCDN+FgPJyP+FjY6I5+3XYwQ\n 5ViOkVQ1IsuVmOSGsrtVk/FDCe+y0AqFqh6/9/a6E5z0MOFbGCD5NNhk63+NF5rQtkH1QmLVXDfW2OoPmPjyQUeKFSm+4oeQ6jgjQXv1OSalHkjdgJqPd2Qe\n aRKyHSsh4zfRyaiIQvejvZCGDT75f4745B0xZDkc543jSc0SEWDj8bPnlPVYUqvoN8lU0NdQsbrnNWiYTpyD7dLB99xBppm4Lo4D5p9Jj/yJG++3sNoMt6CH\n 8ZHldZJE",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=aruba.it; s=a1;\n t=1775676840; bh=vHhsqmnnso5K4uBdod54mxX8un3L8h2ghjvCeNfhMC0=;\n h=From:To:Subject:Date:MIME-Version;\n b=oNVepnkgHh6i7qrLUCVQxlc6Hv5x+Htn21Gj25vvQKQzfXH7M1NPau/WNxMNB6xEz\n 2nc9b2SelCZWp/2QfLMWrcXZIS10hiLLTdmuX2FK5z1vu6r7alJScFGjmgYtBrTo7G\n k0omJXKTysDqCHGrOC7Z5JEaMonWLnkbTL7R2WuxUH0He+PhNsZ86PEuk7Zarw+SY4\n Y7gQRpD6L0aU5pv339R1echQ6Os/J946orNXunpAleEXu88Necrp03xjaUkzhcJ0fF\n yH42KovcTnObFD95qI6ttHiL8YPulC3Qplc6f+tsYZvWBpWKmECxH+xc5tM4XPMxhP\n dY4RgacMs29bQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=benettiengineering.com",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256\n header.s=a1 header.b=oNVepnkg"
        ],
        "Subject": "[Buildroot] [PATCH v2 1/2] package/libnl: enable host package\n variant",
        "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": "host-libnl is needed for host-nfs-utils.\n\nSigned-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>\n---\nV1->V2:\n* drop HOST_LIBNL_INSTALL_STAGING = YES as pointed by Thomas Petazzoni\n---\n package/libnl/libnl.mk | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk\nindex a0441b7835..b1254d2ba0 100644\n--- a/package/libnl/libnl.mk\n+++ b/package/libnl/libnl.mk\n@@ -13,6 +13,8 @@ LIBNL_CPE_ID_VALID = YES\n LIBNL_INSTALL_STAGING = YES\n LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf\n \n+HOST_LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf\n+\n ifeq ($(BR2_PACKAGE_LIBNL_TOOLS),y)\n LIBNL_CONF_OPTS += --enable-cli\n else\n@@ -27,3 +29,4 @@ LIBNL_CONF_OPTS += --disable-unit-tests\n endif\n \n $(eval $(autotools-package))\n+$(eval $(host-autotools-package))\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}