get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807954,
    "url": "http://patchwork.ozlabs.org/api/patches/807954/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830224010.15658-1-romain.naour@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": "<20170830224010.15658-1-romain.naour@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-30T22:40:10",
    "name": "package/xmlstarlet: fix host build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ccbd7ff9b65923eb59b44fd9f4b8cdd185fb09ac",
    "submitter": {
        "id": 67942,
        "url": "http://patchwork.ozlabs.org/api/people/67942/?format=api",
        "name": "Romain Naour",
        "email": "romain.naour@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830224010.15658-1-romain.naour@gmail.com/mbox/",
    "series": [
        {
            "id": 712,
            "url": "http://patchwork.ozlabs.org/api/series/712/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=712",
            "date": "2017-08-30T22:40:10",
            "name": "package/xmlstarlet: fix host build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/712/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807954/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807954/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=\"nIXBUTFp\"; 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 3xjL7J4HbQz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 08:40:27 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9770485E94;\n\tWed, 30 Aug 2017 22:40:22 +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 ahFGfGc5DrZt; Wed, 30 Aug 2017 22:40:20 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8B16589380;\n\tWed, 30 Aug 2017 22:40:20 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id CBF001C12A6\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 22:40:19 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C417E880E2\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 22:40:19 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 1y95Y2f8oHRs for <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 22:40:19 +0000 (UTC)",
            "from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 1EE65874B5\n\tfor <buildroot@buildroot.org>; Wed, 30 Aug 2017 22:40:19 +0000 (UTC)",
            "by mail-wm0-f68.google.com with SMTP id l19so3200177wmi.1\n\tfor <buildroot@buildroot.org>; Wed, 30 Aug 2017 15:40:19 -0700 (PDT)",
            "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tw10sm5212664wra.47.2017.08.30.15.40.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 15:40:16 -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:mime-version\n\t:content-transfer-encoding;\n\tbh=Dd4kCC8uiUoAD/uQKuMJBadsjooqsg7P2rCTSxqjTUg=;\n\tb=nIXBUTFpzI23eftbeIdT/gOqUOGX9AjlMQVSflFALnHxIELGXQL7FZdRV3BToAAwoL\n\t8fQ1K52gpugMY083rpzJmg5VhC+/uwulL/v2mt6jJQUHdYQucXDER0cFH6tXhZvkCPYZ\n\txASOxvwxWGwXp4tvgf0i83mBWZmcAextfGsm0NEGv/23wxvdZtVmSZ0zwue+7Ieynp8V\n\tyZuBv08Fsb+0gcAl8zcRmJdQgBrux1tQ0ryd5aeai3H/Me3pr1YIyoqrOujbidiyuhvS\n\t6W71A7nSQ7Ybrq+prfJT2sTQYVJAVo9vpxoG6gNvkqFb05DH/ICf2+04S5fqr5vXAo47\n\tMTHA==",
        "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:mime-version\n\t:content-transfer-encoding;\n\tbh=Dd4kCC8uiUoAD/uQKuMJBadsjooqsg7P2rCTSxqjTUg=;\n\tb=KlQxq/bmYkPch3rs3Qjk+ctzRTcHdNi4RvJB6NxfaNFbrkp8dJkf+4CIPQSQT791uS\n\tHMnKj9+KDPhK9xRh2iUut7qnVbiiKALGXXeLJUbqaxeJp+G+h332I9CzzpHwBepzjYRa\n\tsQF2GPCDwHhxTEpjqIwaW0XiXlxg+Tx1z/ImZQ4nVZNNHPEUk6ONkTfXAYtelu5NKBav\n\tB6dIUA7MqobbgBOGQg5AX4f5EAFoJuxRZt/FN7wGWZBBHstO5L+fiO5jx/6OV7A9DDTI\n\tEc4fB6Uez+uzwcgw29vCNmXCGhFTm+qKuhxFtc4FpIB43eJa8r2i4E+hc8aEOw3TpfO/\n\tWRfA==",
        "X-Gm-Message-State": "AHYfb5hCenGTKwuK4pp3nXegCruZKGyN4ks7a8H/YYwL5R59RKBtmyWF\n\tDnfKc36Bu740oJ9A75o=",
        "X-Received": "by 10.28.173.4 with SMTP id w4mr2118982wme.139.1504132817020;\n\tWed, 30 Aug 2017 15:40:17 -0700 (PDT)",
        "From": "Romain Naour <romain.naour@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu, 31 Aug 2017 00:40:10 +0200",
        "Message-Id": "<20170830224010.15658-1-romain.naour@gmail.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "MIME-Version": "1.0",
        "Cc": "Bernd Kuhls <bernd.kuhls@t-online.de>,\n\tRomain Naour <romain.naour@gmail.com>",
        "Subject": "[Buildroot] [PATCH] package/xmlstarlet: fix host build",
        "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>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Provide the path to HOST_DIR for libxml, libxslt and libiconv like for\nthe target variant.\n\nFixes:\nsrc/xml_C14N.c:12:31: erreur fatale : libxml/xmlversion.h : No such file or directory\n #include <libxml/xmlversion.h>\n                               ^\nIn file included from src/trans.c:4:0:\nsrc/trans.h:32:30: erreur fatale : libxml/xmlmemory.h : No such file or directory\n #include <libxml/xmlmemory.h>\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\nCc: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/xmlstarlet/xmlstarlet.mk | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/package/xmlstarlet/xmlstarlet.mk b/package/xmlstarlet/xmlstarlet.mk\nindex 9920dcf..673eedb 100644\n--- a/package/xmlstarlet/xmlstarlet.mk\n+++ b/package/xmlstarlet/xmlstarlet.mk\n@@ -26,5 +26,10 @@ endif\n \n HOST_XMLSTARLET_DEPENDENCIES += host-libxml2 host-libxslt\n \n+HOST_XMLSTARLET_CONF_OPTS += \\\n+\t--with-libxml-prefix=$(HOST_DIR)/usr \\\n+\t--with-libxslt-prefix=$(HOST_DIR)/usr \\\n+\t--with-libiconv-prefix=$(HOST_DIR)/usr\n+\n $(eval $(autotools-package))\n $(eval $(host-autotools-package))\n",
    "prefixes": []
}