Patch Detail
Show a patch.
GET /api/patches/20761/?format=api
{ "id": 20761, "url": "https://patchwork.libcamera.org/api/patches/20761/?format=api", "web_url": "https://patchwork.libcamera.org/patch/20761/", "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": "<20240804205544.2500138-1-slyich@gmail.com>", "date": "2024-08-04T20:55:43", "name": "[v2,1/2] libcamera: add missing <stdint.h> include to base/file.h", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "07fe56a9511a67a41f98cdfb4e3998189e71cb68", "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/20761/mbox/", "series": [ { "id": 4483, "url": "https://patchwork.libcamera.org/api/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/20761/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/20761/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 C9654C323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 4 Aug 2024 20:55:59 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C275D63381;\n\tSun, 4 Aug 2024 22:55:58 +0200 (CEST)", "from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n\t[IPv6:2a00:1450:4864:20::435])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 87CF16192D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 4 Aug 2024 22:55:57 +0200 (CEST)", "by mail-wr1-x435.google.com with SMTP id\n\tffacd0b85a97d-3685a564bafso5010408f8f.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 04 Aug 2024 13:55:57 -0700 (PDT)", "from nz.home ([2a00:23c8:a613:101:984c:8b0c:b2fc:a03])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-36bbd059e18sm7830359f8f.68.2024.08.04.13.55.55\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 04 Aug 2024 13:55:55 -0700 (PDT)", "by nz.home (Postfix, from userid 1000)\n\tid 16DF71ECE1C282; Sun, 04 Aug 2024 21:55:55 +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=\"GaTCqN37\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20230601; t=1722804957; x=1723409757;\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=DGDqQNEpkV1QdpvmjIravZ90YQL5ZMCqwH+p8llZBIs=;\n\tb=GaTCqN375yrrDV4nrL7MhZmBz1wAv+Pi3lY6BYF24eGkAAA6g+QnNIGbrHAAhgj+lL\n\t9TeWq0O0Gf95yYJQC6plT7dCmIXC9YxnpAVs+nU4yyBXwCA6C/7Y2pR/yF6oIFxmCGRi\n\t2+Fm+vVKF0QzCglHPpZO2YuUaNqPtbKjP/k/tQ+JYU98RYqx9mn2JHwSaVvxUv9Qk3V3\n\twnlMll7sM6EfeucXpGIThB3afoISF2d1ARFZ1JoMdu2sRNMo8bGGNRrXIzOAiOHyf71h\n\ttU45cUJ0f8u0iIFtJcMDlXla+WwwkfWQQh8PO+HUvmABC4WHjq9bDPxOpAqHNAL3AYQs\n\tNgew==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1722804957; x=1723409757;\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=DGDqQNEpkV1QdpvmjIravZ90YQL5ZMCqwH+p8llZBIs=;\n\tb=rYigjt4RmLG6ML6ealEPTVQ8kUmdrwDEPcBdKdKZbB1irZLkuuIJiw/EAYj4wdMBC+\n\tALVmVrniHCl0lWq8ItSVzJ+kAhdFf+xra3SmL8Fe+L/kJW8Ypku1Mq8FO75ORPD9HUus\n\tNyJfMbpinYeT6yS4i7/R+Fz3njI3ESWRmMz27+W5q8j+QNsoYXcTYZHRBtN9dd4+SoMK\n\tqR0RY+5Tm7KRP6/Ij0QIuVGQvKHax/rr5R6RMcJvfspgyBHhLUmOS7bLojIaiRwv/MlQ\n\t8ib+ixxPevGhdB6+fA1Rsq/vQ6mJlm1gx/Q0sKdY4rC6Jy7NBN1S0QbA4jB3e8fjizpS\n\tL3yQ==", "X-Forwarded-Encrypted": "i=1;\n\tAJvYcCX+zOvnFpbNxTjpRezE/0G5/JMLq/6BgWVjBNvKJhafZTrxxANBPtx4pdM9hd3W6llnT9wksrYLfZdkZkMZVaxsoLKblTS7Pjfo9qVjFon9yLfwvg==", "X-Gm-Message-State": "AOJu0Ywux8IK83VUC+h4Kv41oL/Q0zHwO4cnoDzsFrSsiOCxrr7DgqMd\n\t2wIPlJmxNVSxMQy3tX6HrIt6fFzNsCYbOVr7hz0Js3d1gYI+Cg7O", "X-Google-Smtp-Source": "AGHT+IFkARC7F6tmjEufHPs9xeKZzU+TNoASrSDkcL2qgUpzPIoHk3XKfmEnwp51nI25WWgTWFu26g==", "X-Received": "by 2002:a05:6000:a8b:b0:368:327c:372b with SMTP id\n\tffacd0b85a97d-36bbc0dcf5fmr7154719f8f.19.1722804956569; \n\tSun, 04 Aug 2024 13:55:56 -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 1/2] libcamera: add missing <stdint.h> include to\n\tbase/file.h", "Date": "Sun, 4 Aug 2024 21:55:43 +0100", "Message-ID": "<20240804205544.2500138-1-slyich@gmail.com>", "X-Mailer": "git-send-email 2.45.2", "In-Reply-To": "<20240804114336.GK3319@pendragon.ideasonboard.com>", "References": "<20240804114336.GK3319@pendragon.ideasonboard.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/base/file.cpp:8:\n ../include/libcamera/base/file.h:62:33: error: 'uint8_t' was not declared in this scope\n 62 | ssize_t read(const Span<uint8_t> &data);\n | ^~~~~~~\n\nSigned-off-by: Sergei Trofimovich <slyich@gmail.com>\n---\n include/libcamera/base/file.h | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/include/libcamera/base/file.h b/include/libcamera/base/file.h\nindex 5637934c..192668ab 100644\n--- a/include/libcamera/base/file.h\n+++ b/include/libcamera/base/file.h\n@@ -7,6 +7,7 @@\n \n #pragma once\n \n+#include <stdint.h>\n #include <sys/types.h>\n \n #include <map>\n", "prefixes": [ "v2", "1/2" ] }