get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216942,
    "url": "http://patchwork.ozlabs.org/api/patches/2216942/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327112542.1173652-2-mooz@blockos.org/",
    "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": "<20260327112542.1173652-2-mooz@blockos.org>",
    "list_archive_url": null,
    "date": "2026-03-27T11:25:16",
    "name": "[v3] package/rwmem: bump to version 2.0",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "87e5bb813242c0af0224510f1711a2a8a4b310c6",
    "submitter": {
        "id": 92650,
        "url": "http://patchwork.ozlabs.org/api/people/92650/?format=api",
        "name": "Vincent Cruz",
        "email": "mooz@blockos.org"
    },
    "delegate": {
        "id": 89618,
        "url": "http://patchwork.ozlabs.org/api/users/89618/?format=api",
        "username": "juju",
        "first_name": "Julien",
        "last_name": "Olivain",
        "email": "juju@cotds.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327112542.1173652-2-mooz@blockos.org/mbox/",
    "series": [
        {
            "id": 497754,
            "url": "http://patchwork.ozlabs.org/api/series/497754/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497754",
            "date": "2026-03-27T11:25:16",
            "name": "[v3] package/rwmem: bump to version 2.0",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/497754/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216942/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216942/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=e/wkLUKB;\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 4fhz7b1QPpz1y1x\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 27 Mar 2026 22:34:19 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id B0A2C416D2;\n\tFri, 27 Mar 2026 11:34:16 +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 pirv5xF8sv9t; Fri, 27 Mar 2026 11:34:14 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D03B6416C3;\n\tFri, 27 Mar 2026 11:34:14 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id A0EF01D3\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 11:34:13 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 94A7383D93\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 11:34:13 +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 tHjDCUqxlyQQ for <buildroot@buildroot.org>;\n Fri, 27 Mar 2026 11:34:12 +0000 (UTC)",
            "from 11.mo534.mail-out.ovh.net (11.mo534.mail-out.ovh.net\n [46.105.33.174])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 09CB283D7F\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 11:34:11 +0000 (UTC)",
            "from director3.derp.mail-out.ovh.net\n (director3.derp.mail-out.ovh.net [152.228.215.222])\n by mo534.mail-out.ovh.net (Postfix) with ESMTPS id 4fhyy94QX9z69M0;\n Fri, 27 Mar 2026 11:26:09 +0000 (UTC)",
            "from director3.derp.mail-out.ovh.net\n (director3.derp.mail-out.ovh.net. [127.0.0.1])\n by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP\n for <mooz@blockos.org>; Fri, 27 Mar 2026 11:26:09 +0000 (UTC)",
            "from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.37.96])\n by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4fhyy93FYbz5vq0;\n Fri, 27 Mar 2026 11:26:09 +0000 (UTC)",
            "from blockos.org (unknown [10.1.6.8])\n (Authenticated sender: mooz@blockos.org)\n by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id\n 1899DB81520;\n Fri, 27 Mar 2026 11:26:09 +0000 (UTC)"
        ],
        "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 D03B6416C3",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 09CB283D7F"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774611254;\n\tbh=633qNYm/LuNJt6URKLfknNzCSqmasltZCuyDEiGM4Mk=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=e/wkLUKB+qfLj7heNHSM0b29Rg7lH44svYDX0SElFRKiHLBGe2tnynl/8+RTaw6WW\n\t ilu/b5HIsQXgUKKi0LfLC/hYlVLqWywyzISaOUAkAL7k6qH4DjXHBWQU6XbvX3t6Sv\n\t ByzSrmiOA4dpRe3vLcenzo9Gir/28754QvC/Hwwb0cvJgbsPtH7tEOJEG94TfDM48t\n\t FLdda84k0EIb7GzIse21O0xxhhuHajdYWmN5K/McmCbU5Hjy5mv0Ogwhrguq/wqtqZ\n\t 9SQVS+dotqTQhXCw/iYiKirRqdWV7uVQ4oz0ikkfE+B/F3IYk1Er7q/rnSaCy8DZKi\n\t IpnMrY9XlCMjA==",
        "X-Greylist": "delayed 479 seconds by postgrey-1.37 at util1.osuosl.org;\n Fri, 27 Mar 2026 11:34:11 UTC",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 09CB283D7F",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=46.105.33.174;\n helo=11.mo534.mail-out.ovh.net; envelope-from=mooz@blockos.org;\n receiver=<UNKNOWN>",
        "X-OVh-ClientIp": "213.36.7.12",
        "From": "Vincent Cruz <mooz@blockos.org>",
        "To": "buildroot@buildroot.org",
        "Cc": "Vincent Cruz <mooz@blockos.org>",
        "Date": "Fri, 27 Mar 2026 12:25:16 +0100",
        "Message-ID": "<20260327112542.1173652-2-mooz@blockos.org>",
        "X-Mailer": "git-send-email 2.51.0",
        "MIME-Version": "1.0",
        "x-ovh-tracer-id": "7588846851059534797",
        "X-VR-SPAMSTATE": "OK",
        "X-VR-SPAMSCORE": "0",
        "X-VR-SPAMCAUSE": "\n dmFkZTFsFkp7RVthOpPQFXGJoAH7qpmyVFJaL4K5g0pUHR2RjJYxCA3SgJwy+bcQNILhh8phmbytvLgmzDpJ7IlBb0j7ecKh999mBHO2sjsq9AUPg/jYyDYWeP921vAymthFPNqDFr548E52gXTK0G2jltTYVoJVXN6ujsgwlOHGQy1XW02aAZnVPvckrFKMECFQlFVNObjnoOpELke2GBO+QZIBbl5BGpDoWKDFNCoYpACHn2Cpd1/nmOnW/g1SX9KG2O313sJbddrPMzb1i/H1mI+nSl2RUXKvodv8Fsxl9tsDTA/sWZAHK9TkqQ35VVlwDrTKcR1bcOBx6pyO6PVgDuYPMQAfH9D7h8YYhG2VdE0G21JJhl7rhPOyo5QW546bsGl0VpB5kqp7Hw9R27Jm8hJq0HdXsPcfGi5KKaNfRlOfqBnceNCEqFVhJIZ+VH7NaW0U2nrMpuzSN3KKDVyopJV33CJzhE6TceBcYkVhrGkDXDmRbNGn5qf225+yI3JIno9YFd0IBAVurqg02fqiyCrThh0jxGQ4f7kryyDOOORESfcrFO7/5eKi5kkoLPA3Ycu7mAW9aE68ijHAgSiw4nL4PlEPDJuJvgG5PMYBUCZLhWEFq9zBrg4wmyM/V5KukxaXuvgbz21Nk8G6WnYvYRKPogsydHLTj2bsDGkLQ4w3+A",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=none (p=none dis=none)\n header.from=blockos.org",
            "garm.ovh; auth=pass\n (GARM-114S008cf7ae9d1-7f31-474d-864d-dcaa0b87b3ba,\n B548C52B33E4A2712BFB385F62670DC0A4297526) smtp.auth=mooz@blockos.org"
        ],
        "Subject": "[Buildroot] [PATCH v3] package/rwmem: bump to version 2.0",
        "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=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "For more details, see:\nhttps://github.com/tomba/rwmem/compare/c89bc9ad9...2.0\n\nSigned-off-by: Vincent Cruz <mooz@blockos.org>\n---\nChanges v2 -> v3:\n  - Add details and missing upstream informations to patch.\n\nChanges v1 -> v2:\n  - Add patch to fix compilation failure with musl libc.\n\n ...001-Fix-build-failure-with-musl-libc.patch | 50 +++++++++++++++++++\n package/rwmem/rwmem.hash                      |  3 +-\n package/rwmem/rwmem.mk                        |  3 +-\n 3 files changed, 53 insertions(+), 3 deletions(-)\n create mode 100644 package/rwmem/0001-Fix-build-failure-with-musl-libc.patch",
    "diff": "diff --git a/package/rwmem/0001-Fix-build-failure-with-musl-libc.patch b/package/rwmem/0001-Fix-build-failure-with-musl-libc.patch\nnew file mode 100644\nindex 0000000000..9d7c9adbf9\n--- /dev/null\n+++ b/package/rwmem/0001-Fix-build-failure-with-musl-libc.patch\n@@ -0,0 +1,50 @@\n+From 3730c3028a494536571c30d4d44df347e0886651 Mon Sep 17 00:00:00 2001\n+From: Vincent Cruz <mooz@blockos.org>\n+Date: Fri, 27 Mar 2026 11:16:36 +0100\n+Subject: [PATCH] Fix build failure with musl libc.\n+MIME-Version: 1.0\n+Content-Type: text/plain; charset=UTF-8\n+Content-Transfer-Encoding: 8bit\n+\n+Fixes the following build failure when using musl libc:\n+\n+../tests/test_data_generator.cpp: In lambda function:\n+../tests/test_data_generator.cpp:104:27: error: ‘htobe32’ was not declared in this scope; did you mean ‘htobe’?\n+  104 |         uint32_t be_val = htobe32(val);\n+      |                           ^~~~~~~\n+      |                           htobe\n+../tests/test_data_generator.cpp: In lambda function:\n+../tests/test_data_generator.cpp:109:27: error: ‘htobe64’ was not declared in this scope; did you mean ‘htobe’?\n+  109 |         uint64_t be_val = htobe64(val);\n+      |                           ^~~~~~~\n+      |                           htobe\n+\n+Upstream: N/A. The impacted file does not exist upstream.\n+\n+Signed-off-by: Vincent Cruz <mooz@blockos.org>\n+---\n+ tests/test_data_generator.cpp | 3 ++-\n+ 1 file changed, 2 insertions(+), 1 deletion(-)\n+\n+diff --git a/tests/test_data_generator.cpp b/tests/test_data_generator.cpp\n+index 39e1322..3676f19 100644\n+--- a/tests/test_data_generator.cpp\n++++ b/tests/test_data_generator.cpp\n+@@ -2,6 +2,7 @@\n+ \n+ #include <algorithm>\n+ #include <cstring>\n++#include <endian.h>\n+ \n+ // Constants from regfiledata.h\n+ static const uint32_t RWMEM_MAGIC = 0x00e11554;\n+@@ -169,4 +170,4 @@ std::vector<uint8_t> TestRegisterFileBuilder::build() {\n+     }\n+ \n+     return data;\n+-}\n+\\ No newline at end of file\n++}\n+-- \n+2.51.0\n+\ndiff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash\nindex da74002cb4..8b73f662ea 100644\n--- a/package/rwmem/rwmem.hash\n+++ b/package/rwmem/rwmem.hash\n@@ -1,2 +1,3 @@\n-sha256  e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f  rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz\n+# Locally calculated\n+sha256  d10639f563100c819202337c4d4df57db11c2fcd59a19b0c68e34b8eb9aa1d01  rwmem-2.0.tar.gz\n sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE\ndiff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk\nindex d6ef05193b..1259b5503f 100644\n--- a/package/rwmem/rwmem.mk\n+++ b/package/rwmem/rwmem.mk\n@@ -4,11 +4,10 @@\n #\n ################################################################################\n \n-RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1\n+RWMEM_VERSION = 2.0\n RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION))\n RWMEM_LICENSE = GPL-2.0\n RWMEM_LICENSE_FILES = LICENSE\n-RWMEM_CONF_OPTS = -Dpyrwmem=disabled\n RWMEM_DEPENDENCIES = host-pkgconf fmt inih\n \n $(eval $(meson-package))\n",
    "prefixes": [
        "v3"
    ]
}