get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27181,
    "url": "http://patches.dpdk.org/api/patches/27181/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1500995026-20707-1-git-send-email-gage.eads@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": "<1500995026-20707-1-git-send-email-gage.eads@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1500995026-20707-1-git-send-email-gage.eads@intel.com",
    "date": "2017-07-25T15:03:46",
    "name": "[dpdk-dev] mk: use extra cflags when linking libs with a compiler",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6b22bfa655d8b368d800d59fa0f3035e480abdd7",
    "submitter": {
        "id": 586,
        "url": "http://patches.dpdk.org/api/people/586/?format=api",
        "name": "Eads, Gage",
        "email": "gage.eads@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1500995026-20707-1-git-send-email-gage.eads@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27181/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/27181/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 47FC82C24;\n\tTue, 25 Jul 2017 17:04:04 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id 94E14201\n\tfor <dev@dpdk.org>; Tue, 25 Jul 2017 17:04:02 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga104.jf.intel.com with ESMTP; 25 Jul 2017 08:04:01 -0700",
            "from txasoft-yocto.an.intel.com (HELO txasoft-yocto.an.intel.com.)\n\t([10.123.72.111])\n\tby fmsmga005.fm.intel.com with ESMTP; 25 Jul 2017 08:04:01 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.40,411,1496127600\"; d=\"scan'208\";a=\"131016263\"",
        "From": "Gage Eads <gage.eads@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net",
        "Date": "Tue, 25 Jul 2017 10:03:46 -0500",
        "Message-Id": "<1500995026-20707-1-git-send-email-gage.eads@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH] mk: use extra cflags when linking libs with a\n\tcompiler",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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 using the compiler to link libraries, include EXTRA_CFLAGS. This is\nneeded when cross-compiling to pass --sysroot, for example. GCC\ncross-compilers built with Yocto don't use the --with-sysroot option,\nmaking it necessary to pass the --sysroot command-line option.\n\nThis is the same solution as in commit e8fbb6d9cfd9 (\"mk: use extra cflags\nwhen linking with compiler\"), but applied to libs instead of apps.\n---\n mk/rte.lib.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk\nindex bc2f2fb..13115d1 100644\n--- a/mk/rte.lib.mk\n+++ b/mk/rte.lib.mk\n@@ -77,7 +77,7 @@ exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1))))\n \n ifeq ($(LINK_USING_CC),1)\n # Override the definition of LD here, since we're linking with CC\n-LD := $(CC) $(CPU_CFLAGS)\n+LD := $(CC) $(CPU_CFLAGS) $(EXTRA_CFLAGS)\n _CPU_LDFLAGS := $(call linkerprefix,$(CPU_LDFLAGS))\n override EXTRA_LDFLAGS := $(call linkerprefix,$(EXTRA_LDFLAGS))\n else\n",
    "prefixes": [
        "dpdk-dev"
    ]
}