get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228385,
    "url": "http://patchwork.ozlabs.org/api/patches/2228385/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uclibc-ng/patch/20260426112526.3105-1-marcus.haehnel@kernkonzept.com/",
    "project": {
        "id": 55,
        "url": "http://patchwork.ozlabs.org/api/projects/55/?format=api",
        "name": "uClibc NG development",
        "link_name": "uclibc-ng",
        "list_id": "devel.uclibc-ng.org",
        "list_email": "devel@uclibc-ng.org",
        "web_url": "http://www.uclibc-ng.org",
        "scm_url": "",
        "webscm_url": "http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260426112526.3105-1-marcus.haehnel@kernkonzept.com>",
    "list_archive_url": null,
    "date": "2026-04-26T11:25:20",
    "name": "[uclibc-ng-devel] termios.h: Add IBSHIFT",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "bf1d671ea46cc857628598851734e2dc34224f62",
    "submitter": {
        "id": 82754,
        "url": "http://patchwork.ozlabs.org/api/people/82754/?format=api",
        "name": "Marcus Haehnel",
        "email": "marcus.haehnel@kernkonzept.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uclibc-ng/patch/20260426112526.3105-1-marcus.haehnel@kernkonzept.com/mbox/",
    "series": [
        {
            "id": 501526,
            "url": "http://patchwork.ozlabs.org/api/series/501526/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uclibc-ng/list/?series=501526",
            "date": "2026-04-26T11:25:20",
            "name": "[uclibc-ng-devel] termios.h: Add IBSHIFT",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501526/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228385/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228385/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<devel-bounces@uclibc-ng.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com\n header.a=rsa-sha256 header.s=mx1 header.b=mPt7cIsZ;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org\n (client-ip=89.238.66.15; helo=helium.openadk.org;\n envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org)",
            "helium.openadk.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com\n header.a=rsa-sha256 header.s=mx1 header.b=mPt7cIsZ;\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from helium.openadk.org (helium.openadk.org [89.238.66.15])\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 4g3PX93vtLz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 21:25:59 +1000 (AEST)",
            "from helium.openadk.org (localhost [127.0.0.1])\n\tby helium.openadk.org (Postfix) with ESMTP id A8EDF31E0D12;\n\tSun, 26 Apr 2026 13:25:52 +0200 (CEST)",
            "from mx.kernkonzept.com (serv1.kernkonzept.com [159.69.200.6])\n\tby helium.openadk.org (Postfix) with ESMTPS id 3060B31E0447\n\tfor <devel@uclibc-ng.org>; Sun, 26 Apr 2026 13:25:32 +0200 (CEST)",
            "from [212.185.66.18] (helo=amethyst.dd1.int.kernkonzept.com)\n\tby mx.kernkonzept.com with esmtpsa\n (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98.2)\n\tid 1wGxcB-000000038NE-0vuu;\n\tSun, 26 Apr 2026 13:25:31 +0200"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=kernkonzept.com; s=mx1; h=Content-Transfer-Encoding:MIME-Version:Message-ID\n\t:Date:Subject:Cc:To:From:References:In-Reply-To:Reply-To:Content-Type:\n\tContent-ID:Content-Description;\n\tbh=WPWtVqoi4lMWMgwOVAdslNYnl6reIHnif5lV80XeToQ=; b=mPt7cIsZG8em7FlQYPsd6hie8s\n\tumtHF4QYNIqk8zvibVTNHk/360CmR2+aartdrN1RmNXsjP5mkrJ/O0Aa0nmDfTEaNbUFJE6mX9F2n\n\tmRA+8t+xOQmG2FTrh0IhFwWzV8ZdI47tGDGHJW5Aw5mF4SHpHKB78azYJNLFu+5iv9tZ28q4C+WGs\n\t/wBKlj9Cop0XkWlWGpbf8saJvXYw/hMBdqHC0PioqTy6Bzp3LhH3Hq1wkdd184LDgj7xI7ZKXL/H7\n\txBeZ0ieH6qESw0YBoYOqunLAF0bPEMSUX5eQw/tvEv2T+Q+twC37aT8sPJumhyrEN8SbT2qULKBW1\n\tfmIJ7FHA==;",
        "From": "Marcus Haehnel <marcus.haehnel@kernkonzept.com>",
        "To": "devel@uclibc-ng.org",
        "Date": "Sun, 26 Apr 2026 13:25:20 +0200",
        "Message-ID": "<20260426112526.3105-1-marcus.haehnel@kernkonzept.com>",
        "X-Mailer": "git-send-email 2.51.0",
        "MIME-Version": "1.0",
        "Message-ID-Hash": "MONELGSMLRJJWN77RV6SV4E44N3JBQ6T",
        "X-Message-ID-Hash": "MONELGSMLRJJWN77RV6SV4E44N3JBQ6T",
        "X-MailFrom": "marcus.haehnel@kernkonzept.com",
        "X-Mailman-Rule-Misses": "dmarc-mitigation; no-senders; approved; loop;\n banned-address; emergency; member-moderation; nonmember-moderation;\n administrivia; implicit-dest; max-recipients; max-size; news-moderation;\n no-subject; digests; suspicious-header",
        "CC": "Adam Lackorzynski <adam@l4re.org>,\n Marcus Haehnel <marcus.haehnel@kernkonzept.com>",
        "X-Mailman-Version": "3.3.10",
        "Precedence": "list",
        "Subject": "[uclibc-ng-devel] [PATCH] termios.h: Add IBSHIFT",
        "List-Id": "uClibc-ng Development <devel.uclibc-ng.org>",
        "Archived-At": "\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/message/MONELGSMLRJJWN77RV6SV4E44N3JBQ6T/>",
        "List-Archive": "\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/>",
        "List-Help": "<mailto:devel-request@uclibc-ng.org?subject=help>",
        "List-Owner": "<mailto:devel-owner@uclibc-ng.org>",
        "List-Post": "<mailto:devel@uclibc-ng.org>",
        "List-Subscribe": "<mailto:devel-join@uclibc-ng.org>",
        "List-Unsubscribe": "<mailto:devel-leave@uclibc-ng.org>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit"
    },
    "content": "From: Adam Lackorzynski <adam@l4re.org>\n\nThe IBSHIFT define is used by gdb which fails to compile without it.\n\nSigned-off-by: Adam Lackorzynski <adam@l4re.org>\nSigned-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>\n---\n libc/sysdeps/linux/common/bits/termios.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/libc/sysdeps/linux/common/bits/termios.h b/libc/sysdeps/linux/common/bits/termios.h\nindex 10f0899490..7061675f7e 100644\n--- a/libc/sysdeps/linux/common/bits/termios.h\n+++ b/libc/sysdeps/linux/common/bits/termios.h\n@@ -176,6 +176,8 @@ struct termios\n # define CRTSCTS  020000000000\t\t/* flow control */\n #endif\n \n+#define IBSHIFT         16              /* Shift from CBAUD to CIBAUD */\n+\n /* c_lflag bits */\n #define ISIG\t0000001\n #define ICANON\t0000002\n",
    "prefixes": [
        "uclibc-ng-devel"
    ]
}