Show a patch.

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

{
    "id": 25633,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25633/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25633/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260106165754.1759831-4-barnabas.pocze@ideasonboard.com>",
    "date": "2026-01-06T16:57:35",
    "name": "[v4,03/22] libcamera: base: Add file for C++20 polyfills",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3fb042d72746a838fcbd5d24f70445dbabf24179",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/1.1/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/25633/mbox/",
    "series": [
        {
            "id": 5688,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5688/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5688",
            "date": "2026-01-06T16:57:32",
            "name": "libcamera: Add `MetadataList`",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/5688/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25633/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25633/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 98D56BDCBF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  6 Jan 2026 16:58:10 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DD63B61FBC;\n\tTue,  6 Jan 2026 17:58:02 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A4B9F61FBB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  6 Jan 2026 17:57:58 +0100 (CET)",
            "from pb-laptop.local (185.221.143.114.nat.pool.zt.hu\n\t[185.221.143.114])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A1810581;\n\tTue,  6 Jan 2026 17:57:37 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"kgqg4ARy\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1767718657;\n\tbh=HpL9nwKiEV/kFGATM9qZ6WShd3CqncqXLsxA9TlcVKc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=kgqg4ARygsdzxvcIvgl6H2WKbAXnD7scx1u8zAVdakQWT4okjoJ5l8qSFhViC035a\n\tBmpy8m7Rm8vGMps2YgvH14iCTZ5ftDtNaQQWg7/aBASBqFzIKV//8E5Ef1ulCziENZ\n\tnoGuIZ01CvwV8MPmGAWe9wrNs7BcsbUJpHpnhoiE=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "Subject": "[PATCH v4 03/22] libcamera: base: Add file for C++20 polyfills",
        "Date": "Tue,  6 Jan 2026 17:57:35 +0100",
        "Message-ID": "<20260106165754.1759831-4-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260106165754.1759831-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20260106165754.1759831-1-barnabas.pocze@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Add `cxx20.h` that will contain (possibly limited) C++17 implementations\nof some C++20 standard library features.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\nAcked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n include/libcamera/base/internal/cxx20.h | 18 ++++++++++++++++++\n include/libcamera/base/meson.build      |  7 +++++++\n 2 files changed, 25 insertions(+)\n create mode 100644 include/libcamera/base/internal/cxx20.h",
    "diff": "diff --git a/include/libcamera/base/internal/cxx20.h b/include/libcamera/base/internal/cxx20.h\nnew file mode 100644\nindex 000000000..70a43f83c\n--- /dev/null\n+++ b/include/libcamera/base/internal/cxx20.h\n@@ -0,0 +1,18 @@\n+/* SPDX-License-Identifier: LGPL-2.1-or-later */\n+/*\n+ * Copyright (C) 2025, Ideas on Board Oy\n+ *\n+ * C++20 polyfills\n+ */\n+\n+#pragma once\n+\n+/**\n+ * \\internal\n+ * \\file cxx20.h\n+ * \\brief C++17 implementations of certain C++20 types and functions\n+ */\n+\n+namespace libcamera::internal::cxx20 {\n+\n+} /* namespace libcamera::internal::cxx20 */\ndiff --git a/include/libcamera/base/meson.build b/include/libcamera/base/meson.build\nindex f84b51419..bb4ed556b 100644\n--- a/include/libcamera/base/meson.build\n+++ b/include/libcamera/base/meson.build\n@@ -32,10 +32,17 @@ libcamera_base_private_headers = files([\n     'utils.h',\n ])\n \n+libcamera_base_internal_headers = files([\n+    'internal/cxx20.h',\n+])\n+\n libcamera_base_headers = [\n     libcamera_base_public_headers,\n     libcamera_base_private_headers,\n+    libcamera_base_internal_headers,\n ]\n \n install_headers(libcamera_base_public_headers,\n                 subdir : libcamera_base_include_dir)\n+install_headers(libcamera_base_internal_headers,\n+                subdir : libcamera_base_include_dir / 'internal')\n",
    "prefixes": [
        "v4",
        "03/22"
    ]
}