Show a patch.

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

{
    "id": 15989,
    "url": "https://patchwork.libcamera.org/api/patches/15989/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15989/",
    "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": "<20220519185404.16502-1-laurent.pinchart@ideasonboard.com>",
    "date": "2022-05-19T18:54:04",
    "name": "[libcamera-devel] android: Drop gcc 7 compatibility",
    "commit_ref": "0c1b3f5e4c5f36c19d702529d4b597415f813394",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "573eff3db0d8df1a234d3061efb42492a9eab670",
    "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/15989/mbox/",
    "series": [
        {
            "id": 3129,
            "url": "https://patchwork.libcamera.org/api/series/3129/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3129",
            "date": "2022-05-19T18:54:04",
            "name": "[libcamera-devel] android: Drop gcc 7 compatibility",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3129/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15989/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15989/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 3422DC0F2A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 19 May 2022 18:54:38 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7CD2E65655;\n\tThu, 19 May 2022 20:54:37 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EC31060420\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 May 2022 20:54:35 +0200 (CEST)",
            "from localhost.localdomain (unknown [45.131.31.124])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 5EA606E0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 May 2022 20:54:35 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652986477;\n\tbh=cjcKTGUKiJJcaCPFrWc6hnV+OYmYIlLk6pcPygnAJBs=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=K4eNTBMU8xNnDqMBK1PHKdks7YrY0b2kBnht95NVTL2Z2FOvEurX8XmIwgv3vcABh\n\t7rwx288tFMevEd6EhBS+dhuLzw2lEORq7nFneeVoZ/jdh67xrw32cVo/oFkjX53jOa\n\tNGL52rOJf3iQJJUPk5rqwhoJtvZ44RwI3yyA0Z8z7vqQWExG5D699wK4pWipYt0OfH\n\tR8hwEmMawGEwu8I1UasSiv8V+XalGPAA7x4oboi0CZRkHrTe00Do+Dnkqfej9WX65C\n\tnO42zqFX7XcmlO+jFJsX85+tQH4xwUD0L+LIgdVwpctxI6YBeDYZ+cKNg+mbU2eNo2\n\ttKKrEMaTeIrbw==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1652986475;\n\tbh=cjcKTGUKiJJcaCPFrWc6hnV+OYmYIlLk6pcPygnAJBs=;\n\th=From:To:Subject:Date:From;\n\tb=K3f3fNwO2+zCzLILl651N4gahrHK8lF6PLdeD0BOlsz63+dbt6tKI2JnpKFWP1ki4\n\to9B/asdE14Cjm2iOaHrB0L7z/kMR8jLoChX83k6BG3ZiOtqeILsF+xdPv1YpSDGXCz\n\tKCffF5DcxU9RfDvcZ7YiI3ITsyhqo6Hn+ExG9ng4="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"K3f3fNwO\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 19 May 2022 21:54:04 +0300",
        "Message-Id": "<20220519185404.16502-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.35.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] android: Drop gcc 7 compatibility",
        "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>",
        "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Now that we have dropped gcc 7 support, remove the compatibility with\ngcc versions older than 8 that implemented the filesystem API in the\nstd::experimental namespace.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/android/camera_hal_config.cpp | 7 -------\n 1 file changed, 7 deletions(-)",
    "diff": "diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp\nindex 29e506ff5e28..28072cb86285 100644\n--- a/src/android/camera_hal_config.cpp\n+++ b/src/android/camera_hal_config.cpp\n@@ -6,14 +6,7 @@\n  */\n #include \"camera_hal_config.h\"\n \n-#if defined(_GLIBCXX_RELEASE) && _GLIBCXX_RELEASE < 8\n-#include <experimental/filesystem>\n-namespace std {\n-namespace filesystem = std::experimental::filesystem;\n-}\n-#else\n #include <filesystem>\n-#endif\n #include <stdlib.h>\n #include <string>\n \n",
    "prefixes": [
        "libcamera-devel"
    ]
}