get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814533,
    "url": "http://patchwork.ozlabs.org/api/patches/814533/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916165327.7428-1-bernd.kuhls@t-online.de/",
    "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": "<20170916165327.7428-1-bernd.kuhls@t-online.de>",
    "list_archive_url": null,
    "date": "2017-09-16T16:53:27",
    "name": "[1/1] package/omniorb: bump version to 4.2.2",
    "commit_ref": "f1e0d85d3e67de4f15a0f160579e0fd4c2f2a1e4",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "3cc8e1bb2ad3b8a8a032b74e4406932b200eebe2",
    "submitter": {
        "id": 62613,
        "url": "http://patchwork.ozlabs.org/api/people/62613/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd.kuhls@t-online.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916165327.7428-1-bernd.kuhls@t-online.de/mbox/",
    "series": [
        {
            "id": 3458,
            "url": "http://patchwork.ozlabs.org/api/series/3458/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3458",
            "date": "2017-09-16T16:53:27",
            "name": "[1/1] package/omniorb: bump version to 4.2.2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3458/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814533/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814533/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.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xvddK5lkvz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 02:53:41 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 2A8E830778;\n\tSat, 16 Sep 2017 16:53:39 +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 XGTO8KLjYhEJ; Sat, 16 Sep 2017 16:53:36 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id BABD83076F;\n\tSat, 16 Sep 2017 16:53:36 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 821AD1C25A5\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 16:53:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7A6F683B14\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 16:53:35 +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 WouAz0isPvKC for <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 16:53:34 +0000 (UTC)",
            "from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id C90DD835E3\n\tfor <buildroot@buildroot.org>; Sat, 16 Sep 2017 16:53:33 +0000 (UTC)",
            "from fwd35.aul.t-online.de (fwd35.aul.t-online.de [172.20.27.145])\n\tby mailout06.t-online.de (Postfix) with SMTP id D521041C756A;\n\tSat, 16 Sep 2017 18:53:31 +0200 (CEST)",
            "from fli4l.lan.fli4l\n\t(Jr77u6ZUghu46mhlp2DnqDJjSTRHwQQ3BIKzfDPcR+Brr+BHULgv6Ss5+iVIbJLg9g@[79.228.1.99])\n\tby fwd35.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dtGLR-0v7lvU0; Sat, 16 Sep 2017 18:53:29 +0200",
            "from mahler.lan.fli4l ([192.168.1.1]:36786 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dtGLQ-00017z-26; Sat, 16 Sep 2017 18:53:28 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Bernd Kuhls <bernd.kuhls@t-online.de>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat, 16 Sep 2017 18:53:27 +0200",
        "Message-Id": "<20170916165327.7428-1-bernd.kuhls@t-online.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "X-ID": "Jr77u6ZUghu46mhlp2DnqDJjSTRHwQQ3BIKzfDPcR+Brr+BHULgv6Ss5+iVIbJLg9g",
        "X-TOI-MSGID": "e3f2877c-8d36-47a0-ab12-0c1ab216f6fe",
        "Subject": "[Buildroot] [PATCH 1/1] package/omniorb: bump version to 4.2.2",
        "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": "Removed patch after upstream committed a different solution:\nhttps://sourceforge.net/p/omniorb/svn/6330/\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n .../0001-fix-unistd-sys-time-includes.patch        | 61 ----------------------\n package/omniorb/omniorb.hash                       |  6 +--\n package/omniorb/omniorb.mk                         |  2 +-\n 3 files changed, 4 insertions(+), 65 deletions(-)\n delete mode 100644 package/omniorb/0001-fix-unistd-sys-time-includes.patch",
    "diff": "diff --git a/package/omniorb/0001-fix-unistd-sys-time-includes.patch b/package/omniorb/0001-fix-unistd-sys-time-includes.patch\ndeleted file mode 100644\nindex 29d917b062..0000000000\n--- a/package/omniorb/0001-fix-unistd-sys-time-includes.patch\n+++ /dev/null\n@@ -1,61 +0,0 @@\n-omniorb/thread: use proper autoconf macros for header inclusion\n-\n-src/lib/omnithread/posix.cc uses sleep() and usleep(), defined in\n-<unistd.h> on numerous platforms, and struct timeval/gettimeofday(),\n-defined in <sys/time.h> on various platforms.\n-\n-Since those header files are not available on all platforms, posix.cc\n-currently uses the following condition:\n-\n-#if (defined(__GLIBC__) && __GLIBC__ >= 2) || defined(__SCO_VERSION__) || defined(__aix__) || defined (__cygwin__) || defined(__darwin__) || defined(__macos__)\n-\n-Unfortunately, this falls short on Linux systems based on the musl C\n-library. Indeed, the musl C library does not define the __GLIBC__\n-symbol, but does have the sleep()/usleep() definitions in <unistd.h>,\n-and the struct timeval/gettimeofday() definitions in <sys/time.h>,\n-like any Linux system. Also, the musl C library does not define any\n-constant like __MUSL__ to distinguish it.\n-\n-Due to this, on musl based systems, <unistd.h> and <sys/time.h> are\n-not included, causing a build failure:\n-\n-posix.cc:864:22: error: '::sleep' has not been declared\n-       while ((secs = ::sleep(secs))) ;\n-                      ^\n-posix.cc:866:43: error: 'usleep' was not declared in this scope\n-  usleep(secs * 1000000 + (nanosecs / 1000));\n-                                           ^\n-posix.cc: In static member function 'static void omni_thread::get_time(long unsigned int*, long unsigned int*, long unsigned int, long unsigned int)':\n-posix.cc:904:20: error: aggregate 'omni_thread::get_time(long unsigned int*, long unsigned int*, long unsigned int, long unsigned int)::timeval tv' has incomplete type and cannot be defined\n-     struct timeval tv;\n-                    ^\n-posix.cc:905:24: error: 'gettimeofday' was not declared in this scope\n-     gettimeofday(&tv, 0); \n-\n-It turns out that the configure.ac already checks for the availability\n-of <unistd.h> and <sys/time.h>. So all what this patch does is use the\n-C defines generated by the configure script to decide whether\n-<unistd.h> and <sys/time.h> can be included or not.\n-\n-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n-\n-Index: b/src/lib/omnithread/posix.cc\n-===================================================================\n---- a/src/lib/omnithread/posix.cc\n-+++ b/src/lib/omnithread/posix.cc\n-@@ -78,10 +78,14 @@\n- #include <errno.h>\n- #include <time.h>\n- #include <omnithread.h>\n-+#include <omniORB4/acconfig.h>\n- \n--#if (defined(__GLIBC__) && __GLIBC__ >= 2) || defined(__SCO_VERSION__) || defined(__aix__) || defined (__cygwin__) || defined(__darwin__) || defined(__macos__)\n- // typedef of struct timeval and gettimeofday();\n-+#if defined(HAVE_SYS_TIME_H)\n- #include <sys/time.h>\n-+#endif\n-+\n-+#if defined(HAVE_UNISTD_H)\n- #include <unistd.h>\n- #endif\n- \ndiff --git a/package/omniorb/omniorb.hash b/package/omniorb/omniorb.hash\nindex 3d98b46619..3f4af2e64a 100644\n--- a/package/omniorb/omniorb.hash\n+++ b/package/omniorb/omniorb.hash\n@@ -1,3 +1,3 @@\n-# From http://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.2.1/\n-sha1\tcf0f3ca7caab901c9485ca8afd85087c080c9684\tomniORB-4.2.1.tar.bz2\n-md5\tdbe349d2bd929d349083b303bb4317e5\tomniORB-4.2.1.tar.bz2\n+# From http://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.2.2/\n+sha1 0c682542290cabb22878b3ef492de3e85c4b4281  omniORB-4.2.2.tar.bz2\n+md5 cc6b2a65a2b1c1b3d44b3ccbaf92e104  omniORB-4.2.2.tar.bz2\ndiff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk\nindex 557e5d1613..2f094b5769 100644\n--- a/package/omniorb/omniorb.mk\n+++ b/package/omniorb/omniorb.mk\n@@ -4,7 +4,7 @@\n #\n ################################################################################\n \n-OMNIORB_VERSION = 4.2.1\n+OMNIORB_VERSION = 4.2.2\n OMNIORB_SITE = http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-$(OMNIORB_VERSION)\n OMNIORB_SOURCE = omniORB-$(OMNIORB_VERSION).tar.bz2\n OMNIORB_INSTALL_STAGING = YES\n",
    "prefixes": [
        "1/1"
    ]
}