get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59246,
    "url": "https://patches.dpdk.org/api/patches/59246/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190914093700.11451-2-thomas@monjalon.net/",
    "project": {
        "id": 1,
        "url": "https://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": "<20190914093700.11451-2-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190914093700.11451-2-thomas@monjalon.net",
    "date": "2019-09-14T09:36:59",
    "name": "[1/2] net/nfb: fix dependency check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "84dbda0f1810b1e6a588787b95907827b04ecef6",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190914093700.11451-2-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 6406,
            "url": "https://patches.dpdk.org/api/series/6406/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6406",
            "date": "2019-09-14T09:36:58",
            "name": "use pkg-config to find Netcope dependencies",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6406/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/59246/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/59246/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 48AD51EB22;\n\tSat, 14 Sep 2019 11:37:29 +0200 (CEST)",
            "from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com\n\t[66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E5E2D1EB09;\n\tSat, 14 Sep 2019 11:37:26 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 6B8C921368;\n\tSat, 14 Sep 2019 05:37:25 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n\tby compute1.internal (MEProxy); Sat, 14 Sep 2019 05:37:25 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 77579D6005A;\n\tSat, 14 Sep 2019 05:37:24 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tfrom:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding; s=mesmtp; bh=AvElL286BF\n\tQPiUL/tInjqvxY40I97SCECKH6NTBpr/k=; b=Isp0U8iHK7y8RZq64gAW6HhhJF\n\tKb3JTwFZBgnNfPvKNxfsHMQFftzoqQ7970NrPzzNAZXEfzfOty+8o5Xf2OoNNFUT\n\tyxGX43N0kb7j4q9sq7xcWmDHIUlnuPC6dkMPhi8AwsIMuYSLuNNJqvF/7PIeeUWV\n\tGdFuz8qDqo1nUtBxw=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:date:from\n\t:in-reply-to:message-id:mime-version:references:subject:to\n\t:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n\tfm3; bh=AvElL286BFQPiUL/tInjqvxY40I97SCECKH6NTBpr/k=; b=fiGEt7mV\n\tAAJ1ZXY8wcj3zoLSPKk+sGeMOwzjSwM0sp2+FRhyUsxJXUICwwRLpnugBbYf75XW\n\tdzNXpNTPAH9wIKzqTqgkfdxoqFO/WUZk5vKHlFBvMjVOzDMHWzMMVK+lOLZyj1YT\n\t7wgaofSInd5J2wqaeexu64eCJnLAlDH/n6Pyr66HVoEgZBwkPwiXwHxtgbfHCqav\n\tmFM0zZNJIaWEitaGyaSIRefMIEPJHfis+mHcvoSqDZT1D5xxjE1izrmqbmP2MoXW\n\txzLpbfqQbYPl9KbUJkAGrgF72/xGVRGReLDoO56vWt38RT/EMDbHz+L52agfT56P\n\t91gP/sDJvEKUrQ=="
        ],
        "X-ME-Sender": "<xms:1bR8XWCvqwVgRgSc2zl7CwFuStRH9QojJDtO88aor6fkavFrfLhxTw>",
        "X-ME-Proxy-Cause": "gggruggvucftvghtrhhoucdtuddrgedufedrtdelgddukecutefuodetggdotefrodftvf\n\tcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n\tuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n\tfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n\tucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph\n\tepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho\n\tmhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd",
        "X-ME-Proxy": "<xmx:1bR8Xf5CXlfDySvPhmP21b3TeKofhntStphDiLvevB-7qZ5BIH9pxg>\n\t<xmx:1bR8XcImVKsjYKzLXBj8VPmqgDoyqOKXxa1y8kJW3ka4ss-D0uZmrQ>\n\t<xmx:1bR8XV-R3rCEk1Wn5H2TX0uSKyjQktTzzEg5b4xHQCUZgVvN_mIPmg>\n\t<xmx:1bR8Xbu-uo8XcGa-XS0aKa4GspuHAyiVlK9vlM8aEQT0xA8CmtEzKw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "bruce.richardson@intel.com, Rastislav Cernay <cernay@netcope.com>,\n\tJan Remes <remes@netcope.com>",
        "Cc": "dev@dpdk.org,\n\tstable@dpdk.org",
        "Date": "Sat, 14 Sep 2019 11:36:59 +0200",
        "Message-Id": "<20190914093700.11451-2-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.23.0",
        "In-Reply-To": "<20190914093700.11451-1-thomas@monjalon.net>",
        "References": "<20190914093700.11451-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/2] net/nfb: fix dependency check",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/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 library libnfb is part of netcope-common which provides\na pkg-config file: netcope-common.pc.\nLooking for this .pc file - with dependency() - is preferred\nthan looking for the library - with cc.find_library().\n\nIf the library is not installed in a standard path,\nit can be found thanks to PKG_CONFIG_PATH variable.\nThe previous solution required to use CFLAGS and LDFLAGS\nenvironment variables.\n\nFixes: 6435f9a0ac22 (\"net/nfb: add new netcope driver\")\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/net/nfb/meson.build | 9 ++-------\n 1 file changed, 2 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/nfb/meson.build b/drivers/net/nfb/meson.build\nindex 4502c3f76..d53e8eca7 100644\n--- a/drivers/net/nfb/meson.build\n+++ b/drivers/net/nfb/meson.build\n@@ -3,14 +3,9 @@\n # Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>\n # All rights reserved.\n \n-dep = cc.find_library('nfb', required: false)\n+dep = dependency('netcope-common', required: false)\n reason = 'missing dependency, \"libnfb\"'\n-\n-build = dep.found() and cc.has_header('nfb/nfb.h', dependencies: dep)\n-\n-nc = dependency('netcope-common', required: false)\n-\n+build = dep.found()\n ext_deps += dep\n-ext_deps += nc\n \n sources = files('nfb_rx.c', 'nfb_tx.c', 'nfb_stats.c', 'nfb_ethdev.c', 'nfb_rxmode.c')\n",
    "prefixes": [
        "1/2"
    ]
}