get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221552,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221552/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260409184048.3180731-2-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-2-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-09T18:40:47",
    "name": "[2/3] package/kodi: depend on host-openjdk-bin instead of selecting BR2_NEEDS_HOST_JAVA",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "03bd9aa6ad4fc0c8c1faa0f5533a0cdcf9e62834",
    "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-2-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/2221552/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221552/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=Sx3y1g2Z;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\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 4fs7zx35P2z1yCv\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 10 Apr 2026 04:40:59 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 6F8CD81A1C;\n\tThu,  9 Apr 2026 18:40:57 +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 EU4h4lQIDbHI; Thu,  9 Apr 2026 18:40:56 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 0DFF1818C4;\n\tThu,  9 Apr 2026 18:40:56 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 8AD50194\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:40:54 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 7029A4046E\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:40:54 +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 b1-J8OGHbqDM for <buildroot@buildroot.org>;\n Thu,  9 Apr 2026 18:40:53 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id D3B4D401C9\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 18:40:52 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6c238.dip0.t-ipconnect.de [79.214.194.56])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 47149A4C0E42\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-2yMQ\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 smtp1.osuosl.org 0DFF1818C4",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org D3B4D401C9"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775760056;\n\tbh=9qssHA+vCOZ8QHHHQ0j7hW8fyJJptAHDDFAGXQlucg0=;\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=Sx3y1g2ZgZd//mnizC7Pxm5+pLfwJKRZPVkjpatMsxKLDaiHLlcmPgSAVb2L/aMrz\n\t 82FlZk+nsoDuEn3tnVrWqMgqWfPz8jwPI5tIDQWoCm9TcLWPhJJiEoFfcr4pERTitl\n\t KBg5u3Iwz8s0KdYdv2kUaXEm8uxe3euXm/YGYhKZsDvTixa15CKbBpdwnJfKYBXjoC\n\t 62LSZ9sl0+WUApJlIuALU1P4AHp63ARkVmW7Mf/vMKFTpOtRkZVl7u5I5O8k7wh93b\n\t iaaOBbFL/taWBYDbgc1wxzQzky/YitUv6NuLM3HXblBCJE62k7O1xA5qbqkUr65fTz\n\t a4w+WAVKrk8Og==",
        "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 smtp2.osuosl.org D3B4D401C9",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu,  9 Apr 2026 20:40:47 +0200",
        "Message-ID": "<20260409184048.3180731-2-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=rsqAlh8S1TljFhhIiSBaSEfA4rFtoAVUSjdl1ut2qjY=;\n h=From:To:Subject:Date:In-Reply-To:From;\n b=TGns+hJr1eQtmipE3z0HQU45rQV9jXAiPYLrPVDzWzUhhUGtIlwmEEDiN+p6tANnH\n ZM1Ev0Zl2ccZxVFbRQcBUkRn/MuAqxZP+c8uCxTD8sFvWozp89JH36RD9Jt/3YcZQ0\n B5LnG+QQcZCWxOxcv13AzUl68p6giHiBAPgRAzO8ggFW2ycXMzwWIAePEtnXssR7JT\n VBkapdIHGRHQEDHedfDFfckYTmWjm68KYnDl9zr4FPKiUKSbYtdgMMfeVIYeEFLbIJ\n A7tpBYotZcRJGoYue/nGigbsGou1+IoZ5Bhrai1nG5Dsa6f8qtl8CAudKfI5FIK8qR\n 80MMsCL7apEWQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp2.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=TGns+hJr"
        ],
        "Subject": "[Buildroot] [PATCH 2/3] package/kodi: depend on host-openjdk-bin\n instead of selecting 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": "This patch removes the dependency on java being installed on the host,\ninstead we make use of our host-openjdk-bin package.\n\nBuild-tested using this defconfig\n\nBR2_x86_64=y\nBR2_TOOLCHAIN_EXTERNAL=y\nBR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y\nBR2_PACKAGE_KODI=y\nBR2_PACKAGE_MESA3D=y\nBR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y\nBR2_PACKAGE_MESA3D_OPENGL_EGL=y\nBR2_PACKAGE_MESA3D_OPENGL_ES=y\nBR2_PACKAGE_PYTHON3=y\nBR2_PACKAGE_PYTHON3_PY_ONLY=y\n\nby running 'utils/docker-run make kodi'.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/kodi/Config.in | 2 +-\n package/kodi/kodi.mk   | 2 ++\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/kodi/Config.in b/package/kodi/Config.in\nindex 9661ab47bc..391a687cbd 100644\n--- a/package/kodi/Config.in\n+++ b/package/kodi/Config.in\n@@ -1,6 +1,7 @@\n config BR2_PACKAGE_KODI_ARCH_SUPPORTS\n \tbool\n \tdefault y if BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS\n+\tdefault y if BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS\n \t# i386: needs sse (see upstream PR 10351)\n \tdepends on !(BR2_i386 && !BR2_X86_CPU_HAS_SSE)\n \tdepends on BR2_USE_MMU # libcdio, and others\n@@ -66,7 +67,6 @@ menuconfig BR2_PACKAGE_KODI\n \tdepends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS\n \tdepends on BR2_PACKAGE_PYTHON3\n \tdepends on !BR2_PACKAGE_PYTHON3_PYC_ONLY\n-\tselect BR2_NEEDS_HOST_JAVA\n \tselect BR2_HOST_CMAKE_AT_LEAST_3_24\n \tselect BR2_PACKAGE_FFMPEG\n \tselect BR2_PACKAGE_FFMPEG_GPL\ndiff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk\nindex 02feb17b4d..8c4666c2cb 100644\n--- a/package/kodi/kodi.mk\n+++ b/package/kodi/kodi.mk\n@@ -33,6 +33,7 @@ KODI_DEPENDENCIES = \\\n \thost-kodi-jsonschemabuilder \\\n \thost-kodi-texturepacker \\\n \thost-nasm \\\n+\thost-openjdk-bin \\\n \thost-swig \\\n \thost-xmlstarlet \\\n \tjpeg \\\n@@ -100,6 +101,7 @@ KODI_CONF_OPTS += \\\n \t-DDEPENDS_PATH=$(STAGING_DIR)/usr \\\n \t-DENABLE_TESTING=OFF \\\n \t-DENABLE_DEBUGFISSION=OFF \\\n+\t-DJAVA_HOME=$(HOST_OPENJDK_BIN_ROOT_DIR) \\\n \t-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \\\n \t-DPYTHON_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \\\n \t-DPYTHON_PATH=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) \\\n",
    "prefixes": [
        "2/3"
    ]
}