Show a patch.

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

{
    "id": 20762,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/20762/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/20762/",
    "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": "<20240804205544.2500138-2-slyich@gmail.com>",
    "date": "2024-08-04T20:55:44",
    "name": "[v2,2/2] libcamera: add missing <stdint.h> include to internal/yaml_parser.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cbc595f6b31010548d543fe5a7b7f331d7f6a9c8",
    "submitter": {
        "id": 203,
        "url": "https://patchwork.libcamera.org/api/1.1/people/203/?format=api",
        "name": "Sergei Trofimovich",
        "email": "slyich@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/20762/mbox/",
    "series": [
        {
            "id": 4483,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4483/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4483",
            "date": "2024-08-04T20:55:43",
            "name": "[v2,1/2] libcamera: add missing <stdint.h> include to base/file.h",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4483/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/20762/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/20762/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 5404DC323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  4 Aug 2024 20:56:02 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7E7856195E;\n\tSun,  4 Aug 2024 22:55:59 +0200 (CEST)",
            "from mail-wr1-x431.google.com (mail-wr1-x431.google.com\n\t[IPv6:2a00:1450:4864:20::431])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1C9486195E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  4 Aug 2024 22:55:58 +0200 (CEST)",
            "by mail-wr1-x431.google.com with SMTP id\n\tffacd0b85a97d-36bd70f6522so535974f8f.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 04 Aug 2024 13:55:58 -0700 (PDT)",
            "from nz.home ([2a00:23c8:a613:101:984c:8b0c:b2fc:a03])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-36bbcf0c2f3sm7819992f8f.10.2024.08.04.13.55.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 04 Aug 2024 13:55:57 -0700 (PDT)",
            "by nz.home (Postfix, from userid 1000)\n\tid AE6FA1ECE1C841; Sun, 04 Aug 2024 21:55:56 +0100 (BST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"cgGRYmsZ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20230601; t=1722804958; x=1723409758;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=65JpkEfpoNnUVXbI5RjM8GAA+30xpa3NMioqJeOZ6/8=;\n\tb=cgGRYmsZAdHmDEiSbsABSkzussD11rzZVXEGkhMfYYzKlyBQeoEu0t4twNVKK5K+6O\n\t/c7kkxaUBGa7RvRqIoAfh+WK/KxBjO4+VESpZig0/0cuURmxerq6O7nwZ9gBTvn/pYXM\n\ticXnBliPAmDLFg1LcH38rY0CGoYDvy1JBPLq85xrJI9HiI2ck3wX4MtkzOBcMgfGv30G\n\tFnUDZGZyt655Z0g1VEVZIcUUVk/YcQ1pPX9rEh5syw4lwpP4OYLE6M85TVVh4L5ARY41\n\tuFFXyvCsy9gK4VEcZBzN6wz4fUMhC11bxVtCj4CSbjPMRxYOyd7y+3t0qeEgE5JKdIjI\n\tp4zw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1722804958; x=1723409758;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=65JpkEfpoNnUVXbI5RjM8GAA+30xpa3NMioqJeOZ6/8=;\n\tb=tvcvvmly9N/T4eKzAY3y0Jqj3iPH4niIVlrsFu3HgkowEYInhVoE/DUzWj/JhseIoC\n\tP1JixJ0rs1IUcq6S+8WL/rdrE2gPyXJMruQiuXQKD9VnqJJ6Y+7d+wCU+m5xQxXtEnHQ\n\tgGYtBZKt/Gw6WeY+5VaKoe96qVqYJIVSe7cMiLlT0HF0Tt9RwfrzbV3bX0RUqpa606wD\n\tVH/34jzwAsEuFwUCvXGL+jxSs0JKJvgn9xaXwk3tYouumI/jnFa8LwDSVTKZs2hccX2u\n\tx/mr/hEWwEIHs24gS774KwDOekU9zaBrHGkjvvitJJcX0ohTmcQQ8FhkEH9s5maSXvBU\n\tK5Dg==",
        "X-Forwarded-Encrypted": "i=1;\n\tAJvYcCXZwtfRtUvkS5OWSy9vg34W/EQ5W3arSPnDbmlzlzyoDw3vgEfD70UrkZdl6k9Fywp5uKZBqbkN52zEgYQqixPTscJkwvTicTlpLfdGdGOpvb/m2A==",
        "X-Gm-Message-State": "AOJu0YwFszI2TM7x89A5imlNRJjDwEWu8BexbfJlbY1j7OXsALlZ7NAl\n\tttYW4c4nS5rgiyQg4uQglhOYypmnBl+ieFOJg3Xen3Fxii/j6Mbb97FPew==",
        "X-Google-Smtp-Source": "AGHT+IHKzMPtS3QhhWIMbplQfIsvePB75Ch0KpG+TqaWH6mKNsj4YgYGby5Xf3dNUS6+Ecs1QUI/1A==",
        "X-Received": "by 2002:adf:f08c:0:b0:367:f054:7aba with SMTP id\n\tffacd0b85a97d-36bbc14aabcmr5804567f8f.41.1722804957435; \n\tSun, 04 Aug 2024 13:55:57 -0700 (PDT)",
        "From": "Sergei Trofimovich <slyich@gmail.com>",
        "To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org",
        "Cc": "Sergei Trofimovich <slyich@gmail.com>",
        "Subject": "[PATCH v2 2/2] libcamera: add missing <stdint.h> include to\n\tinternal/yaml_parser.h",
        "Date": "Sun,  4 Aug 2024 21:55:44 +0100",
        "Message-ID": "<20240804205544.2500138-2-slyich@gmail.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "In-Reply-To": "<20240804205544.2500138-1-slyich@gmail.com>",
        "References": "<20240804114336.GK3319@pendragon.ideasonboard.com>\n\t<20240804205544.2500138-1-slyich@gmail.com>",
        "MIME-Version": "1.0",
        "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": "Without the change the build fails on upcoming `gcc-15` as:\n\n    In file included from ../src/libcamera/yaml_parser.cpp:8:\n    ../include/libcamera/internal/yaml_parser.h:183:41: error: 'uint8_t' was not declared in this scope\n      183 |                          std::is_same_v<uint8_t, T> ||\n          |                                         ^~~~~~~\n\nSigned-off-by: Sergei Trofimovich <slyich@gmail.com>\n---\n include/libcamera/internal/yaml_parser.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h\nindex e38a2df9..f8e4f841 100644\n--- a/include/libcamera/internal/yaml_parser.h\n+++ b/include/libcamera/internal/yaml_parser.h\n@@ -7,6 +7,8 @@\n \n #pragma once\n \n+#include <stdint.h>\n+\n #include <iterator>\n #include <map>\n #include <optional>\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}