Show a patch.

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

{
    "id": 20755,
    "url": "https://patchwork.libcamera.org/api/patches/20755/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/20755/",
    "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": "<20240804060400.2790695-2-slyich@gmail.com>",
    "date": "2024-08-04T06:04:00",
    "name": "[2/2] include/libcamera/internal/yaml_parser.h: add missing <stdint.h> include",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "cbc595f6b31010548d543fe5a7b7f331d7f6a9c8",
    "submitter": {
        "id": 203,
        "url": "https://patchwork.libcamera.org/api/people/203/?format=api",
        "name": "Sergei Trofimovich",
        "email": "slyich@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/20755/mbox/",
    "series": [
        {
            "id": 4479,
            "url": "https://patchwork.libcamera.org/api/series/4479/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4479",
            "date": "2024-08-04T06:03:59",
            "name": "[1/2] include/libcamera/base/file.h: add missing <stdint.h> include",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4479/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/20755/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/20755/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 E9B7BC323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  4 Aug 2024 10:59:43 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EFD0D63380;\n\tSun,  4 Aug 2024 12:59:41 +0200 (CEST)",
            "from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n\t[IPv6:2a00:1450:4864:20::32e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 82A046337D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  4 Aug 2024 08:04:34 +0200 (CEST)",
            "by mail-wm1-x32e.google.com with SMTP id\n\t5b1f17b1804b1-428178fc07eso59778275e9.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 03 Aug 2024 23:04:34 -0700 (PDT)",
            "from nz.home ([2a00:23c8:a613:101:c6ba:9f80:f15f:da2c])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4282bb64006sm148862755e9.30.2024.08.03.23.04.33\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 03 Aug 2024 23:04:33 -0700 (PDT)",
            "by nz.home (Postfix, from userid 1000)\n\tid 03A631ECC58D29; Sun, 04 Aug 2024 07:04:33 +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=\"mDiRAzdI\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20230601; t=1722751474; x=1723356274;\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=ZQH06umst1vpCCCQA+mZZGcHZyEeON547J4Y/sFncTo=;\n\tb=mDiRAzdIq5vNKZDIuRGai8bEBxjgFmKtmH9H2+BggSkvQ7ZQh4r3MSpm1t/2w8OSUV\n\t25gjbrOV7myVPHsx69chPlA/tvg2TLC8FVJBP8cxu71Tj8WJH/lf5R5XfjOd5jod4G9m\n\t44wCwrmbCH1d7C4Aae96ThKHSSfcsBl76Jp/t6Ldqp94LvH0PJvNzEewIcu3g2U09uwG\n\t/7Wp+bVpO55higenQQzxzSXF6LzSZnPN7fecFab/Uy6HFZIm1iFSoVhlTMZOtLSDqh3Y\n\tdzRNdG4x0uTXXXIoUCp+OcfXFixDueaD1FBimxjpUlIKp/5obFhnKb9iYdcnWrZVAssr\n\t090A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1722751474; x=1723356274;\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=ZQH06umst1vpCCCQA+mZZGcHZyEeON547J4Y/sFncTo=;\n\tb=cBGIAHjjqhPoKNr292z1ft6rI6QUSKPtfBUI6cV/mDDDldoAnyHJ3DBeJlt2pyXQBq\n\tlSxeqOF3fFEaA8hUWKNNpaB1d+5mHulR84elOh1K0PClu5b5DH3vgV3n0NCXdmkGpTg9\n\tLoBovgSi6exQCwb553Z6BL80KQw6KSajZq/JTEUfpdgklN5f6cTSl3ubpZ5pKG3s4AJS\n\tlNTlrWZEEeGD8ReZ5HiOSuLffCojJ12xUBwBD1InWE9EC/Cghx/82bnVUdmKC6p0y1P4\n\toRazn7ahw21xBbaE0zDZUWEjzHxdespSmN6Esq/U78IVguXCsehf+TL27xadW7XRWQBK\n\t2PiQ==",
        "X-Gm-Message-State": "AOJu0Yxbhdi2suT6CPd7VZrJ0jKBevKMRVM6v3hqfRdUpT1dx4Ymx/sQ\n\tXgUunCJsuwhbeZ1tfK/0o7HMFG1E+MryM0olclWmkAiQGHi2Vf7xQ3wgOQ==",
        "X-Google-Smtp-Source": "AGHT+IENz9EVZUMXCkD80sjKx1Hzgf7Ip4KsfNteYgOYg8/xK+PpyfV/liJBRaI+eOK+5dzorClsaw==",
        "X-Received": "by 2002:a05:600c:4713:b0:426:5dd0:a1ea with SMTP id\n\t5b1f17b1804b1-428e6b7f3f1mr51817115e9.28.1722751473759; \n\tSat, 03 Aug 2024 23:04:33 -0700 (PDT)",
        "From": "Sergei Trofimovich <slyich@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Sergei Trofimovich <slyich@gmail.com>",
        "Subject": "[PATCH 2/2] include/libcamera/internal/yaml_parser.h: add missing\n\t<stdint.h> include",
        "Date": "Sun,  4 Aug 2024 07:04:00 +0100",
        "Message-ID": "<20240804060400.2790695-2-slyich@gmail.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "In-Reply-To": "<20240804060400.2790695-1-slyich@gmail.com>",
        "References": "<20240804060400.2790695-1-slyich@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Sun, 04 Aug 2024 12:59:39 +0200",
        "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---\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": [
        "2/2"
    ]
}