Show a patch.

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

{
    "id": 73581,
    "url": "https://patches.dpdk.org/api/patches/73581/",
    "web_url": "https://patches.dpdk.org/patch/73581/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1594277585-15281-1-git-send-email-phil.yang@arm.com>",
    "date": "2020-07-09T06:53:05",
    "name": "devtools: fix ninja break under default DESTDIR path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "6f57efc7e91fc026c3f86f52f975e810ab267223",
    "submitter": {
        "id": 833,
        "url": "https://patches.dpdk.org/api/people/833/",
        "name": "Phil Yang",
        "email": "phil.yang@arm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73581/mbox/",
    "series": [
        {
            "id": 10911,
            "url": "https://patches.dpdk.org/api/series/10911/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10911",
            "date": "2020-07-09T06:53:05",
            "name": "devtools: fix ninja break under default DESTDIR path",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10911/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73581/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73581/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.7.4",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D6A2EA0526;\n\tThu,  9 Jul 2020 08:53:18 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 38DC71DB93;\n\tThu,  9 Jul 2020 08:53:18 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 870F71DAF5\n for <dev@dpdk.org>; Thu,  9 Jul 2020 08:53:16 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D1B6C1FB;\n Wed,  8 Jul 2020 23:53:15 -0700 (PDT)",
            "from phil-VirtualBox.arm.com (A010647.Arm.com [10.170.226.139])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E44C53F71E;\n Wed,  8 Jul 2020 23:53:13 -0700 (PDT)"
        ],
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1594277585-15281-1-git-send-email-phil.yang@arm.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Precedence": "list",
        "From": "Phil Yang <phil.yang@arm.com>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "david.marchand@redhat.com,\n\tdev@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "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>",
        "Subject": "[dpdk-dev] [PATCH] devtools: fix ninja break under default DESTDIR\n\tpath",
        "Cc": "Honnappa.Nagarahalli@arm.com,\n\tRuifeng.Wang@arm.com,\n\tnd@arm.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Date": "Thu,  9 Jul 2020 14:53:05 +0800"
    },
    "content": "If DPDK_ABI_REF_DIR is not set, the default DESTDIR is a relative path.\nThis will break ninja in the ABI check test.\n\nFixes: 777014e56d07 (\"devtools: add ABI checks\")\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\n---\n devtools/test-meson-builds.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex a87de63..2bfcaca 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -143,7 +143,7 @@ build () # <directory> <target compiler | cross file> <meson options>\n \tconfig $srcdir $builds_dir/$targetdir $cross --werror $*\n \tcompile $builds_dir/$targetdir\n \tif [ -n \"$DPDK_ABI_REF_VERSION\" ]; then\n-\t\tabirefdir=${DPDK_ABI_REF_DIR:-reference}/$DPDK_ABI_REF_VERSION\n+\t\tabirefdir=${DPDK_ABI_REF_DIR:-$(pwd)/reference}/$DPDK_ABI_REF_VERSION\n \t\tif [ ! -d $abirefdir/$targetdir ]; then\n \t\t\t# clone current sources\n \t\t\tif [ ! -d $abirefdir/src ]; then\n",
    "prefixes": []
}