Show a patch.

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

{
    "id": 23484,
    "url": "https://patchwork.libcamera.org/api/patches/23484/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23484/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20250606164156.1442682-4-barnabas.pocze@ideasonboard.com>",
    "date": "2025-06-06T16:41:36",
    "name": "[RFC,v1,03/23] libcamera: base: Add file for C++20 polyfills",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "428c2af01a893fcf51ec7964c5ecc907e2167a65",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/23484/mbox/",
    "series": [
        {
            "id": 5210,
            "url": "https://patchwork.libcamera.org/api/series/5210/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5210",
            "date": "2025-06-06T16:41:33",
            "name": "libcamera: Add `MetadataList`",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5210/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23484/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23484/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 E42B8C31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  6 Jun 2025 16:42:32 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 07B9F68DDB;\n\tFri,  6 Jun 2025 18:42:32 +0200 (CEST)",
            "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 D29EE68DBE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  6 Jun 2025 18:42:15 +0200 (CEST)",
            "from pb-laptop.local (185.182.215.79.nat.pool.zt.hu\n\t[185.182.215.79])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 622836DC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  6 Jun 2025 18:42:11 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"Z4IoEY6v\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1749228131;\n\tbh=WY6KFl2rgYpr40FhHWFsbmNFUR8W4o5Hraxny1j+k6I=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=Z4IoEY6vDH8n54obIheVvyDI2KcMmYGKMlPOv8/Ku3nZHGjEth/zx1zdNjBsoU8bg\n\tAjs/z+xfhAPRX410YIkwO308lshbAxgSiq3y++UPCymtYbFMxVUyJNd6/IOBTqLQiK\n\tA10fClcfuAgE4RH7vfuTrKIXm2XDlL+MBBJ7kfFE=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[RFC PATCH v1 03/23] libcamera: base: Add file for C++20 polyfills",
        "Date": "Fri,  6 Jun 2025 18:41:36 +0200",
        "Message-ID": "<20250606164156.1442682-4-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.49.0",
        "In-Reply-To": "<20250606164156.1442682-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20250606164156.1442682-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>\n---\n include/libcamera/base/details/cxx20.h | 12 ++++++++++++\n include/libcamera/base/meson.build     |  1 +\n 2 files changed, 13 insertions(+)\n create mode 100644 include/libcamera/base/details/cxx20.h",
    "diff": "diff --git a/include/libcamera/base/details/cxx20.h b/include/libcamera/base/details/cxx20.h\nnew file mode 100644\nindex 000000000..0d6173d1b\n--- /dev/null\n+++ b/include/libcamera/base/details/cxx20.h\n@@ -0,0 +1,12 @@\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+namespace libcamera::details::cxx20 {\n+\n+} /* namespace libcamera::details::cxx20 */\ndiff --git a/include/libcamera/base/meson.build b/include/libcamera/base/meson.build\nindex f28ae4d42..9b93b89c3 100644\n--- a/include/libcamera/base/meson.build\n+++ b/include/libcamera/base/meson.build\n@@ -5,6 +5,7 @@ libcamera_base_include_dir = libcamera_include_dir / 'base'\n libcamera_base_public_headers = files([\n     'bound_method.h',\n     'class.h',\n+    'details/cxx20.h',\n     'flags.h',\n     'object.h',\n     'shared_fd.h',\n",
    "prefixes": [
        "RFC",
        "v1",
        "03/23"
    ]
}