get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 230,
    "url": "http://patchwork.ozlabs.org/api/patches/230/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/cbe-oss-dev/patch/48C8142F.9080105@am.sony.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.ozlabs.org/api/projects/1/?format=api",
        "name": "Cell Broadband Engine development",
        "link_name": "cbe-oss-dev",
        "list_id": "cbe-oss-dev.ozlabs.org",
        "list_email": "cbe-oss-dev@ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<48C8142F.9080105@am.sony.com>",
    "list_archive_url": null,
    "date": "2008-09-10T18:38:39",
    "name": "MARS: fix makefile kernel lib build order",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4443d1b2dc4c0b684e997854e19dee81e47a5f54",
    "submitter": {
        "id": 127,
        "url": "http://patchwork.ozlabs.org/api/people/127/?format=api",
        "name": "Yuji Mano",
        "email": "yuji.mano@am.sony.com"
    },
    "delegate": {
        "id": 26,
        "url": "http://patchwork.ozlabs.org/api/users/26/?format=api",
        "username": "ymano",
        "first_name": "Yuji",
        "last_name": "Mano",
        "email": "yuji.mano@am.sony.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/cbe-oss-dev/patch/48C8142F.9080105@am.sony.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/230/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/230/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork@ozlabs.org",
            "cbe-oss-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork@ozlabs.org",
            "cbe-oss-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id D5337DE0E1\n\tfor <patchwork@ozlabs.org>; Thu, 11 Sep 2008 04:39:05 +1000 (EST)",
            "from IE1EHSOBE001.bigfish.com (outbound-dub.frontbridge.com\n\t[213.199.154.16]) by ozlabs.org (Postfix) with ESMTP id CB669DDFD7\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 11 Sep 2008 04:38:48 +1000 (EST)",
            "from mail105-dub-R.bigfish.com (10.5.252.3) by\n\tIE1EHSOBE001.bigfish.com (10.5.252.21) with Microsoft SMTP Server id\n\t8.1.291.1; Wed, 10 Sep 2008 18:38:44 +0000",
            "from mail105-dub (localhost.localdomain [127.0.0.1])\tby\n\tmail105-dub-R.bigfish.com (Postfix) with ESMTP id EF8EE8481DC\tfor\n\t<cbe-oss-dev@ozlabs.org>; Wed, 10 Sep 2008 18:38:43 +0000 (UTC)",
            "by mail105-dub (MessageSwitch) id 1221071923461322_6703;\n\tWed, 10 Sep 2008 18:38:43 +0000 (UCT)",
            "from mail8.fw-bc.sony.com (mail8.fw-bc.sony.com [160.33.98.75])\tby\n\tmail105-dub.bigfish.com (Postfix) with ESMTP id C908615A8051\tfor\n\t<cbe-oss-dev@ozlabs.org>; Wed, 10 Sep 2008 18:38:41 +0000 (UTC)",
            "from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com\n\t[43.134.1.211])\tby mail8.fw-bc.sony.com (8.14.2/8.14.2) with ESMTP id\n\tm8AIceek006929\tfor <cbe-oss-dev@ozlabs.org>;\n\tWed, 10 Sep 2008 18:38:41 GMT",
            "from USSDIXIM02.am.sony.com (ussdixim02.am.sony.com\n\t[43.130.140.34])\n\tby mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id\n\tm8AIcev4025875\n\tfor <cbe-oss-dev@ozlabs.org>; Wed, 10 Sep 2008 18:38:40 GMT",
            "from ussdixms03.am.sony.com ([43.130.140.23]) by\n\tUSSDIXIM02.am.sony.com with Microsoft SMTPSVC(5.0.2195.6713);\n\tWed, 10 Sep 2008 11:38:40 -0700",
            "from [43.135.148.175] ([43.135.148.175]) by ussdixms03.am.sony.com\n\twith Microsoft SMTPSVC(5.0.2195.6713);\n\tWed, 10 Sep 2008 11:38:40 -0700"
        ],
        "X-BigFish": "VS6(zzzz10c0j10d3izz2b68kz2dh6bh62h)",
        "X-Spam-TCS-SCL": "1:0",
        "Message-ID": "<48C8142F.9080105@am.sony.com>",
        "Date": "Wed, 10 Sep 2008 11:38:39 -0700",
        "From": "Yuji Mano <yuji.mano@am.sony.com>",
        "User-Agent": "Thunderbird 2.0.0.5 (X11/20070719)",
        "MIME-Version": "1.0",
        "To": "CBE Development <cbe-oss-dev@ozlabs.org>",
        "References": "<48C6E362.7070007@am.sony.com>",
        "In-Reply-To": "<48C6E362.7070007@am.sony.com>",
        "X-Enigmail-Version": "0.95.7",
        "X-OriginalArrivalTime": "10 Sep 2008 18:38:40.0064 (UTC)\n\tFILETIME=[71A67C00:01C91374]",
        "X-SEL-encryption-scan": "scanned",
        "Subject": "[Cbe-oss-dev] [PATCH 1/2 v2]MARS: fix makefile kernel lib build\n\torder",
        "X-BeenThere": "cbe-oss-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Discussion about Open Source Software for the Cell Broadband Engine\n\t<cbe-oss-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/cbe-oss-dev>",
        "List-Post": "<mailto:cbe-oss-dev@ozlabs.org>",
        "List-Help": "<mailto:cbe-oss-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org",
        "Errors-To": "cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org"
    },
    "content": "This fixes a bug in the Makefile that would build the kernel before the lib\nwhich the kernel is dependent on.\n\nThis also makes sure the kernel links the lib in the build source and not just\nany libmars.a it finds in the library search path.\n\nSigned-off-by: Yuji Mano <yuji.mano@am.sony.com>",
    "diff": "--- a/src/mpu/Makefile.am\n+++ b/src/mpu/Makefile.am\n@@ -36,7 +36,7 @@\n #  LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.\n #\n \n-SUBDIRS = kernel lib\n+SUBDIRS = lib kernel\n \n EXTRA_DIST = \\\n \tbootstrap \\\n--- a/src/mpu/kernel/Makefile.am\n+++ b/src/mpu/kernel/Makefile.am\n@@ -54,13 +54,12 @@ mars_kernel_CFLAGS = \\\n \t-Wmissing-declarations\n \n mars_kernel_LDFLAGS = \\\n-\t-L../lib \\\n \t-Wl,--defsym=__stack=0x0fff0 \\\n \t-Wl,-gc-sections \\\n \t-Wl,-N \\\n \t-Wl,-s\n \n-mars_kernel_LDADD = -lmars\n+mars_kernel_LDADD = $(builddir)/../lib/libmars.a\n \n mars_kernel_SOURCES = \\\n \tmars_kernel.c \\\n",
    "prefixes": []
}