get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 320345,
    "url": "http://patchwork.ozlabs.org/api/patches/320345/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1392371709-26662-6-git-send-email-fabio.porcedda@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": "<1392371709-26662-6-git-send-email-fabio.porcedda@gmail.com>",
    "list_archive_url": null,
    "date": "2014-02-14T09:55:07",
    "name": "[v13,5/7] package: enable jobserver for recursive make",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "2f0f67b86488f85ad0952ac46f0efc7e42dc2921",
    "submitter": {
        "id": 13215,
        "url": "http://patchwork.ozlabs.org/api/people/13215/?format=api",
        "name": "Fabio Porcedda",
        "email": "fabio.porcedda@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1392371709-26662-6-git-send-email-fabio.porcedda@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/320345/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/320345/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"
        ],
        "Received": [
            "from silver.osuosl.org (silver.osuosl.org [140.211.166.136])\n\tby ozlabs.org (Postfix) with ESMTP id DBD7B2C00AF\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 14 Feb 2014 20:55:40 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id B02B4263AF;\n\tFri, 14 Feb 2014 09:55:36 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id usE4P6Xs6-Sx; Fri, 14 Feb 2014 09:55:35 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 8772D32F49;\n\tFri, 14 Feb 2014 09:55:35 +0000 (UTC)",
            "from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id BDDB81C2358\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 14 Feb 2014 09:55:31 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B99CD93EFD\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 14 Feb 2014 09:55:31 +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 Uf0W5VNRvRED for <buildroot@lists.busybox.net>;\n\tFri, 14 Feb 2014 09:55:31 +0000 (UTC)",
            "from mail-pa0-f47.google.com (mail-pa0-f47.google.com\n\t[209.85.220.47])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 52F8E93EFB\n\tfor <buildroot@uclibc.org>; Fri, 14 Feb 2014 09:55:31 +0000 (UTC)",
            "by mail-pa0-f47.google.com with SMTP id kp14so11955760pab.6\n\tfor <buildroot@uclibc.org>; Fri, 14 Feb 2014 01:55:31 -0800 (PST)",
            "from ld2077.tmt.telital.com ([213.205.6.118])\n\tby mx.google.com with ESMTPSA id\n\tos1sm36815176pac.20.2014.02.14.01.55.28 for <multiple recipients>\n\t(version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);\n\tFri, 14 Feb 2014 01:55:30 -0800 (PST)"
        ],
        "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=20120113;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding;\n\tbh=PH/gQ6gvhzlw9MhbNRA7ZB/x1OVes/EJLQajQbmFj1A=;\n\tb=dK3VBvwehbeMUJJYkKIvbGwlbcSynMqdOuFBo98sqKM3aBkBHLcHiw211y5BkDVU5L\n\tkuGFsteL3H87pisofGnJFMX/C7aTWDJvA9iZipZ3boPXnDznUo/a+z1yWAjH3jqQL3Ki\n\tEB1ubzO2i0IPmEEGeULdMS6IHOOYeqtYDQe4Jjrd6DGulYKR5emh1rVoViL0aWK+5/GP\n\tc/5S1lyIA/pRblM2eYiJJCIcPgPoFBNO2PkOtVPIOnJbZcKE6qk6YX+d4nW4887WUnrs\n\tf2URNkPwmxtLggxrMS+29PgwnFgcV3IZWsJfTlOsBLWT9MD3pAKKWilF2EaDnOXYmvUz\n\tOnvA==",
        "X-Received": "by 10.67.8.102 with SMTP id dj6mr8024944pad.10.1392371731057;\n\tFri, 14 Feb 2014 01:55:31 -0800 (PST)",
        "From": "Fabio Porcedda <fabio.porcedda@gmail.com>",
        "To": "buildroot@uclibc.org",
        "Date": "Fri, 14 Feb 2014 10:55:07 +0100",
        "Message-Id": "<1392371709-26662-6-git-send-email-fabio.porcedda@gmail.com>",
        "X-Mailer": "git-send-email 1.8.5.2",
        "In-Reply-To": "<1392371709-26662-1-git-send-email-fabio.porcedda@gmail.com>",
        "References": "<1392371709-26662-1-git-send-email-fabio.porcedda@gmail.com>",
        "MIME-Version": "1.0",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tDallas Clement <dallas.a.clement@gmail.com>",
        "Subject": "[Buildroot] [PATCH v13 5/7] package: enable jobserver for recursive\n\tmake",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.14",
        "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-bounces@busybox.net"
    },
    "content": "Add '+' prefix to the $($(PKG)_BUILD_CMDS) and $($(PKG)_INSTALL*_CMDS)\ncommands to enable jobserver for the sub-make.\n\nWithout the '+' prefix GNU make does not detect the sub-make so it\ndisable the jobserver for the sub-make.\n\nFrom GNU make documentation:\nUsing the MAKE variable has the same effect as using a ‘+’ character\nat the beginning of the recipe line.  This special feature is only\nenabled if the MAKE variable appears directly in the recipe: it does\nnot apply if the MAKE variable is referenced through expansion of\nanother variable. In the latter case you must use the ‘+’ token to get\nthese special effects.\n\nSigned-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>\n---\n package/pkg-generic.mk | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk\nindex fec16b0..acb6f62 100644\n--- a/package/pkg-generic.mk\n+++ b/package/pkg-generic.mk\n@@ -173,7 +173,7 @@ $(BUILD_DIR)/%/.stamp_configured:\n $(BUILD_DIR)/%/.stamp_built::\n \t@$(call step_start,build)\n \t@$(call MESSAGE,\"Building\")\n-\t$($(PKG)_BUILD_CMDS)\n+\t+$($(PKG)_BUILD_CMDS)\n \t$(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep))\n \t$(Q)touch $@\n \t@$(call step_end,build)\n@@ -182,7 +182,7 @@ $(BUILD_DIR)/%/.stamp_built::\n $(BUILD_DIR)/%/.stamp_host_installed:\n \t@$(call step_start,install-host)\n \t@$(call MESSAGE,\"Installing to host directory\")\n-\t$($(PKG)_INSTALL_CMDS)\n+\t+$($(PKG)_INSTALL_CMDS)\n \t$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep))\n \t$(Q)touch $@\n \t@$(call step_end,install-host)\n@@ -191,7 +191,7 @@ $(BUILD_DIR)/%/.stamp_host_installed:\n $(BUILD_DIR)/%/.stamp_staging_installed:\n \t@$(call step_start,install-staging)\n \t@$(call MESSAGE,\"Installing to staging directory\")\n-\t$($(PKG)_INSTALL_STAGING_CMDS)\n+\t+$($(PKG)_INSTALL_STAGING_CMDS)\n \t$(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep))\n \t$(Q)if test -n \"$($(PKG)_CONFIG_SCRIPTS)\" ; then \\\n \t\t$(call MESSAGE,\"Fixing package configuration files\") ;\\\n@@ -207,7 +207,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:\n $(BUILD_DIR)/%/.stamp_images_installed:\n \t@$(call step_start,install-image)\n \t@$(call MESSAGE,\"Installing to images directory\")\n-\t$($(PKG)_INSTALL_IMAGES_CMDS)\n+\t+$($(PKG)_INSTALL_IMAGES_CMDS)\n \t$(foreach hook,$($(PKG)_POST_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep))\n \t$(Q)touch $@\n \t@$(call step_end,install-image)\n@@ -220,7 +220,7 @@ $(BUILD_DIR)/%/.stamp_target_installed:\n \t\t$($(PKG)_INSTALL_INIT_SYSTEMD))\n \t$(if $(BR2_INIT_SYSV)$(BR2_INIT_BUSYBOX),\\\n \t\t$($(PKG)_INSTALL_INIT_SYSV))\n-\t$($(PKG)_INSTALL_TARGET_CMDS)\n+\t+$($(PKG)_INSTALL_TARGET_CMDS)\n \t$(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep))\n \t$(Q)if test -n \"$($(PKG)_CONFIG_SCRIPTS)\" ; then \\\n \t\t$(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ; \\\n",
    "prefixes": [
        "v13",
        "5/7"
    ]
}