get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 82991,
    "url": "https://patches.dpdk.org/api/patches/82991/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201030174617.1958-2-nick.connolly@mayadata.io/",
    "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": "<20201030174617.1958-2-nick.connolly@mayadata.io>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201030174617.1958-2-nick.connolly@mayadata.io",
    "date": "2020-10-30T17:46:17",
    "name": "windows: minor build fixes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "16295aaa54b0c5775063ccd19004d9cb7aab9236",
    "submitter": {
        "id": 1861,
        "url": "https://patches.dpdk.org/api/people/1861/?format=api",
        "name": "Nick Connolly",
        "email": "nick.connolly@mayadata.io"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201030174617.1958-2-nick.connolly@mayadata.io/mbox/",
    "series": [
        {
            "id": 13507,
            "url": "https://patches.dpdk.org/api/series/13507/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13507",
            "date": "2020-10-30T17:46:17",
            "name": "windows: minor build fixes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/13507/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/82991/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/82991/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E953DA04E6;\n\tFri, 30 Oct 2020 18:50:44 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 330453976;\n\tFri, 30 Oct 2020 18:47:55 +0100 (CET)",
            "from mail-wm1-f67.google.com (mail-wm1-f67.google.com\n [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id D18CB378B\n for <dev@dpdk.org>; Fri, 30 Oct 2020 18:47:54 +0100 (CET)",
            "by mail-wm1-f67.google.com with SMTP id c16so3710621wmd.2\n for <dev@dpdk.org>; Fri, 30 Oct 2020 10:47:54 -0700 (PDT)",
            "from FENIX.localdomain\n (cpc98320-croy25-2-0-cust77.19-2.cable.virginm.net. [80.235.134.78])\n by smtp.gmail.com with ESMTPSA id f5sm5321679wmh.16.2020.10.30.10.47.52\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 30 Oct 2020 10:47:52 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=mayadata-io.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=KFAUuaLlRwyaz0AmjJ2Nq8cVPozNXSMgl1nrGolbq5A=;\n b=I3gvVXG+XI5e7TubrIQwUSMu5+urze64X22qmEXUhtBvUdxv+Q5/ikjEzkIbCB4w5z\n 09HlCictngOZ7W24Zh0hpE4OKvMBoj8Bj3u3Mk8+8IZ+gEFJHU4Coj2E4Sry4odZYApc\n jCmqcfcZVErLAGptADbE1R0Qrt7IA8zEU5dt9ZxuxpSq8aO62anGhTIKuZV+ohWVgPNQ\n Y+YrltVq1fzNmUPMXhnY/JQwInsZ3jHpdh6VYdzkfh8Q/vYyHS5fttbzgtMSYTB4WzCK\n MUYWYxcm427dVkY6g/cKGYml2paH1r5dMSvcolnH878o+3wQSzkdINZCj4BR1AzbVyZS\n 4z8g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=KFAUuaLlRwyaz0AmjJ2Nq8cVPozNXSMgl1nrGolbq5A=;\n b=jf3eeotE5GXj6Ub1IeeRKTNO51xECFxqBqwgKsHH9Um0PmiAgCw45aWkKrR4B6KKvj\n qOg/rltldSKYrhJl8Q+4LcA+jCcVQzEoFRZ7vdCJ7fJb/g5VS3T1jq5U8+g9rjvWzFCJ\n wSJdP2GWukaGiSWgDtY1un6v5vs0k6fv9eJz5bmtwup4nqVQffCL4Iu+YGZAmA3O5KHY\n 2eM980OzBRJwWV5c0e2hJqpL2N5kyXgClsrZt67jcbs+uZZ609Czi5Zwgr38G4+/l48v\n iIgvG6hsXCiQ6ABy2jFvrxf76IPjqBZJg+/9vPXHvqSbPycECusDu0/TNbsQzADl6oKt\n jp8Q==",
        "X-Gm-Message-State": "AOAM5317cZmpmGkoSWyvlwwNk9FDfvMon/eEd89+yMkvlFwCLlhJVX14\n IbGu35a676AWUMJbXhw1K9vzVA==",
        "X-Google-Smtp-Source": "\n ABdhPJxvtjFTcvP1aOSmvpKZFBgAaW+lR/QyNzgCpJfBocWWkUlTz+942MPkbVNXDu6CjfuEUTZYzg==",
        "X-Received": "by 2002:a1c:2ec6:: with SMTP id u189mr4082271wmu.85.1604080073605;\n Fri, 30 Oct 2020 10:47:53 -0700 (PDT)",
        "From": "Nick Connolly <nick.connolly@mayadata.io>",
        "To": "Bruce Richardson <bruce.richardson@intel.com>",
        "Cc": "dev@dpdk.org,\n\tNick Connolly <nick.connolly@mayadata.io>",
        "Date": "Fri, 30 Oct 2020 17:46:17 +0000",
        "Message-Id": "<20201030174617.1958-2-nick.connolly@mayadata.io>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201030174617.1958-1-nick.connolly@mayadata.io>",
        "References": "<20201030174617.1958-1-nick.connolly@mayadata.io>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] windows: minor build fixes",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Don't run symlink-drivers-solibs.sh as part of 'install' because\nWindows doesn't support shell scripts.\n\nMeson versions >= 0.54.0 include support for handling /implib\nwith msvc link. Specifying it explicitly causes failures when\nlinking against the dll. Tested using Link 14.27.29112.0 and\nClang 11.0.0.\n\nSigned-off-by: Nick Connolly <nick.connolly@mayadata.io>\n---\n config/meson.build  | 8 +++++---\n drivers/meson.build | 6 ++++--\n lib/meson.build     | 6 ++++--\n 3 files changed, 13 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/config/meson.build b/config/meson.build\nindex 258b01d06..a29693b88 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -57,9 +57,11 @@ eal_pmd_path = join_paths(get_option('prefix'), driver_install_path)\n # driver .so files often depend upon the bus drivers for their connect bus,\n # e.g. ixgbe depends on librte_bus_pci. This means that the bus drivers need\n # to be in the library path, so symlink the drivers from the main lib directory.\n-meson.add_install_script('../buildtools/symlink-drivers-solibs.sh',\n-\t\tget_option('libdir'),\n-\t\tpmd_subdir_opt)\n+if not is_windows\n+\tmeson.add_install_script('../buildtools/symlink-drivers-solibs.sh',\n+\t\t\tget_option('libdir'),\n+\t\t\tpmd_subdir_opt)\n+endif\n \n # set the machine type and cflags for it\n if meson.is_cross_build()\ndiff --git a/drivers/meson.build b/drivers/meson.build\nindex 4bb7e9218..6b50f7238 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -186,8 +186,10 @@ foreach subpath:subdirs\n \t\t\tlk_deps = [version_map, def_file, mingw_map]\n \t\t\tif is_windows\n \t\t\t\tif is_ms_linker\n-\t\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path(),\n-\t\t\t\t\t\t'-Wl,/implib:drivers\\\\' + implib]\n+\t\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path()]\n+\t\t\t\t\tif meson.version().version_compare('<0.54.0')\n+\t\t\t\t\t\tlk_args += ['-Wl,/implib:drivers\\\\' + implib]\n+\t\t\t\t\tendif\n \t\t\t\telse\n \t\t\t\t\tlk_args = ['-Wl,--version-script=' + mingw_map.full_path()]\n \t\t\t\tendif\ndiff --git a/lib/meson.build b/lib/meson.build\nindex 1bb019720..ed00f8914 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -157,8 +157,10 @@ foreach l:libraries\n \t\t\t\toutput: '@0@_mingw.map'.format(libname))\n \n \t\t\tif is_ms_linker\n-\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path(),\n-\t\t\t\t\t'-Wl,/implib:lib\\\\' + implib]\n+\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path()]\n+\t\t\t\tif meson.version().version_compare('<0.54.0')\n+\t\t\t\t\tlk_args += ['-Wl,/implib:lib\\\\' + implib]\n+\t\t\t\tendif\n \t\t\telse\n \t\t\t\tif is_windows\n \t\t\t\t\tlk_args = ['-Wl,--version-script=' + mingw_map.full_path()]\n",
    "prefixes": []
}