Show a patch.

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

{
    "id": 1481,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/1481/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1481/",
    "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": "<20190619144917.8854-1-jacopo@jmondi.org>",
    "date": "2019-06-19T14:49:17",
    "name": "[libcamera-devel] libcamera: formats: Add missing include",
    "commit_ref": "d78fbdba8712de8389940180ab0b391da2cbe0b9",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b24c19409662c017d028a95cdce0c63e0868d04c",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/1.1/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/1481/mbox/",
    "series": [
        {
            "id": 366,
            "url": "https://patchwork.libcamera.org/api/1.1/series/366/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=366",
            "date": "2019-06-19T14:49:17",
            "name": "[libcamera-devel] libcamera: formats: Add missing include",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/366/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1481/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1481/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net\n\t[217.70.183.201])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9388861A15\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Jun 2019 16:48:11 +0200 (CEST)",
            "from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 139DC1BF217;\n\tWed, 19 Jun 2019 14:48:10 +0000 (UTC)"
        ],
        "X-Originating-IP": "2.224.242.101",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 19 Jun 2019 16:49:17 +0200",
        "Message-Id": "<20190619144917.8854-1-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.21.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: formats: Add missing include",
        "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:48:11 -0000"
    },
    "content": "Include errno.h header to fix missing definition of -EEXIST error code:\nsrc/libcamera/formats.cpp:43:11: error: use of undeclared identifier 'EEXIST'\n\nFixes: 1cf709b1d2bb (\"libcamera: formats: Add ImageFormats\")\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/formats.cpp | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp\nindex f1a62d47e678..ee4572e01332 100644\n--- a/src/libcamera/formats.cpp\n+++ b/src/libcamera/formats.cpp\n@@ -7,6 +7,8 @@\n \n #include \"formats.h\"\n \n+#include <errno.h>\n+\n /**\n  * \\file formats.h\n  * \\brief Types and helper methods to handle libcamera image formats\n",
    "prefixes": [
        "libcamera-devel"
    ]
}