get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45521,
    "url": "http://patches.dpdk.org/api/patches/45521/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1538054652-20820-3-git-send-email-agalyax.babu.radhakrishnan@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": "<1538054652-20820-3-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1538054652-20820-3-git-send-email-agalyax.babu.radhakrishnan@intel.com",
    "date": "2018-09-27T13:24:08",
    "name": "[2/6] net/nfp: disable nfp build in FREEBSD",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "85a262916a06a40620f4da300b65ceeefd55cdd9",
    "submitter": {
        "id": 1138,
        "url": "http://patches.dpdk.org/api/people/1138/?format=api",
        "name": "Babu Radhakrishnan, AgalyaX",
        "email": "agalyax.babu.radhakrishnan@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1538054652-20820-3-git-send-email-agalyax.babu.radhakrishnan@intel.com/mbox/",
    "series": [
        {
            "id": 1551,
            "url": "http://patches.dpdk.org/api/series/1551/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1551",
            "date": "2018-09-27T13:24:10",
            "name": "fix for meson builds in freebsd",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1551/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/45521/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/45521/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 73BF51B4BA;\n\tThu, 27 Sep 2018 15:24:47 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 838B41B465\n\tfor <dev@dpdk.org>; Thu, 27 Sep 2018 15:24:43 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Sep 2018 06:24:38 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga008.fm.intel.com with ESMTP; 27 Sep 2018 06:24:37 -0700",
            "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw8RDOa06012846; Thu, 27 Sep 2018 14:24:36 +0100",
            "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id w8RDONsb021212;\n\tThu, 27 Sep 2018 14:24:23 +0100",
            "(from nsomarox@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id w8RDONh6021208;\n\tThu, 27 Sep 2018 14:24:23 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,310,1534834800\"; d=\"scan'208\";a=\"74200121\"",
        "From": "Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "alejandro.lucero@netronome.com, allain.legacy@windriver.com,\n\tjasvinder.singh@intel.com, keith.wiles@intel.com, matan@mellanox.com, \n\tbruce.richardson@intel.com, reshma.pattan@intel.com,\n\tAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>",
        "Date": "Thu, 27 Sep 2018 14:24:08 +0100",
        "Message-Id": "<1538054652-20820-3-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1538054652-20820-1-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
        "References": "<1538054652-20820-1-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/6] net/nfp: disable nfp build in FREEBSD",
        "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": "Disabled nfp build in FreeBSD because it is not supported\nAdded changes to enable NFP build if it is Linux OS and\ndisable in FreeBSD.\n\nFixes: 6e8a721044 (\"vfio: export functions even when disabled\")\n\nSigned-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>\n---\n drivers/net/nfp/meson.build | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build\nindex 3ba37e279..a8f29f986 100644\n--- a/drivers/net/nfp/meson.build\n+++ b/drivers/net/nfp/meson.build\n@@ -1,6 +1,9 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if host_machine.system() != 'linux'\n+        build = false\n+endif\n sources = files('nfpcore/nfp_cpp_pcie_ops.c',\n \t'nfpcore/nfp_nsp.c',\n \t'nfpcore/nfp_cppcore.c',\n",
    "prefixes": [
        "2/6"
    ]
}