get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 4024,
    "url": "http://patches.dpdk.org/api/patches/4024/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-03-16T15:05:25",
    "name": "[dpdk-dev] version: fix include",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "56ca3fef59d1f09f9bd4fc01c5c1c7e66bc0b226",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/4024/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/4024/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id C68C058D8;\n\tMon, 16 Mar 2015 16:06:07 +0100 (CET)",
            "from mail-wg0-f42.google.com (mail-wg0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id B93505699\n\tfor <dev@dpdk.org>; Mon, 16 Mar 2015 16:06:06 +0100 (CET)",
            "by wgdm6 with SMTP id m6so42434403wgd.2\n\tfor <dev@dpdk.org>; Mon, 16 Mar 2015 08:06:06 -0700 (PDT)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tb4sm15764452wic.2.2015.03.16.08.06.04 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 16 Mar 2015 08:06:04 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:mime-version\n\t:content-type:content-transfer-encoding;\n\tbh=kKHuwsrCNTGS9B39j8opKi3IZlJ21kTjoQgonlvIF0E=;\n\tb=jcL5etInznCQ1zDNBELibxh815K5abuSYcN8WOUpZdnUYwQzGii9k9xp223l3r0O32\n\tSfKwaCBUG353+Ua7y2svJ4dTpDUpa0sj3+5bVbFcn2ZvzkRv1P/OK4elKOFUq6L9YrD2\n\t9dxpEvRFZbyfzTHAnCIInMcnjl1F6mulZinG2mzF1Ex+/ef9LpFE1F9fEVTs9JfSUe1T\n\te26oFJOlVk6ae6BoGZV8AHMvAE1H53yxZ3WeyXg04Gf3ERyZrAVtDo920YKcKqfPEFD4\n\t1gWcTT/5uR9rZBsXWNuoP+UMtDWlk6HdFwzbnImsyu+HCGtKb6s+U8Sy290YOylpFvID\n\t7n1g==",
        "X-Gm-Message-State": "ALoCoQkKEbzMIa7tQHhFFhXaLK6pwSy3TD/6exX7uHgvzgX1/VomyXn1g6UURz2AWrgjbOBU3Y10",
        "X-Received": "by 10.180.24.3 with SMTP id q3mr47154018wif.79.1426518365459;\n\tMon, 16 Mar 2015 08:06:05 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 16 Mar 2015 16:05:25 +0100",
        "Message-Id": "<1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] version: fix include",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When including rte_version.h without string.h, there is a compilation error:\ninclude/rte_version.h: error: implicit declaration of function ‘strlen’\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/common/include/rte_version.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h\nindex 89934dd..15bdec8 100644\n--- a/lib/librte_eal/common/include/rte_version.h\n+++ b/lib/librte_eal/common/include/rte_version.h\n@@ -44,6 +44,7 @@ extern \"C\" {\n #endif\n \n #include <stdint.h>\n+#include <string.h>\n #include <rte_common.h>\n \n /**\n",
    "prefixes": [
        "dpdk-dev"
    ]
}