get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231565,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231565/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260430204629.2348524-1-jwakely@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260430204629.2348524-1-jwakely@redhat.com>",
    "date": "2026-04-30T20:44:49",
    "name": "[committed] libstdc++: Add <bits/binders.h> to freestanding headers [PR125112]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7e0cf7ff8c37a8666998c0b505f4fb18cab10d40",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260430204629.2348524-1-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 502383,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502383/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502383",
            "date": "2026-04-30T20:44:49",
            "name": "[committed] libstdc++: Add <bits/binders.h> to freestanding headers [PR125112]",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502383/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231565/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231565/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=WOSwVkM5;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=WOSwVkM5",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g65nv4zJgz1y1d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 06:47:14 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 59BE942D377F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 20:47:12 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id B22CB4099F88\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 20:46:36 +0000 (GMT)",
            "from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-314-EaPn0n98PhyCUMdtbx_3mw-1; Thu,\n 30 Apr 2026 16:46:33 -0400",
            "from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 346CC195608E; Thu, 30 Apr 2026 20:46:32 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.50.237])\n by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 112ED1800480; Thu, 30 Apr 2026 20:46:30 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 59BE942D377F",
            "OpenDKIM Filter v2.11.0 sourceware.org B22CB4099F88"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org B22CB4099F88",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org B22CB4099F88",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777581996; cv=none;\n b=VPVYn51UN5JRr9msjwHVkeG/ap9gsvvsUKYS0wAbWYT7mo+9LPkY2c9Z5QVKjRT3+CstYJvDW0RNTi4eJJM+ZkVhwUuka0k/HrvxQYdUJmZUPIvqYeozXGkyXeowJlvp09QBwTcZoCHjqPUw6DTVcwbEmSWXtqJNusYUqVSNokU=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777581996; c=relaxed/simple;\n bh=oX9VDZluE6tBCDH2Z4QFtzblynVY0pHz103hZ9lwd2Y=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=FYjQKGXJyA+EZSGEfcW+W5oWtcY153YMIrvUfLryh9D7dc3nMjvW2NIzViv344iM+FJPxri2G8cBgWTbQrSjMaZXAfzeiSGTyzsD7Eh+CMtcK5n/3WjPJOCqmuxiVsqimP2XJjTDyOZy3+zCSahqk4qtFkq7sjWYJwH7AV+WBeA=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777581996;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=PuTpewI6UMTK0HUNL1Ym4TWJojLLG6zVukOFwNh0hxQ=;\n b=WOSwVkM5EhWGcg7mm3lGNsxjguv7+1pAAN3qFeIGoCMSnN5o8xi0fWSYD/DnHXo0+Vkjr4\n cb7iEj4EDDyj4ICkukBp1eH1HQA1dbAdjsWKHkE7WN56JMym5EbMJ50sEg/oF88DMq94nW\n GnQx8ZOQ+Ne4TlW6VbWvT36nx5J7C0c=",
        "X-MC-Unique": "EaPn0n98PhyCUMdtbx_3mw-1",
        "X-Mimecast-MFC-AGG-ID": "EaPn0n98PhyCUMdtbx_3mw_1777581992",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "libstdc++@gcc.gnu.org,\n\tgcc-patches@gcc.gnu.org",
        "Subject": "[committed] libstdc++: Add <bits/binders.h> to freestanding headers\n [PR125112]",
        "Date": "Thu, 30 Apr 2026 21:44:49 +0100",
        "Message-ID": "<20260430204629.2348524-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.93",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "-UmJTB9niTinr46jR01c7yzUB0lPz2fNiTg_DI6bE5o_1777581992",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "From: Felix Morgner <felix.morgner@gmail.com>\n\nThe <ranges> header was added to the freestanding headers in\nr16-3575-g1a41e52d7ecb58 but bits/binders.h that it depends on was not\nmoved, making <ranges> unusable with --disable-libstdcxx-hosted.\n\nlibstdc++-v3/ChangeLog:\n\n\tPR libstdc++/125112\n\t* include/Makefile.am: Move bits/binders.h from bits_headers to\n\tbits_freestanding.\n\t* include/Makefile.in:\n---\n\nTested x86_64-linux. Pushed to trunk and gcc-16.\n\nAs noted in bugzilla, <ranges> also uses <cwchar> so if you don't use\n--disable-wchar_t with --disable-hosted-libstdcxx then you still can't\nuse <ranges> in a freestanding build. That can be fixed separately.\n\n libstdc++-v3/include/Makefile.am | 2 +-\n libstdc++-v3/include/Makefile.in | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am\nindex e9e46139da2f..ec932181a966 100644\n--- a/libstdc++-v3/include/Makefile.am\n+++ b/libstdc++-v3/include/Makefile.am\n@@ -129,6 +129,7 @@ bits_freestanding = \\\n \t${bits_srcdir}/alloc_traits.h \\\n \t${bits_srcdir}/atomic_base.h \\\n \t${bits_srcdir}/c++0x_warning.h \\\n+\t${bits_srcdir}/binders.h \\\n \t${bits_srcdir}/boost_concept_check.h \\\n \t${bits_srcdir}/concept_check.h \\\n \t${bits_srcdir}/char_traits.h \\\n@@ -201,7 +202,6 @@ bits_headers = \\\n \t${bits_srcdir}/basic_ios.tcc \\\n \t${bits_srcdir}/basic_string.h \\\n \t${bits_srcdir}/basic_string.tcc \\\n-\t${bits_srcdir}/binders.h \\\n \t${bits_srcdir}/charconv.h \\\n \t${bits_srcdir}/chrono.h \\\n \t${bits_srcdir}/chrono_io.h \\\ndiff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in\nindex f3d2f58dbe42..00ae5209f604 100644\n--- a/libstdc++-v3/include/Makefile.in\n+++ b/libstdc++-v3/include/Makefile.in\n@@ -487,6 +487,7 @@ bits_freestanding = \\\n \t${bits_srcdir}/alloc_traits.h \\\n \t${bits_srcdir}/atomic_base.h \\\n \t${bits_srcdir}/c++0x_warning.h \\\n+\t${bits_srcdir}/binders.h \\\n \t${bits_srcdir}/boost_concept_check.h \\\n \t${bits_srcdir}/concept_check.h \\\n \t${bits_srcdir}/char_traits.h \\\n@@ -557,7 +558,6 @@ bits_freestanding = \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/basic_ios.tcc \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/basic_string.h \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/basic_string.tcc \\\n-@GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/binders.h \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/charconv.h \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/chrono.h \\\n @GLIBCXX_HOSTED_TRUE@\t${bits_srcdir}/chrono_io.h \\\n",
    "prefixes": [
        "committed"
    ]
}