get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130974,
    "url": "http://patches.dpdk.org/api/patches/130974/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230831121058.725577-3-bruce.richardson@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": "<20230831121058.725577-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230831121058.725577-3-bruce.richardson@intel.com",
    "date": "2023-08-31T12:10:57",
    "name": "[2/3] crypto/ipsec_mb: fix build failures due to incompatible lib",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a702a82ab16f03156572b0ef5d193b7586abe543",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@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/20230831121058.725577-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29388,
            "url": "http://patches.dpdk.org/api/series/29388/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29388",
            "date": "2023-08-31T12:10:55",
            "name": "enable PPC in test-meson-builds on ubuntu",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/29388/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/130974/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/130974/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 57A4441FDD;\n\tThu, 31 Aug 2023 14:11:30 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0696440299;\n\tThu, 31 Aug 2023 14:11:28 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id A6E6340293;\n Thu, 31 Aug 2023 14:11:25 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Aug 2023 05:11:24 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by fmsmga005.fm.intel.com with ESMTP; 31 Aug 2023 05:11:22 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1693483886; x=1725019886;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=TzUf+AsTXV4a4UU+n60cTM7BgW3pcl5CUYEU0i50M70=;\n b=Xc48u/J+8aPh5I2WC8OlPXpIeTK5ik4SLhRUv8s4/MSaYjisPs5u4Ktp\n j0QDF4XnKOV9fU/+K4ftESf4z/IG9YRQp5TfIT9jCyr01+NMB0dQP31Pd\n JlyWh8yEtHMmd4GK+nTvl3n5hFvOHbovRFP9bM1QvdtCXWFFZZWYpuqeF\n foejz3vyh9Te/ueuarM5LotmibShXbKmciqS1KUGBhcFco8GChEwkJWAr\n PXTYel/dWn1rpotvG3985oBzmxMDvWy86+vkhBxPdYY5gewM5Xmpek+tK\n K9/rZkQB98j6H0marZxqUGMwj+o5vPmRrS6oksjQfyeMXdCZ/x+sjinWN g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10818\"; a=\"373320714\"",
            "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"373320714\"",
            "E=McAfee;i=\"6600,9927,10818\"; a=\"1070238932\"",
            "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"1070238932\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org,\n Kai Ji <kai.ji@intel.com>, Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n Akhil Goyal <gakhil@marvell.com>, Ciara Power <ciara.power@intel.com>,\n Ray Kinsella <mdr@ashroe.eu>, Fan Zhang <fanzhang.oss@gmail.com>",
        "Subject": "[PATCH 2/3] crypto/ipsec_mb: fix build failures due to incompatible\n lib",
        "Date": "Thu, 31 Aug 2023 13:10:57 +0100",
        "Message-Id": "<20230831121058.725577-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230831121058.725577-1-bruce.richardson@intel.com>",
        "References": "<20230831121058.725577-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "When cross-compiling for PowerPC on Ubuntu, the x86 IPSec_MB library was\ngetting found by the build system for use in the PPC build. This led to\nfailures at compile time due to the library not being linkable.\n\nWe can avoid these failures by checking the discovered library for\ncompatibility at configuration time. This needs a version check as it is\nsupported only from version 0.60 of meson onwards.\n\nFixes: c75542ae4200 (\"crypto/ipsec_mb: introduce IPsec_mb framework\")\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/crypto/ipsec_mb/meson.build | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/crypto/ipsec_mb/meson.build b/drivers/crypto/ipsec_mb/meson.build\nindex 3057e6fd10..87bf965554 100644\n--- a/drivers/crypto/ipsec_mb/meson.build\n+++ b/drivers/crypto/ipsec_mb/meson.build\n@@ -16,6 +16,11 @@ lib = cc.find_library('IPSec_MB', required: false)\n if not lib.found()\n     build = false\n     reason = 'missing dependency, \"libIPSec_MB\"'\n+# if the lib is found, check it's the right format\n+elif meson.version().version_compare('>=0.60') and not cc.links(\n+        'int main(void) {return 0;}', dependencies: lib)\n+    build = false\n+    reason = 'incompatible dependency, \"libIPSec_MB\"'\n else\n     ext_deps += lib\n \n",
    "prefixes": [
        "2/3"
    ]
}