get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219894,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219894/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260405103851.2855053-1-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": "<20260405103851.2855053-1-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-05T10:38:47",
    "name": "[1/4] package/c-icap: fix musl build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b1bf8867a573c3baf42f71193210fa0296f2587d",
    "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/20260405103851.2855053-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 498770,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/498770/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498770",
            "date": "2026-04-05T10:38:47",
            "name": "[1/4] package/c-icap: fix musl build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498770/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219894/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219894/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=QKW9sAMA;\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 4fpTTf2lv1z1yCs\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sun, 05 Apr 2026 20:39:02 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id F1E0B81211;\n\tSun,  5 Apr 2026 10:38:59 +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 qRV9nSS7LoCi; Sun,  5 Apr 2026 10:38:59 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id E70288120C;\n\tSun,  5 Apr 2026 10:38:58 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id 0FF232EF\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 10:38:57 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id EBE3640060\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 10:38:56 +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 Kewe1mJT4lT2 for <buildroot@buildroot.org>;\n Sun,  5 Apr 2026 10:38:55 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 1458A4005B\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 10:38:54 +0000 (UTC)",
            "from fli4l.lan.fli4l (p5b3a012a.dip0.t-ipconnect.de [91.58.1.42])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 97492A4C33F0\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 12:38:51 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:53282)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1w9KsV-000000007LA-0zq9\n for buildroot@buildroot.org; Sun, 05 Apr 2026 10:38:51 +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 E70288120C",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1458A4005B"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775385539;\n\tbh=7ALWEzkJtt5JsB9NAa0AIUzKckTUKp/j6+KlzK8EwyI=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=QKW9sAMA1F2vZiFAamIqtZbV28blFqV6ssLjJxOqXWY+r/DcjvsCJeHinKc3228j2\n\t u8VThhrcUHBV6k2UeMIXa8RBGEBw79zADRZAgmQuNIzJ5I1WSZQsqr8KW74XvNaURW\n\t sgn8qJpCRT5CWGA5e6aRpAQr2nOgQpp4GN2jeScwH5hFhrg9Loo3sOQhJF8mNBgE2z\n\t n4eubSWiPOZQBlRUQzla1Hvfeg5CtkZWgna0/YiPqQokogjFBbDVbDCLXl+5ZPqFOw\n\t teaNR3K3azX4RKCyFQJhZ3BTL5pRij8IF+0VuSAfsQKjtKBMUkROIiUcl4yBBFPt11\n\t 4gjZ2ZuxnpI1g==",
        "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 1458A4005B",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  5 Apr 2026 12:38:47 +0200",
        "Message-ID": "<20260405103851.2855053-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=1775385531;\n bh=JAgcMVtTmqIJNMGKA5YoixTjoIRrAIIdQNnIdJIC4nU=;\n h=From:To:Subject:Date:From;\n b=DOEYqKrxcJlghesgke7qvZhsGHvQkvpOIdWZsyANT1IlQM0Cdx2QxzQTovUnQ3NTo\n KEzv93fJR/n4wjoDoAVRowst/RlyibHCegnbo+chHuC2qP1OjUmgMy5h4moHw3hlzy\n sYxM63srfArD5d+lS31X98kKdMlgIF5IJ5hSOMoDkA13kJIWQB6LLhuTmmqzf2M/A4\n SQQaSxPpVyT0K09XfFG7NfVvJWC3VsuY+NRdGjShpWMaCu8n/hFYe3LpxrcfJ2rDIg\n M2pkvGykEmZlXiFrOjXMxIzIGXnToCiPnNrkfbjRNzqgrQ/52HouqwSfI6lTVbuaGN\n L7LMTRroU5Iuw==",
        "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=DOEYqKrx"
        ],
        "Subject": "[Buildroot] [PATCH 1/4] package/c-icap: fix musl build",
        "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:\nhttps://autobuild.buildroot.net/results/33b/33bb3ea8ac36da7f40a82c580d3614f0b34a7ab2/\n\nThe oldest build error dates back to June 2024 so this patch should be\nbackported to LTS branches.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n ...ting-in-various-printf-to-avoid-warn.patch | 47 +++++++++++++++++++\n 1 file changed, 47 insertions(+)\n create mode 100644 package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch",
    "diff": "diff --git a/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch b/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch\nnew file mode 100644\nindex 0000000000..7183efa46f\n--- /dev/null\n+++ b/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch\n@@ -0,0 +1,47 @@\n+From 8ef8966237865ec699ab16d208ff56edaac4ff7b Mon Sep 17 00:00:00 2001\n+From: Christos Tsantilas <christos@chtsanti.net>\n+Date: Fri, 1 Nov 2019 08:00:52 -0700\n+Subject: [PATCH] Fix integer printing in various printf to avoid warnings\n+ about integer sizes\n+\n+Upstream: https://github.com/c-icap/c-icap-server/commit/8ef8966237865ec699ab16d208ff56edaac4ff7b\n+\n+[Bernd: partially backported to 0.5.10]\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+---\n+ mpmt_server.c | 8 ++++----\n+ 1 file changed, 4 insertions(+), 4 deletions(-)\n+\n+diff --git a/mpmt_server.c b/mpmt_server.c\n+index a30d55d4..9b178a66 100644\n+--- a/mpmt_server.c\n++++ b/mpmt_server.c\n+@@ -74,7 +74,7 @@ typedef struct server_decl {\n+ \n+ ci_thread_mutex_t threads_list_mtx;\n+ server_decl_t **threads_list = NULL;\n+-ci_thread_t listener_thread_id = -1;\n++ci_thread_t listener_thread_id;\n+ int listener_running = 0;\n+ \n+ ci_thread_cond_t free_server_cond;\n+@@ -242,8 +242,8 @@ static void cancel_all_threads()\n+         for (i=0; i<CI_CONF.THREADS_PER_CHILD; i++) {\n+             if (threads_list[i] != NULL) { /* if the i thread is still alive*/\n+                 if (!threads_list[i]->running) { /*if the i thread is not running any more*/\n+-                    ci_debug_printf(5, \"Cancel server %d, thread_id %lu (%d)\\n\",\n+-                                    threads_list[i]->srv_id, threads_list[i]->srv_pthread,\n++                    ci_debug_printf(5, \"Cancel server %\" PRIu64 \", thread_id %\" PRIu64 \" (%d)\\n\",\n++                                    (uint64_t)threads_list[i]->srv_id, (uint64_t)threads_list[i]->srv_pthread,\n+                                     i);\n+                     ci_thread_join(threads_list[i]->srv_pthread);\n+                     release_thread_i(i);\n+@@ -252,7 +252,7 @@ static void cancel_all_threads()\n+                     /*The thread is still running, and we have a timeout for waiting\n+                       the thread to exit. */\n+                     if (wait_for_workers <= 2) {\n+-                        ci_debug_printf(5, \"Thread %ld still running near the timeout. Try to kill it\\n\", threads_list[i]->srv_pthread);\n++\t\t        ci_debug_printf(5, \"Thread %\" PRIu64 \" still running near the timeout. Try to kill it\\n\", (uint64_t)threads_list[i]->srv_pthread);\n+                         pthread_kill( threads_list[i]->srv_pthread, SIGTERM);\n+                     }\n+                 }\n",
    "prefixes": [
        "1/4"
    ]
}