get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224809,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2224809/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260418215536.55054-2-bernd@kuhls.net/",
    "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": "<20260418215536.55054-2-bernd@kuhls.net>",
    "date": "2026-04-18T21:55:35",
    "name": "[2/3] package/jemalloc: needs MMU",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fef886c39875f50bc487ce6bb1afb9cff2afde37",
    "submitter": {
        "id": 86624,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/86624/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd@kuhls.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260418215536.55054-2-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 500469,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/500469/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=500469",
            "date": "2026-04-18T21:55:34",
            "name": "[1/3] package/jemalloc: fix build on m68k/uClibc",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500469/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224809/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224809/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=LHYcXdFk;\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 4fyltq5RjKz1yGs\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sun, 19 Apr 2026 07:56:03 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 0048F813E9;\n\tSat, 18 Apr 2026 21:55:56 +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 2Z3b7LYdBExW; Sat, 18 Apr 2026 21:55:54 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 1BFA3813C5;\n\tSat, 18 Apr 2026 21:55:54 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id 8A73B35B\n for <buildroot@buildroot.org>; Sat, 18 Apr 2026 21:55:52 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 7BB8740B96\n for <buildroot@buildroot.org>; Sat, 18 Apr 2026 21:55:52 +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 rubFoYothQoI for <buildroot@buildroot.org>;\n Sat, 18 Apr 2026 21:55:51 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 35CE840B93\n for <buildroot@buildroot.org>; Sat, 18 Apr 2026 21:55:51 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6cc94.dip0.t-ipconnect.de\n [79.214.204.148])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 51AF6A4C377A;\n Sat, 18 Apr 2026 23:55:37 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:47536)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wEDdY-000000005tT-4Bi6;\n Sat, 18 Apr 2026 21:55:37 +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 1BFA3813C5",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 35CE840B93"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776549354;\n\tbh=OQFIEPgMwqjKIHXtvGf3qUv5eN0a7M2UK3yyG2EDoW8=;\n\th=From:To:Cc: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=LHYcXdFkH1IZ8TFVyfSRNYFTsu5LS8jCfm3oAE98DpxH4f1e4q7g8oLYo8CGxH5Ob\n\t YYG1qPCeSmwo7lfrMN3VV9+LH5ismR3bzp2MGpsDOoTnoDSIMfbGqP1iPGnU538vgj\n\t 9wbSrFYMOBMowmaBrrGcL6/C1n4gfFumvwbv+vVZGHE7SdUqtBSNYr6ZjNVpqdHIGN\n\t pUhRRe+h86pr3sHLKdI2goGke2Lf4sdSAIgJO9mq9c7zQR8+jOg0ezG9u3ensCvZ/J\n\t RrKqrfIseLSgy16JtkZqyxZccx8OsvbOdHknZ2cq4zeE+33SRSreqxQCb/iU+8Qnjh\n\t EGthPsNvdHWtA==",
        "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 35CE840B93",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>",
        "Date": "Sat, 18 Apr 2026 23:55:35 +0200",
        "Message-ID": "<20260418215536.55054-2-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260418215536.55054-1-bernd@kuhls.net>",
        "References": "<20260418215536.55054-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=1776549337;\n bh=MJPFH20y7z0xPcTuZNHA+A4vt77LL66zrMwOZmrnou8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:From;\n b=lgI5h2iInwhXWzVL2aME2U6Gu97VfOAJBQmqHwJwxw1uBrLEczHFsrkO6eocecF2i\n /wf8ZnMbywcmfpNAMJlRoah2X7+h3kaBHDrCfWYBaQxqxtHEoYnREFpGZQWIubnDWB\n 8Yj3tseKaTMxixEtG9hQnQ5yTLdRmj9MVY5rFdHgW1ncGsvUsqb+lgDHLaQuMubGHd\n X3PVfrmk7GRGlLGjBuZeISOEm3gEgP2yvVtRoWNjrIWccWmYQxnzuYmx+fzhgKvmcE\n nxoZY//LNImqbvRoZ0g7g4ine9d9Cs985JA88bLluyGK6yfe4EwQCcJ5b/daAHRYyu\n 6VtuK5U5nr8/g==",
        "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=lgI5h2iI"
        ],
        "Subject": "[Buildroot] [PATCH 2/3] package/jemalloc: needs MMU",
        "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": "src/pages.c:79:33: error: 'MADV_DONTNEED' undeclared (first use in this\n function)\n   79 |         if (madvise(addr, size, MADV_DONTNEED) == 0) {\n\nThe oldest build error found in the autobuilder logs dates back to 2024:\nhttps://autobuild.buildroot.net/results/adf/adf52f767c92ab1db7b817094a3929f3cf918e82/\nso a backport to LTS branches should be considered.\n\nFixes:\nhttps://autobuild.buildroot.net/results/d6a/d6a9f7ff9d29eee9d9280364f872ffaa1544f192/\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/jemalloc/Config.in | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in\nindex a128b8b376..ace3dccd1e 100644\n--- a/package/jemalloc/Config.in\n+++ b/package/jemalloc/Config.in\n@@ -16,6 +16,7 @@ config BR2_PACKAGE_JEMALLOC\n \tbool \"jemalloc\"\n \tdepends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS\n \tdepends on BR2_TOOLCHAIN_HAS_THREADS\n+\tdepends on BR2_USE_MMU # madvise()\n \thelp\n \t  This library providing a malloc(3) implementation that\n \t  emphasizes fragmentation avoidance and scalable concurrency\n@@ -25,4 +26,5 @@ config BR2_PACKAGE_JEMALLOC\n \n comment \"jemalloc needs a toolchain w/ threads\"\n \tdepends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS\n+\tdepends on BR2_USE_MMU\n \tdepends on !BR2_TOOLCHAIN_HAS_THREADS\n",
    "prefixes": [
        "2/3"
    ]
}