get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221554,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221554/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260409184048.3180731-3-bernd@kuhls.net/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260409184048.3180731-3-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-09T18:40:48",
    "name": "[3/3] Config.in: remove BR2_NEEDS_HOST_JAVA",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ffc0af34eafc968bcf3fc3e1eb753fa182168191",
    "submitter": {
        "id": 86624,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/86624/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd@kuhls.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260409184048.3180731-3-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 499341,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/499341/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499341",
            "date": "2026-04-09T18:40:47",
            "name": "[1/3] package/kodi: fix wayland build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499341/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221554/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221554/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=jHfDSGuN;\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 4fs80N6yLVz1yCv\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 10 Apr 2026 04:41:24 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id F0D0F40DE3;\n\tThu,  9 Apr 2026 18:41:22 +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 v4QMRozJcPFG; Thu,  9 Apr 2026 18:41:21 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 24BDB40D86;\n\tThu,  9 Apr 2026 18:41:21 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id A77BF194\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:41:19 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 9917E819F3\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:41:19 +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 2UJi1r6C5LWL for <buildroot@buildroot.org>;\n Thu,  9 Apr 2026 18:41:18 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 3C7C481916\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:41:18 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6c238.dip0.t-ipconnect.de [79.214.194.56])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 5C5F5A4C0E55\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 20:40:49 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:57198)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wAuJ6-000000004H0-3Irw\n for buildroot@buildroot.org; Thu, 09 Apr 2026 18:40:49 +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 24BDB40D86",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3C7C481916"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775760081;\n\tbh=DlkhftS2e/E5DsojoJHquT2mRuTcs6UEteXo7GEBqiE=;\n\th=From:To:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=jHfDSGuNZio7uNedA5w//nvwjOWaAobuSXaSYsvc763uBxCiXyghyzdT7koYlLPfk\n\t MgEqPCGy29+YQ+Nrdt8VQhXojnlV9/U1zU/lSOcZm8jcAOWCZJqwtiXIX7YfPN4ZMt\n\t +B3xT01o7m8gE4+hQSnopC/UuZhlAYxqoYJ4cHXuscKzF5tqMdeoMrUiHgZh7wk0cG\n\t ubS4t2PORfg7BtCxDQYXnjjYkb4hE7k1Ws97nRzSjWLEb3PQ90vODefgbJwAGM9be3\n\t iE4+zg/lbaTE7Dml9u+rqlHrkobei1zl2PHkSiY/cL8E2hsvNodHAdKeCKaQJUmeSe\n\t pNJ1Z/Gfkk+3A==",
        "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 3C7C481916",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu,  9 Apr 2026 20:40:48 +0200",
        "Message-ID": "<20260409184048.3180731-3-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260409184048.3180731-1-bernd@kuhls.net>",
        "References": "<20260409184048.3180731-1-bernd@kuhls.net>",
        "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=1775760049;\n bh=w9fOdDl0fRGj8jOtKvj0INFwZkBtHgEfeaBx7OkhHSw=;\n h=From:To:Subject:Date:In-Reply-To:From;\n b=CGrXUX38MeYE2tk67asHmquTrQXS9rrsGGSf4+hyl6mZK63ip95izhIJOWQWK0Hvh\n uttIUl2o4ZRNQ7bcQPimOG+BteOzFQbz0aku+5w3rgyUrv/nJIKllWzw0ZBd+H5qy2\n cTM2x2mvbQerNA6XWhXxkt/Zh5TxyZQbebgBKkKJgfwU3RIymNwdAQf9Akte/WQSon\n DeP+x05Sfk5eI4GGPkugGpU/aHTUOEg9aH+oPogKI8xbNNwKBHWdxF/XAVU2o2uAe3\n iwf3Wnq70qZH3KNMx2XdU9TVa1OkphikhVkpJQ9whM8/A3lghPKRfqeR39nM7xLWza\n fDzCt7koki/Ag==",
        "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=CGrXUX38"
        ],
        "Subject": "[Buildroot] [PATCH 3/3] Config.in: remove BR2_NEEDS_HOST_JAVA",
        "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 aac3d2b402fd2b8b91f125cf9314f4805b88f72a added a hidden\nboolean option that packages which depend on java on the host can select.\n\nSince buildroot commit 5366b8f734fe7aff7e95c1f92627265c5a75becc we can\nprovide our own host-openjdk-bin package.\n\nKodi previously used BR2_NEEDS_HOST_JAVA but was switched to host-open-\njdk-bin in this series.\nThe option BR2_NEEDS_HOST_JAVA is now unused and can be removed.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n Config.in                            |  5 -----\n support/dependencies/dependencies.sh | 11 -----------\n utils/genrandconfig                  |  2 --\n 3 files changed, 18 deletions(-)",
    "diff": "diff --git a/Config.in b/Config.in\nindex 0bfe6d1ab5..ac58c685d1 100644\n--- a/Config.in\n+++ b/Config.in\n@@ -101,11 +101,6 @@ config BR2_HOST_GCC_AT_LEAST_15\n # When adding new entries above, be sure to update\n # the HOSTCC_MAX_VERSION variable in the Makefile.\n \n-# Hidden boolean selected by packages in need of Java in order to build\n-# (example: kodi)\n-config BR2_NEEDS_HOST_JAVA\n-\tbool\n-\n # Hidden boolean selected by pre-built packages for x86, when they\n # need to run on x86-64 machines (example: pre-built external\n # toolchains, binary tools, etc.).\ndiff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh\nindex 9c2aeaf23f..f44723678e 100755\n--- a/support/dependencies/dependencies.sh\n+++ b/support/dependencies/dependencies.sh\n@@ -217,17 +217,6 @@ if grep -q ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG ; then\n \tfi\n fi\n \n-if grep -q ^BR2_NEEDS_HOST_JAVA=y $BR2_CONFIG ; then\n-\tcheck_prog_host \"java\"\n-\tJAVA_GCJ=$(java -version 2>&1 | grep gcj)\n-\tif [ ! -z \"$JAVA_GCJ\" ] ; then\n-\t\techo\n-\t\techo \"$JAVA_GCJ is not sufficient to compile your package selection.\"\n-\t\techo \"Please install an OpenJDK/IcedTea/Oracle Java.\"\n-\t\texit 1 ;\n-\tfi\n-fi\n-\n if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then\n \tif test ! -f /lib/ld-linux.so.2 ; then\n \t\techo\ndiff --git a/utils/genrandconfig b/utils/genrandconfig\nindex 5ebd552a1d..727c8193c4 100755\n--- a/utils/genrandconfig\n+++ b/utils/genrandconfig\n@@ -113,8 +113,6 @@ async def fixup_config(sysinfo, configfile):\n \n     ROOTFS_SIZE = '5G'\n \n-    if \"BR2_NEEDS_HOST_JAVA=y\\n\" in configlines and not await sysinfo.has(\"java\"):\n-        return False\n     # libffi not available on ARMv7-M, but propagating libffi arch\n     # dependencies in Buildroot is really too much work, so we handle\n     # this here.\n",
    "prefixes": [
        "3/3"
    ]
}