get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 34951,
    "url": "http://patches.dpdk.org/api/patches/34951/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180205095353.16245-1-marko.kovacevic@intel.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": "<20180205095353.16245-1-marko.kovacevic@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180205095353.16245-1-marko.kovacevic@intel.com",
    "date": "2018-02-05T09:53:53",
    "name": "[dpdk-dev,v2] mk: support renamed Makefile in external project",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "a2da2f10f1f87f4e6d0fa9dda378e102c7b94997",
    "submitter": {
        "id": 853,
        "url": "http://patches.dpdk.org/api/people/853/?format=api",
        "name": "Kovacevic, Marko",
        "email": "marko.kovacevic@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180205095353.16245-1-marko.kovacevic@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/34951/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/34951/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2AD361B2FF;\n\tMon,  5 Feb 2018 10:54:17 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 3D3F21B2FD;\n\tMon,  5 Feb 2018 10:54:15 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Feb 2018 01:54:14 -0800",
            "from silpixa00399502.ir.intel.com (HELO\n\tsilpixa00399502.ger.corp.intel.com) ([10.237.223.218])\n\tby orsmga004.jf.intel.com with ESMTP; 05 Feb 2018 01:54:12 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,464,1511856000\"; d=\"scan'208\";a=\"171721398\"",
        "From": "Marko Kovacevic <marko.kovacevic@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, olivier.matz@6wind.com, vipin.varghese@intel.com,\n\tstable@dpdk.org, Marko Kovacevic <marko.kovacevic@intel.com>",
        "Date": "Mon,  5 Feb 2018 09:53:53 +0000",
        "Message-Id": "<20180205095353.16245-1-marko.kovacevic@intel.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20180122105905.6996-1-marko.kovacevic@intel.com>",
        "References": "<20180122105905.6996-1-marko.kovacevic@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] mk: support renamed Makefile in external\n\tproject",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://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": "<https://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": "The build system made a recursive call to \"make\" after\ncreating the build directory. This recursive call used\nthe hard-coded filename \"Makefile\", which prevented\nbuilds from working if the file was renamed and make\ncalled using \"make -f\". Taking the filename from\nMAKEFILES_LIST make variable fixes this.\n\nFixes: af75078fece3 (\"first public release\")\nCc: stable@dpdk.org\n\nSigned-off-by: Marko Kovacevic <marko.kovacevic@intel.com>\nAcked-by: Vipin Varghese <vipin.varghese@intel.com>\n\n---\nV2\n - Changed the call of the make file a litte\n   due to an issue reported by Olivier.\n---\n mk/internal/rte.extvars.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk\nindex 94f27e9..98c8606 100644\n--- a/mk/internal/rte.extvars.mk\n+++ b/mk/internal/rte.extvars.mk\n@@ -20,7 +20,7 @@ ifeq (\"$(origin M)\", \"command line\")\n RTE_EXTMK := $(abspath $(M))\n endif\n endif\n-RTE_EXTMK ?= $(RTE_SRCDIR)/Makefile\n+RTE_EXTMK ?= $(RTE_SRCDIR)/$(notdir $(firstword $(MAKEFILE_LIST)))\n export RTE_EXTMK\n \n # RTE_SDK_BIN must point to .config, include/ and lib/.\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}