get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219727,
    "url": "http://patchwork.ozlabs.org/api/patches/2219727/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260404012956.31845-2-peter0x44@disroot.org/",
    "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": "<20260404012956.31845-2-peter0x44@disroot.org>",
    "list_archive_url": null,
    "date": "2026-04-04T01:29:57",
    "name": "mingw: Remove obsolete STMP_FIXINC override from t-cygming",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ab69dd8586b77969b0d342e042b86321d65c32db",
    "submitter": {
        "id": 88243,
        "url": "http://patchwork.ozlabs.org/api/people/88243/?format=api",
        "name": "Peter Damianov",
        "email": "peter0x44@disroot.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260404012956.31845-2-peter0x44@disroot.org/mbox/",
    "series": [
        {
            "id": 498692,
            "url": "http://patchwork.ozlabs.org/api/series/498692/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498692",
            "date": "2026-04-04T01:29:57",
            "name": "mingw: Remove obsolete STMP_FIXINC override from t-cygming",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498692/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219727/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219727/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 secure) header.d=disroot.org header.i=@disroot.org header.a=rsa-sha256\n header.s=mail header.b=jHfXA1j/;\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 secure) header.d=disroot.org header.i=@disroot.org header.a=rsa-sha256\n header.s=mail header.b=jHfXA1j/",
            "sourceware.org;\n dmarc=pass (p=reject dis=none) header.from=disroot.org",
            "sourceware.org; spf=pass smtp.mailfrom=disroot.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=178.21.23.139"
        ],
        "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 4fndNZ0Sd1z1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 04 Apr 2026 12:31:20 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id A5C884BA9006\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  4 Apr 2026 01:31:18 +0000 (GMT)",
            "from layka.disroot.org (layka.disroot.org [178.21.23.139])\n by sourceware.org (Postfix) with ESMTPS id 5C5944BA23CF\n for <gcc-patches@gcc.gnu.org>; Sat,  4 Apr 2026 01:30:49 +0000 (GMT)",
            "from [127.0.0.1] (localhost [127.0.0.1])\n by disroot.org (Postfix) with ESMTP id 80054261CC;\n Sat,  4 Apr 2026 03:30:47 +0200 (CEST)",
            "from layka.disroot.org ([127.0.0.1])\n by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id zx_RaSE_UzZ7; Sat,  4 Apr 2026 03:30:47 +0200 (CEST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org A5C884BA9006",
            "OpenDKIM Filter v2.11.0 sourceware.org 5C5944BA23CF"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 5C5944BA23CF",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 5C5944BA23CF",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775266249; cv=none;\n b=m4kAADyqOobaC650cN4pe24bIrTyjp/4pPA3pgdNfJ122wOaef/TExl1/tius1wIcqA9bMMGTyAl6b4hzZD4nFD1iOcM8ntipT+n0cRemZYddGFGCBjE7GHfluw3hc646oy59bA63FXFuHWzTm+/g0HhmqNC9o1fpRyuFGpqla4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775266249; c=relaxed/simple;\n bh=50RTjUbm3DPhIsD+1bRjTKrx1kw5DreRbqRkvNs+A04=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=JtMY32FrEnVEG4k8suvE90i17PhpIaI/HGTibaxk3k3wYpSeOHcwUM4Wng9cfuK/VrsbX1mUnaFpZZ+8hW1hamYYIzkfU7k8S74uA8+4s9Nk/HzOWCbDTXliepB3S/moeg0y9PNYUot0bZ2JTjwDMeZ/Ep+BWjNf9s8fJP2QmwE=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "X-Virus-Scanned": "SPAM Filter at disroot.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;\n t=1775266246; bh=50RTjUbm3DPhIsD+1bRjTKrx1kw5DreRbqRkvNs+A04=;\n h=From:To:Cc:Subject:Date;\n b=jHfXA1j/cwF0Hx+q/+yfwn5FYzN+JUTM9a3bNpEdsD0DzjufTwDWDmuGewX6umtf6\n bqmsEH0D4hTXMBWfSEMn8whGw7iJOoRtV6BmohF6WXrqNBOuBCdlXRFZlLhXjjsS0/\n l6D9A2fEV6tnqtx5WPsAqil75dCLwArp1IqCnV4dtE9q6aI/OpU/uskTKzf3wCKN5D\n aCOhcWTxViRwWsJqfz+BD74qHQNZweFf+/Gudwp0zFSkCkEWCZGKiR3EG3aH+rV580\n dG2uTVu2vuBBR4z+1XqRRNP/zjjYSmUN7AAli1dYesHpxp5CqGk5tORa07vCMqPq+q\n lI3CNLigro6fw==",
        "From": "Peter Damianov <peter0x44@disroot.org>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Peter Damianov <peter0x44@disroot.org>",
        "Subject": "[PATCH] mingw: Remove obsolete STMP_FIXINC override from t-cygming",
        "Date": "Sat,  4 Apr 2026 02:29:57 +0100",
        "Message-ID": "<20260404012956.31845-2-peter0x44@disroot.org>",
        "MIME-Version": "1.0",
        "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": "The STMP_FIXINC assignment in t-cygming dates back to\nr0-48723-g70e5e841b8b931, which introduced the shared cygwin/mingw\nmakefile fragment and used it to force fixincludes on for those\ntargets.\n\nThat predates r0-63200-g53c7ffe7dd1c28, which made configure default\nSTMP_FIXINC to stmp-fixinc, so the t-cygming assignment is now\nredundant in normal builds.  Once --disable-fixincludes was added by\nr13-2319-gbe9dd80f933480, the old override became incorrect as well,\nbecause it forced stmp-fixinc back on for targets using t-cygming.\nConfiguring for mingw targets with --disable-fixincludes would then\nfail with:\n\nmake[1]: No rule to make target\n'../build-x86_64-pc-linux-gnu/fixincludes/fixinc.sh', needed by 'stmp-fixinc'.\nStop.\n\nRemove the obsolete assignment so the configure-time default is used,\nincluding when honoring an explicit --disable-fixincludes.\n\ngcc/ChangeLog:\n\n\t* config/mingw/t-cygming: Remove obsolete STMP_FIXINC\n\toverride.\n---\n\nTested on x86_64-w64-mingw32\n\n gcc/config/mingw/t-cygming | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/gcc/config/mingw/t-cygming b/gcc/config/mingw/t-cygming\nindex be3323d143a..4d0f99797c3 100644\n--- a/gcc/config/mingw/t-cygming\n+++ b/gcc/config/mingw/t-cygming\n@@ -61,5 +61,3 @@ msformat-c.o: $(srcdir)/config/mingw/msformat-c.cc $(CONFIG_H) $(SYSTEM_H) \\\n   $(TM_P_H) $(HASHTAB_H) $(GGC_H)\n \t$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \\\n \t$(srcdir)/config/mingw/msformat-c.cc\n-\n-STMP_FIXINC=stmp-fixinc\n",
    "prefixes": []
}