get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219403,
    "url": "http://patchwork.ozlabs.org/api/patches/2219403/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260403-fix_faketime-v1-1-3e35e7b9c419@bootlin.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/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": "<20260403-fix_faketime-v1-1-3e35e7b9c419@bootlin.com>",
    "list_archive_url": null,
    "date": "2026-04-02T22:44:43",
    "name": "[2025.02.x] package/faketime: rebase patch on v0.9.10",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a5afbe2ad32b4e16ca13e2bc91f6f17580290bbb",
    "submitter": {
        "id": 88282,
        "url": "http://patchwork.ozlabs.org/api/people/88282/?format=api",
        "name": "Thomas Bonnefille",
        "email": "thomas.bonnefille@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260403-fix_faketime-v1-1-3e35e7b9c419@bootlin.com/mbox/",
    "series": [
        {
            "id": 498558,
            "url": "http://patchwork.ozlabs.org/api/series/498558/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498558",
            "date": "2026-04-02T22:44:43",
            "name": "[2025.02.x] package/faketime: rebase patch on v0.9.10",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498558/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219403/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219403/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=pZzKCGa5;\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 4fmxlM0vJNz1xtJ\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 03 Apr 2026 09:45:33 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D57C240D84;\n\tThu,  2 Apr 2026 22:45:30 +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 NxUbpwmnI18j; Thu,  2 Apr 2026 22:45:29 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id B082140D3E;\n\tThu,  2 Apr 2026 22:45:29 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id EAB392A2\n for <buildroot@buildroot.org>; Thu,  2 Apr 2026 22:45:28 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id C6C93607CA\n for <buildroot@buildroot.org>; Thu,  2 Apr 2026 22:45:28 +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 5pPJzEtQBIfw for <buildroot@buildroot.org>;\n Thu,  2 Apr 2026 22:45:28 +0000 (UTC)",
            "from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n by smtp3.osuosl.org (Postfix) with ESMTPS id AED3660777\n for <buildroot@buildroot.org>; Thu,  2 Apr 2026 22:45:26 +0000 (UTC)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id D8E11C59F4F\n for <buildroot@buildroot.org>; Thu,  2 Apr 2026 22:45:55 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 1DE29602CD;\n Thu,  2 Apr 2026 22:45:24 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id E4F651045030D;\n Fri,  3 Apr 2026 00:45:21 +0200 (CEST)"
        ],
        "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 B082140D3E",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org AED3660777"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775169929;\n\tbh=fqknkern2l5BA05akNnD7dcrOxTAiBjua4dD1adDghQ=;\n\th=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=pZzKCGa5HfV2FRNR6j2YYOjvDInz/73KxLWmOC084Xz7MaVswxrvLRRJWvyB6s0HT\n\t P35S8RavEMsHbudh80+AGoccy6600QAymTpN1KyjYH6SMzoTUa2IbIlMz8XBQVb+oj\n\t gUAdSS+4T6xZWrcLXCDTvqNXz4DcQF5VHD82nS5hCIwa91ynjaJ5yqjPgwumfMJFQ1\n\t 3Pt2ZgXisIos+y1P/t8DcJnyWuLlvwX0Y5nRu84M55C3jlFDratQDetmA7WDQnJP4Z\n\t G/n4RjtT7NL+OEPd72OLvE9KQbXiVkC2MENeV0amZV8F7MlVB9M5x+C1iomPCB7GVZ\n\t b3ZGEOTfnYe5g==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=185.171.202.116;\n helo=smtpout-04.galae.net; envelope-from=thomas.bonnefille@bootlin.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org AED3660777",
        "Date": "Fri, 03 Apr 2026 00:44:43 +0200",
        "MIME-Version": "1.0",
        "Message-Id": "<20260403-fix_faketime-v1-1-3e35e7b9c419@bootlin.com>",
        "X-B4-Tracking": "v=1; b=H4sIAAAAAAAC/yWMUQqDMBAFryL73UhcbcFepYgY89JuRSuJiiDe3\n Wg/h2FmowAvCPRMNvJYJMhviJDdEmo/zfCGEhuZWPNDFzpXTtbaNR0m6aHYlNY6g6xkUExGj+i\n v3etM7qnmdKXqr8Jsvminc0f7fgDbgMX9ewAAAA==",
        "X-Change-ID": "20260403-fix_faketime-2b9ddfbe192e",
        "To": "buildroot@buildroot.org",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>, =?utf-8?q?Miqu=C3=A8l_R?=\n\t=?utf-8?q?aynal?= <miquel.raynal@bootlin.com>,\n  Thomas Bonnefille <thomas.bonnefille@bootlin.com>,\n  Bernd Kuhls <bernd@kuhls.net>",
        "X-Mailer": "b4 0.15.1",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bootlin.com; s=dkim;\n t=1775169923; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding; bh=APXkCluo5N8ElzDlkESR4el7/JfTCUwB8cvCyfOopzA=;\n b=rRINVBqaSy8YuyacuiutYfPSRsQ2RjNOIrjVD8SdB5IWPvBVyTVS2qftCfNjBk6GRD8nKO\n xULD/7voBJWWJRneq7VHArhrXDqvL2G1r7fcnb9RoXXtRp7wC+sCQPuJGNIMp42bAq31qg\n B6/WwiMAxfal3BQmYH5Eg2QRmnJHil2Sijmb7ldKzIPj758nN/jOJaFknZNylk0sfJ80G2\n i5cN9B0SmZfxc8TWy2C9XdHbR0vMf9x89d4UtCmfBKa1KJZky73QbNxxuGY0CAmPaZYABY\n OyBMDfYFh7q9yDD+VWwFsS6KJB6Xod42Hp6JH6vdk3V/7dE9Y+jge87IaqSWGw==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bootlin.com",
            "smtp3.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=rRINVBqa"
        ],
        "Subject": "[Buildroot] [PATCH 2025.02.x] package/faketime: rebase patch on\n v0.9.10",
        "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>",
        "From": "Thomas Bonnefille via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Thomas Bonnefille <thomas.bonnefille@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "As of glibc 2.43, faketime build was broken in buildroot because of a\nmissing const qualifier. A patch was applied to it in master to fix this\nissue.\nSadly, due to a difference in faketime version between master (v0.9.12) and\n2025.02.x (v0.9.10), the patch didn't apply properly in 2025.02.x.\n\nRebase the faketime patch on v0.9.10.\nFixes:\nhttps://autobuild.buildroot.org/results/761/761250e8cbb2602abdc7752d182a44b6f7de5e11\n\nSigned-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>\n---\n ...onst-qualifiers-to-fix-build-with-ISO-C23.patch | 23 ++++++++--------------\n 1 file changed, 8 insertions(+), 15 deletions(-)\n\n\n---\nbase-commit: 894ab931e1edcb2171e6c09c8efc70dd546ab52e\nchange-id: 20260403-fix_faketime-2b9ddfbe192e\n\nBest regards,\n--  \nThomas Bonnefille <thomas.bonnefille@bootlin.com>",
    "diff": "diff --git a/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch\nindex ce84d40699..c889dfae29 100644\n--- a/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch\n+++ b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch\n@@ -1,4 +1,4 @@\n-From dbe865dfdba0145d993d70b7fd4ec88b2f47554b Mon Sep 17 00:00:00 2001\n+From 1f4f260977a7fcd09fb71b83ee64c4d87b868441 Mon Sep 17 00:00:00 2001\n From: Tomas Korbar <tkorbar@redhat.com>\n Date: Mon, 15 Dec 2025 11:03:21 +0100\n Subject: [PATCH] Add const qualifiers to fix build with ISO C23\n@@ -8,15 +8,17 @@ Fix https://github.com/wolfcw/libfaketime/issues/524\n Upstream: https://github.com/wolfcw/libfaketime/commit/dbe865dfdba0145d993d70b7fd4ec88b2f47554b\n \n Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+[Thomas: Rebased for version v0.9.10]\n+Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>\n ---\n- src/libfaketime.c | 4 ++--\n- 1 file changed, 2 insertions(+), 2 deletions(-)\n+ src/libfaketime.c | 2 +-\n+ 1 file changed, 1 insertion(+), 1 deletion(-)\n \n diff --git a/src/libfaketime.c b/src/libfaketime.c\n-index ef1dca9..02839c8 100644\n+index e632395..955cf3c 100644\n --- a/src/libfaketime.c\n +++ b/src/libfaketime.c\n-@@ -2666,7 +2666,7 @@ int timespec_get(struct timespec *ts, int base)\n+@@ -2365,7 +2365,7 @@ int timespec_get(struct timespec *ts, int base)\n  static void parse_ft_string(const char *user_faked_time)\n  {\n    struct tm user_faked_time_tm;\n@@ -25,15 +27,6 @@ index ef1dca9..02839c8 100644\n    char * nstime_str;\n  \n    if (!strncmp(user_faked_time, user_faked_time_saved, BUFFERLEN))\n-@@ -3338,7 +3338,7 @@ static void prepare_config_contents(char *contents)\n- bool str_array_contains(const char *haystack, const char *needle)\n- {\n-   size_t needle_len = strlen(needle);\n--  char *pos = strstr(haystack, needle);\n-+  const char *pos = strstr(haystack, needle);\n-   while (pos) {\n-     if (pos == haystack || *(pos - 1) == ',') {\n-       char nextc = *(pos + needle_len);\n -- \n-2.47.3\n+2.53.0\n \n",
    "prefixes": [
        "2025.02.x"
    ]
}