Show a patch.

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

{
    "id": 22451,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/22451/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22451/",
    "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": "<20241228191119.3159118-1-slyich@gmail.com>",
    "date": "2024-12-28T19:11:19",
    "name": "libcamera: add missing <stdint.h> include to dma_buf_allocator.h",
    "commit_ref": "91de550243121056984e5b9b693b486860655d31",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "518df6462e458602c46745942341131574ae8afb",
    "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/22451/mbox/",
    "series": [
        {
            "id": 4927,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4927/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4927",
            "date": "2024-12-28T19:11:19",
            "name": "libcamera: add missing <stdint.h> include to dma_buf_allocator.h",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4927/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22451/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22451/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 E3EEBBD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 28 Dec 2024 19:11:25 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 00873684CB;\n\tSat, 28 Dec 2024 20:11:24 +0100 (CET)",
            "from mail-wm1-x336.google.com (mail-wm1-x336.google.com\n\t[IPv6:2a00:1450:4864:20::336])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E0B5361896\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 28 Dec 2024 20:11:22 +0100 (CET)",
            "by mail-wm1-x336.google.com with SMTP id\n\t5b1f17b1804b1-43625c4a50dso54567545e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 28 Dec 2024 11:11:22 -0800 (PST)",
            "from nz.home (host86-154-198-185.range86-154.btcentralplus.com.\n\t[86.154.198.185]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-43656b119ccsm337994575e9.24.2024.12.28.11.11.21\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 28 Dec 2024 11:11:21 -0800 (PST)",
            "by nz.home (Postfix, from userid 1000)\n\tid EF24326797D4D9; Sat, 28 Dec 2024 19:11:20 +0000 (GMT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fa8THYVf\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20230601; t=1735413082; x=1736017882;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=jZ7nExCtHsqj6A5amrgp7TWzKZkM6+VABa7RxrG+Uww=;\n\tb=fa8THYVfukGnl1xvgYDzbsD4efamU+jN1GBIEkfCJzvvLxYeH67100eQUGLCpTwACf\n\tY4oUOkwRV2JE+b7Achel1G7ob8DogNX1mafSpie67LXRiMB1QbusqhidPL3VDXyFy7Rd\n\t7D3fbJRusf/W0+1NJM0JquBfO4sCCYtMHmsp+JLWaO1HY2sjhn85KTMQ4Pc8FCjPvnur\n\tI3TsXNoYkFaJeyTX+m/CyTTWLkMAYewbm7onAgieB8DGvWtmetGrRAhIaUERtWhsutbx\n\ti/mNuyVmrpdZ+UqiiXvuLFEUlJt7c5hKhUxUEx8UveMeb4wcIPn279n3WpsFOM+RmMU0\n\tM2tw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1735413082; x=1736017882;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=jZ7nExCtHsqj6A5amrgp7TWzKZkM6+VABa7RxrG+Uww=;\n\tb=r2IR4gAfBuLz6mSObYZKPSO3x9F27h0n+wDiWx1DSRbyDQkb7IG+iBu3i64W4iNv5w\n\tQZrAH13vlkgFksSANPjxTGK5d/nsGF3TioqpB21LXvysoH7o7WTohDvIWuj9hBWn+M8P\n\tA8IMEKcJVfP4wBrKZ1uoofaXQcjczhdAzbQEvfT0uLhsIwCnzl3w7HM4/exRAhp6NV3G\n\tZPbrYPIu2KMvqOGB7PvdUeWdmfOUSzIzF7PlPrHoCoWKJmCVfXPfrSNqP5RRon6isgrl\n\t14yVoWUhDpG9tmpUTdZqW9+mCZDOJsIOSLHSRlElUChyeP5+OU5OuZWWRdf4f7gE/jE7\n\tjPmA==",
        "X-Gm-Message-State": "AOJu0YxgwXah3Au4q1rI393Qz0XhuoRlHZCvREgZ6JiKMT9bA1BghvmO\n\tKUF4mTZqGWcgwR8fmh0X7u2QDWME89ctmf10rt62mvvc2ex9boyp",
        "X-Gm-Gg": "ASbGnctrZalA5Uhz2DN5vTQ9/2IPQT8umyEAgl2wnLHVQtVsrt5qUaMS9d3XymwPIjz\n\tjVpfmt7meP3iVzLczmShG5k+RY0UG8dgLdBDQS8DwrnAH733aWiF6raebA8N/9g/iukROiJxQRI\n\t2aEuqJJhxxXMsyOx1TmnpoGvW60CPBbDGAb2vkjcUnzpIkUafEP820OgJ6qrxOgWvvBQJXWdM76\n\ty+CTMKXGmDgyr1vlV/RfKLwEZT19Os2gsilay2ebwA0W3jtyujtV26B8i5GV8NvW7O1XV3fVIJH\n\tl6X33JENQvJ/podPvDBz7yCW+2s=",
        "X-Google-Smtp-Source": "AGHT+IEhdNuMzd2VP0pzHfuG/eJamkVMY8TwmYRzlQnxk6iNoF55m0bFBB/Jf6BtjBaOVat5vMgZVw==",
        "X-Received": "by 2002:a05:600c:4ecc:b0:434:a386:6ae with SMTP id\n\t5b1f17b1804b1-436685484c5mr224891835e9.7.1735413082134; \n\tSat, 28 Dec 2024 11:11:22 -0800 (PST)",
        "From": "Sergei Trofimovich <slyich@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Sergei Trofimovich <slyich@gmail.com>",
        "Subject": "[PATCH] libcamera: add missing <stdint.h> include to\n\tdma_buf_allocator.h",
        "Date": "Sat, 28 Dec 2024 19:11:19 +0000",
        "Message-ID": "<20241228191119.3159118-1-slyich@gmail.com>",
        "X-Mailer": "git-send-email 2.47.0",
        "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/dma_buf_allocator.cpp:9:\n    ../include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared\n       66 |         void sync(uint64_t step);\n          |                   ^~~~~~~~\n---\n include/libcamera/internal/dma_buf_allocator.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/libcamera/internal/dma_buf_allocator.h b/include/libcamera/internal/dma_buf_allocator.h\nindex fc5de2c1..56341470 100644\n--- a/include/libcamera/internal/dma_buf_allocator.h\n+++ b/include/libcamera/internal/dma_buf_allocator.h\n@@ -8,6 +8,7 @@\n #pragma once\n \n #include <memory>\n+#include <stdint.h>\n #include <string>\n #include <vector>\n \n",
    "prefixes": []
}