get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83846,
    "url": "http://patches.dpdk.org/api/patches/83846/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201109130035.3948462-1-ferruh.yigit@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": "<20201109130035.3948462-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201109130035.3948462-1-ferruh.yigit@intel.com",
    "date": "2020-11-09T13:00:35",
    "name": "devtools: fix 32-bits build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6dbb37e0818c1c0f00f18fa8c8f1ba8dd373dc3a",
    "submitter": {
        "id": 324,
        "url": "http://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@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/20201109130035.3948462-1-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 13744,
            "url": "http://patches.dpdk.org/api/series/13744/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13744",
            "date": "2020-11-09T13:00:35",
            "name": "devtools: fix 32-bits build",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13744/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83846/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/83846/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 032ACA0527;\n\tMon,  9 Nov 2020 14:00:43 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D9B645F13;\n\tMon,  9 Nov 2020 14:00:41 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id E86FA2B9D\n for <dev@dpdk.org>; Mon,  9 Nov 2020 14:00:39 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Nov 2020 05:00:38 -0800",
            "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.180])\n by orsmga005.jf.intel.com with ESMTP; 09 Nov 2020 05:00:36 -0800"
        ],
        "IronPort-SDR": [
            "\n 26TVpKyLOSHrppZjHs4/4p1E9fs7eswmaik27UJb/PxmPfQLtIkQ6kLHWDUosXPpfW7dBv3Rk9\n k8kv698FGhjQ==",
            "\n cmcFPlJ5PvdyyEDmX2oQKmFcbx6btursDNZBN7brV4LwKkp++x9HfEi0R+g5eLBr4CD8VVmD4c\n D8FCAqccwdGw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9799\"; a=\"254501262\"",
            "E=Sophos;i=\"5.77,463,1596524400\"; d=\"scan'208\";a=\"254501262\"",
            "E=Sophos;i=\"5.77,463,1596524400\"; d=\"scan'208\";a=\"540845178\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>",
        "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Mon,  9 Nov 2020 13:00:35 +0000",
        "Message-Id": "<20201109130035.3948462-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] devtools: fix 32-bits build",
        "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": "32 bit still uses the pkgconfig file for 64-bits libraries, from the\nbuild log:\n\n\"\nUsing DPDK_TARGET i386-pc-linux-gnu\nmeson  -Dexamples=l3fwd --buildtype=debugoptimized --werror\n-Dc_args=-m32 -Dc_link_args=-m32\n/tmp/dpdk_maintain/self/dpdk/devtools/.. ./build-32b\n...\nUsing 'PKG_CONFIG_PATH' from environment with value:\n'/usr/local/lib64/pkgconfig/\n\"\n\nThis causes build error when linking with the found libraries.\n\nReproduced with 'librte_bpf' which only has 64 bit installed but still\nenables building 'af_xdp' and link fails.\n\nTo fix updating 'PKG_CONFIG_PATH' and preventing 'load_env' overwrite\nit.\n\nFixes: 9b83106d8784 (\"devtools: test 32-bit build\")\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\nCc: Bruce Richardson <bruce.richardson@intel.com>\nCc: Thomas Monjalon <thomas@monjalon.net>\n\n'build-32b' check inside the 'load_env' looks ugly but not sure how to\nbe sure 'PKG_CONFIG_PATH' set correct.\n---\n devtools/test-meson-builds.sh | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 0c95d1cc98..9e44359398 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -53,7 +53,9 @@ load_env () # <target compiler>\n {\n \ttargetcc=$1\n \texport PATH=$default_path\n-\texport PKG_CONFIG_PATH=$default_pkgpath\n+\tif [ \"$targetdir\" != \"build-32b\" ] ; then\n+\t\texport PKG_CONFIG_PATH=$default_pkgpath\n+\tfi\n \texport CPPFLAGS=$default_cppflags\n \texport CFLAGS=$default_cflags\n \texport LDFLAGS=$default_ldflags\n@@ -226,10 +228,12 @@ if check_cc_flags '-m32' ; then\n \t\t# 32-bit pkgconfig on RHEL/Fedora (lib vs lib64)\n \t\texport PKG_CONFIG_LIBDIR='/usr/lib/pkgconfig'\n \tfi\n+\texport PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR\n \ttarget_override='i386-pc-linux-gnu'\n \tbuild build-32b cc -Dc_args='-m32' -Dc_link_args='-m32'\n \ttarget_override=\n \tunset PKG_CONFIG_LIBDIR\n+\tunset PKG_CONFIG_PATH\n fi\n \n # x86 MinGW\n",
    "prefixes": []
}