get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224921,
    "url": "http://patchwork.ozlabs.org/api/patches/2224921/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/cbd90abf-5216-4f4b-bac1-80e5c2403c41@netcologne.de/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<cbd90abf-5216-4f4b-bac1-80e5c2403c41@netcologne.de>",
    "list_archive_url": null,
    "date": "2026-04-19T14:46:44",
    "name": "[docs,fortran,committed] Fix spelling of options",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3e150113ee369fdcd5b6cc1292d505b9be989a52",
    "submitter": {
        "id": 4465,
        "url": "http://patchwork.ozlabs.org/api/people/4465/?format=api",
        "name": "Thomas Koenig",
        "email": "tkoenig@netcologne.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/cbd90abf-5216-4f4b-bac1-80e5c2403c41@netcologne.de/mbox/",
    "series": [
        {
            "id": 500511,
            "url": "http://patchwork.ozlabs.org/api/series/500511/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500511",
            "date": "2026-04-19T14:46:44",
            "name": "[docs,fortran,committed] Fix spelling of options",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500511/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224921/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224921/checks/",
    "tags": {},
    "related": [],
    "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 (2048-bit key;\n unprotected) header.d=netcologne.de header.i=@netcologne.de\n header.a=rsa-sha256 header.s=nc1116a header.b=UqkSAynm;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::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 (2048-bit key,\n unprotected) header.d=netcologne.de header.i=@netcologne.de\n header.a=rsa-sha256 header.s=nc1116a header.b=UqkSAynm",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=netcologne.de",
            "sourceware.org; spf=pass smtp.mailfrom=netcologne.de",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=89.1.8.211"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::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 4fzBL22YJxz1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 00:47:38 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 5EAE64CCCA1D\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 19 Apr 2026 14:47:36 +0000 (GMT)",
            "from cc-smtpout1.netcologne.de (cc-smtpout1.netcologne.de\n [89.1.8.211])\n by sourceware.org (Postfix) with ESMTPS id 9EEB14C318B0;\n Sun, 19 Apr 2026 14:46:47 +0000 (GMT)",
            "from cc-smtpin2.netcologne.de (cc-smtpin2.netcologne.de\n [89.1.8.202])\n by cc-smtpout1.netcologne.de (Postfix) with ESMTP id D4843127C9;\n Sun, 19 Apr 2026 16:46:45 +0200 (CEST)",
            "from [IPV6:2a0a:a549:6dc5:0:215e:979b:848d:fd20]\n (2a0a-a549-6dc5-0-215e-979b-848d-fd20.ipv6dyn.netcologne.de\n [IPv6:2a0a:a549:6dc5:0:215e:979b:848d:fd20])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by cc-smtpin2.netcologne.de (Postfix) with ESMTPSA id 7ADC211D7C;\n Sun, 19 Apr 2026 16:46:44 +0200 (CEST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 5EAE64CCCA1D",
            "OpenDKIM Filter v2.11.0 sourceware.org 9EEB14C318B0"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 9EEB14C318B0",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 9EEB14C318B0",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776610007; cv=none;\n b=XfCbekpyduWjxR6F5tr1PB+W7l8dnxBjhq2QVV7hxDQJsXGI7inQMxwaDAUu5wWRm+ewBuT+RDyTbxRagxJ9TLeTr0iAmYUzGtUZqzF5zNaX4ep5JhoDKMfwbCLp46DoSlaGx/qvjUkOUG1PlStmfJvcYFhYIcdBxg0oHk5zHAs=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776610007; c=relaxed/simple;\n bh=Ssg2oqj3qFoh1Vn1U2zkeUUCdXx39Oqgt8Nn9c2/fNo=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;\n b=PlChq+PoxXZms33Po1/39F4fTV5yBkadQpKA2lIlQKoD30UrTwOpiBsiLXnfP/j3KirVHY8Jm4NfO8V2AC50RwgrT44BzPpDr3a3soZDQUeRiZhnqPLL5CaX7rOwjW/gu9cw10Z05KSpZyIFNFri+T4CRO8mZcHuoNy7WnJioxY=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de;\n s=nc1116a; t=1776610005;\n bh=Ssg2oqj3qFoh1Vn1U2zkeUUCdXx39Oqgt8Nn9c2/fNo=;\n h=Message-ID:Date:To:From:Subject:From;\n b=UqkSAynmFawHhziY2C6odckQ3hRyYLytIJFyjBEltH7AJ6dKld6nMchaT1iVK4s+8\n pUrm6Fs1SQLm9urhCL2GW7Cgo6DJxmKG4oUD4lfuzrTi4sXqiTKPaB6PSiU90hJV2l\n 8IzvDgYX63GHuCfkkU3//B+dpaw1z42COYjInMjuAsGVODmQvgupddzQU0TdqTEwRh\n 2Eo4FDj3tbe5uTAQotJx1zSGH4WniKFhsTuJ9ACqFDaVTw34i8K9L2UE8pjVcYmwZI\n PzSMQSnz6lYZg2YfbKMHwDmbX5oSZ9mu4mxbpqFF+RoJiH2HEz87nujdlOxN1EmfvQ\n EJ98ejdJmP+JQ==",
        "Content-Type": "multipart/mixed; boundary=\"------------nkqZ8E2IZjqNAyhFqnlWtM0w\"",
        "Message-ID": "<cbd90abf-5216-4f4b-bac1-80e5c2403c41@netcologne.de>",
        "Date": "Sun, 19 Apr 2026 16:46:44 +0200",
        "MIME-Version": "1.0",
        "User-Agent": "Mozilla Thunderbird",
        "Content-Language": "en-US",
        "To": "\"fortran@gcc.gnu.org\" <fortran@gcc.gnu.org>,\n gcc-patches <gcc-patches@gcc.gnu.org>",
        "From": "Thomas Koenig <tkoenig@netcologne.de>",
        "Subject": "[patch, docs, fortran, committed] Fix spelling of options",
        "X-NetCologne-Spam": "L",
        "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": "Hello world,\n\nthe attached two-letter patch fixed the spelling of two options and\nmakes sure they appear in lang.opt.urls.  Doc patch committed\nas obvious and simple as r16-8750 after regenerating and testing.\n\nBest regards\n\n\tThomas\n\nFix typos in opindex for fc-prototypes and fc-prototypes-external.\n\ngcc/fortran/ChangeLog:\n\n\t* invoke.texi (fc-prototypes): Correct spelling for opindex.\n\t(fc-prototypes-external): Likewise.\n\t* lang.opt.urls: Regenerate.",
    "diff": "diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi\nindex 90836657af1..b3e74148a08 100644\n--- a/gcc/fortran/invoke.texi\n+++ b/gcc/fortran/invoke.texi\n@@ -2238,7 +2238,7 @@ shared by @command{gfortran}, @command{gcc}, and other GNU compilers.\n \n @table @gcctabopt\n \n-@opindex c-prototypes\n+@opindex fc-prototypes\n @cindex Generating C prototypes from Fortran BIND(C) enteties\n @item -fc-prototypes\n This option generates C prototypes from @code{BIND(C)} variable\n@@ -2261,7 +2261,7 @@ $ gfortran -fc-prototypes -fsyntax-only foo.f90 > foo.h\n where the C code intended for interoperating with the Fortran code\n then uses @code{#include \"foo.h\"}.\n \n-@opindex c-prototypes-external\n+@opindex fc-prototypes-external\n @cindex Generating C prototypes from external procedures\n @item -fc-prototypes-external\n This option generates C prototypes from external functions and\ndiff --git a/gcc/fortran/lang.opt.urls b/gcc/fortran/lang.opt.urls\nindex c3549feb024..d401ac826da 100644\n--- a/gcc/fortran/lang.opt.urls\n+++ b/gcc/fortran/lang.opt.urls\n@@ -312,6 +312,12 @@ LangUrlSuffix_Fortran(gfortran/Code-Gen-Options.html#index-fcheck-array-temporar\n fcray-pointer\n LangUrlSuffix_Fortran(gfortran/Fortran-Dialect-Options.html#index-fcray-pointer)\n \n+fc-prototypes\n+LangUrlSuffix_Fortran(gfortran/Interoperability-Options.html#index-fc-prototypes)\n+\n+fc-prototypes-external\n+LangUrlSuffix_Fortran(gfortran/Interoperability-Options.html#index-fc-prototypes-external)\n+\n fd-lines-as-code\n LangUrlSuffix_Fortran(gfortran/Fortran-Dialect-Options.html#index-fd-lines-as-code)\n \n",
    "prefixes": [
        "docs",
        "fortran",
        "committed"
    ]
}