get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813549,
    "url": "http://patchwork.ozlabs.org/api/patches/813549/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170913173724.6157-1-andrew.smirnov@gmail.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170913173724.6157-1-andrew.smirnov@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-13T17:37:24",
    "name": "package/lzo: Set CMAKE_INSTALL_LIBDIR for host variant explicitly",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "d2e9a5923dc198d0bf5f5d321e128d4dde2f23e3",
    "submitter": {
        "id": 67013,
        "url": "http://patchwork.ozlabs.org/api/people/67013/?format=api",
        "name": "Andrey Smirnov",
        "email": "andrew.smirnov@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170913173724.6157-1-andrew.smirnov@gmail.com/mbox/",
    "series": [
        {
            "id": 2956,
            "url": "http://patchwork.ozlabs.org/api/series/2956/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2956",
            "date": "2017-09-13T17:37:24",
            "name": "package/lzo: Set CMAKE_INSTALL_LIBDIR for host variant explicitly",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2956/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813549/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813549/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"JGDKO2M4\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsplj07Fhz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 03:37:51 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8B43489FA2;\n\tWed, 13 Sep 2017 17:37:46 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id j5ZTXoHcldga; Wed, 13 Sep 2017 17:37:45 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CED6789F70;\n\tWed, 13 Sep 2017 17:37:44 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id B20711C274B\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 13 Sep 2017 17:37:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id ACE8489F70\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 13 Sep 2017 17:37:43 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OY+P6A2zFmmo for <buildroot@lists.busybox.net>;\n\tWed, 13 Sep 2017 17:37:43 +0000 (UTC)",
            "from mail-pg0-f67.google.com (mail-pg0-f67.google.com\n\t[74.125.83.67])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 4B07989F14\n\tfor <buildroot@buildroot.org>; Wed, 13 Sep 2017 17:37:43 +0000 (UTC)",
            "by mail-pg0-f67.google.com with SMTP id i130so425662pgc.0\n\tfor <buildroot@buildroot.org>; Wed, 13 Sep 2017 10:37:43 -0700 (PDT)",
            "from squirtle.westlake.spaceflightindustries.com\n\t([173.226.206.194]) by smtp.gmail.com with ESMTPSA id\n\tl15sm23787517pfk.44.2017.09.13.10.37.41\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Sep 2017 10:37:41 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=cOr9wP+pRJTzZ9wp0DGIqaOhblXZjPLroY6y8rrvoms=;\n\tb=JGDKO2M47WPbnqli7XpLLdmEQeRIsRCJkJOdB1ACkHdJ/MkkHx0gDlWYAt1n+xxgck\n\tEQwDt5GwoLdvvd1pAfnbzE1VHl6ta30s0kuZYu9YdEGyiOxMj1AuaWwoOaJ9qgwtKIA0\n\tlC5p9EjdPAy8ZFYIJ9famWiMLvUVVVpBrxUkgqNc8Rbo+5SJ29um7XnbRQbBjecXtHIz\n\tC1Qa7a0ODWgNUp7kxb6BYuTiaOo5vm8wAm3YlTKuak89ceKK19ouY6UCZH+ScGKnnYZs\n\t7beskKgqtEcFHkQl2dbdtvNbeVpqxTEpz8dy+kaSq27GZmn9x+zyJK9PkJlSRkgzhgzH\n\t3xYA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=cOr9wP+pRJTzZ9wp0DGIqaOhblXZjPLroY6y8rrvoms=;\n\tb=AyquODjAH1No6N7j4x8Mo+x3N6coVVnzPgxZ0WSPknwffDvneDtJYDy2mBp5s3Xc8/\n\tIB2I7mfSY4rh0HPLO85nC1zu4m9o/NdTsbc1ZTRIQ6iwMaYbLfmyQICSjCuSMUc9Bujw\n\tPm0qIJWADRfiL+aG2JI2jx7cG4hZFKHcFeRV6k0OF3Je+JLcwDv+PdCJBvJfrUIXUEkq\n\tUnHn8medocZ/eofEwPkACPtDVpmzqSRVC5WKhHKGdXpzUvvnaWGrO+tD/1uM5vdfWfVm\n\t2pL8RA5/vblUObPo6r1CQUXs2nK87Xp2qn9GPP6HR6im+1skWe0KomBAoVMHKpd7srO7\n\taYOA==",
        "X-Gm-Message-State": "AHPjjUibqMRPFTLFMAWOe26hsUZGFCBtcneOTQbzMiH2I/qlDX4B0PXq\n\tzEpRqM4fQbE54S7mdGk=",
        "X-Google-Smtp-Source": "ADKCNb6BM9a/8FqdKM/XcBl3OEt3U36tzNYbJwULe/+Erhz2ynIQxBoR9v07wpgN0x8sVxul5Jgs8Q==",
        "X-Received": "by 10.84.244.6 with SMTP id g6mr21851307pll.223.1505324262260;\n\tWed, 13 Sep 2017 10:37:42 -0700 (PDT)",
        "From": "Andrey Smirnov <andrew.smirnov@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Wed, 13 Sep 2017 10:37:24 -0700",
        "Message-Id": "<20170913173724.6157-1-andrew.smirnov@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "Cc": "Andrey Smirnov <andrew.smirnov@gmail.com>",
        "Subject": "[Buildroot] [PATCH] package/lzo: Set CMAKE_INSTALL_LIBDIR for host\n\tvariant explicitly",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Building host-lzo on 64-bit Fedora 26 ends up with library files\ninstalled into $(HOST_DIR)/lib64 instead of $(HOST_DIR)/lib where\nother packages (at least host-mtd) depending on it would look for it\n(resulting in build failures). Fix that by specifying the directory to\nbe lib/ explicitly.\n\nSigned-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\n---\n\nI suspect this might not be the best solution for this problem, but it\nis a good starting point to discuss what might be and that's why I\nsubmitted this patch anyway.\n\nThanks,\nAndrey Smirnov\n\n\n package/lzo/lzo.mk | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk\nindex 27ca459acf..4eccbdc93a 100644\n--- a/package/lzo/lzo.mk\n+++ b/package/lzo/lzo.mk\n@@ -23,5 +23,11 @@ else\n LZO_CONF_OPTS += -DENABLE_STATIC=OFF\n endif\n \n+#\n+# Make sure that libraries are installed in lib/ and not lib64/ so\n+# that other packages can discover it\n+#\n+HOST_LZO_CONF_OPTS += -DCMAKE_INSTALL_LIBDIR=lib\n+\n $(eval $(cmake-package))\n $(eval $(host-cmake-package))\n",
    "prefixes": []
}