Patch Detail
Show a patch.
GET /api/patches/1480/?format=api
{ "id": 1480, "url": "https://patchwork.libcamera.org/api/patches/1480/?format=api", "web_url": "https://patchwork.libcamera.org/patch/1480/", "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": "<20190619144158.28900-1-laurent.pinchart@ideasonboard.com>", "date": "2019-06-19T14:41:58", "name": "[libcamera-devel] libcamera: stream: Include missing array header", "commit_ref": "329b38d2541c84e16b2cf2d8f6ad7af87eec2ecd", "pull_url": null, "state": "accepted", "archived": false, "hash": "442bb9ed3e4a7c6e9728029c1be453c0a90136e7", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/1480/mbox/", "series": [ { "id": 365, "url": "https://patchwork.libcamera.org/api/series/365/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=365", "date": "2019-06-19T14:41:58", "name": "[libcamera-devel] libcamera: stream: Include missing array header", "version": 1, "mbox": "https://patchwork.libcamera.org/series/365/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/1480/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/1480/checks/", "tags": {}, "headers": { "Return-Path": "<laurent.pinchart@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6858C61A15\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Jun 2019 16:42:19 +0200 (CEST)", "from pendragon.bb.dnainternet.fi\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id CCD24333;\n\tWed, 19 Jun 2019 16:42:18 +0200 (CEST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1560955339;\n\tbh=oOxl2z8tkmPxku3WP+aIZmAh2X5xN8f1YaCusSmt3cc=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=cHJ1K06UTNQT7lGK8Lftk6DZrVX3VBkThQf2I4BmmOZDCGvfbUxVDc1oZtiPQVVKg\n\tRG7Twp5m6P+fttuFM1Um/gZ2DIMwRv8AQGsiUF9rYPFgS5HY30fkqANNQUZcjWlEj4\n\tDcM9pOc/lajNjyZ0yXirdKO6psE5T2nBP2vJf0eQ=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 19 Jun 2019 17:41:58 +0300", "Message-Id": "<20190619144158.28900-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.21.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] libcamera: stream: Include missing array\n\theader", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "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>", "X-List-Received-Date": "Wed, 19 Jun 2019 14:42:19 -0000" }, "content": "The file uses the std::array class but doesn't include the corresponding\nheader. This breaks compilation with clang and libc++. Fix it.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/stream.cpp | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp\nindex d60f83246e13..d8e87c62281c 100644\n--- a/src/libcamera/stream.cpp\n+++ b/src/libcamera/stream.cpp\n@@ -8,6 +8,7 @@\n #include <libcamera/stream.h>\n \n #include <algorithm>\n+#include <array>\n #include <climits>\n #include <iomanip>\n #include <sstream>\n", "prefixes": [ "libcamera-devel" ] }