get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223175,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223175/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414160708.2041081-4-bernd@kuhls.net/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "msgid": "<20260414160708.2041081-4-bernd@kuhls.net>",
    "date": "2026-04-14T16:07:07",
    "name": "[4/5] package/wolfssl: fix build with libcurl >= 8.19.0",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4480a572b2a1c93fdbec078f5eb3ba81f4ebf3dd",
    "submitter": {
        "id": 86624,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/86624/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd@kuhls.net"
    },
    "delegate": {
        "id": 89618,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/89618/?format=api",
        "username": "juju",
        "first_name": "Julien",
        "last_name": "Olivain",
        "email": "juju@cotds.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414160708.2041081-4-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 499864,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499864/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499864",
            "date": "2026-04-14T16:07:05",
            "name": "[1/5] package/strongswan: remove unneeded wolfSSL fix",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499864/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223175/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223175/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=gEjtoRVL;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4fw8MD3Qrxz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 15 Apr 2026 02:08:08 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id E1C6642B21;\n\tTue, 14 Apr 2026 16:08:06 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XGJVn7_Ir77U; Tue, 14 Apr 2026 16:08:06 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 152CF42B25;\n\tTue, 14 Apr 2026 16:08:06 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 886D8237\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:08:04 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 6D1E540088\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:08:04 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id iJsP_x_YckAV for <buildroot@buildroot.org>;\n Tue, 14 Apr 2026 16:08:03 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 41BAC40055\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:08:03 +0000 (UTC)",
            "from fli4l.lan.fli4l (p54a1be9a.dip0.t-ipconnect.de\n [84.161.190.154])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id A2F77A4C2DFA;\n Tue, 14 Apr 2026 18:07:15 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:48116)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wCgI8-000000003ZX-1qr9;\n Tue, 14 Apr 2026 16:07:08 +0000"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 152CF42B25",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 41BAC40055"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776182886;\n\tbh=8jEF0HiGcroR6NL6i6HXmS27/yk3n8dpyg0+DzTMDUc=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=gEjtoRVLa6xRfJ2yJHk33pRrPi8KLOSfqQgrTzpjZkq2d6mKFg4q5bRWNv0U2cVbj\n\t IGJjAyTT1TO32d8cgGtvPj8/oYFNjRd05HsHjou53PzGjDV3sOBO8XnkYS5HUgUavk\n\t oNcV8Xj/EYY0LoHSyb36Kd2CH7u2eRvynsQd2ODVrekd0xwJ4eWyUwBUIAZ8PtkrMI\n\t tBAXQugYxl5GlL4kXDUrhj5OusDpx6Uxwuo2UPiT2sdGaoVXw72iIby6ZltjYngHVG\n\t h+vKEhvKsUVaxlTCRygFBuX+fQGKHb2cSgLUc7c5HRRyGgib2tYsV2rplr+VazIEFN\n\t nEkukfHsTw4Sw==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 41BAC40055",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Cc": "Dimitar Tomov <dimi@tpm.dev>,\n =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jezz@sysmic.org>,\n Sergio Prado <sergio.prado@e-labworks.com>",
        "Date": "Tue, 14 Apr 2026 18:07:07 +0200",
        "Message-ID": "<20260414160708.2041081-4-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260414160708.2041081-1-bernd@kuhls.net>",
        "References": "<20260414160708.2041081-1-bernd@kuhls.net>",
        "MIME-Version": "1.0",
        "X-Spamd-Bar": "--",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1776182835;\n bh=YUu6WR6ftZYCk1ANh4nES6KW6n72W3sbfI1vbpJqfIU=;\n h=From:To:Cc:Subject:Date:In-Reply-To:From;\n b=SGkHiRwAPbx593vbzh+Mr9bYEygU1voTsm0wAMd06PKr7nqNj7nARAT5WukXB+Gbv\n dfhK+kmFjkSjUy41CCb+7TF3kycbxuiQ4qgySW8oVU1t2it+Th1sKWnT2PCAQSbdC/\n hoQQ+L0AgEtDbRLGLeS2qThaPQkNWyI7VrGpY87YIiVJWSOhnfHQtY+QZmvz6ud7Pe\n vEnAnr5yiGc6U/ZDlyMueTQ0zEc4Ue8o2XtI7EvHbyclI4FU7rkK9IVLKUPSq3OhC9\n PROHoIwtlLeSwXWhTYL9RhqnBZ5uzSEOOCTsD5NXC4MVQW4mT8NxOWIqH05SzUDKyn\n tYfC3cRUif5OQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net\n header.a=rsa-sha256 header.s=kas202511301023 header.b=SGkHiRwA"
        ],
        "Subject": "[Buildroot] [PATCH 4/5] package/wolfssl: fix build with libcurl >=\n 8.19.0",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "wolfssl requires definition of SIZEOF_LONG_LONG. Commit 3a5e071e4f9\n(\"package/libcurl: security bump to version 8.19.0\") removed\nSIZEOF_LONG_LONG definitions from libcurl autotools build system,\nbreaking build with wolfssl.\n\nFixes:\nhttps://autobuild.buildroot.net/results/baa/baa74a47464ed3e21d0adad64dd0c7c708c9ef85/\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n ...TS_H-in-options.h-rather-than-config.patch | 60 +++++++++++++++++++\n 1 file changed, 60 insertions(+)\n create mode 100644 package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch",
    "diff": "diff --git a/package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch b/package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch\nnew file mode 100644\nindex 0000000000..67f9672c2a\n--- /dev/null\n+++ b/package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch\n@@ -0,0 +1,60 @@\n+From b54173fc402c30e81d66b84e2f9725cb6d944b40 Mon Sep 17 00:00:00 2001\n+From: Kareem <kareem@wolfssl.com>\n+Date: Fri, 27 Mar 2026 17:01:02 -0700\n+Subject: [PATCH] Define HAVE_LIMITS_H in options.h rather than config.h since\n+ types.h depends on this definition and config.h isn't consistently available\n+ at runtime. Fixes #9936.\n+\n+Upstream: https://github.com/wolfSSL/wolfssl/pull/10097\n+\n+[Bernd: rebased for 5.7.2]\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+---\n+ cmake/config.in    | 3 ---\n+ cmake/options.h.in | 3 +++\n+ configure.ac       | 4 +++-\n+ 3 files changed, 6 insertions(+), 4 deletions(-)\n+\n+diff --git a/cmake/config.in b/cmake/config.in\n+index f2524e41e43..6054b6dbe7b 100644\n+--- a/cmake/config.in\n++++ b/cmake/config.in\n+@@ -19,9 +19,6 @@\n+ /* Define to 1 if you have the `gmtime_r' function. */\n+ #cmakedefine HAVE_GMTIME_R @HAVE_GMTIME_R@\n+ \n+-/* Define to 1 if you have the <limits.h> header file. */\n+-#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@\n+-\n+ /* Define to 1 if you have the <pcap/pcap.h> header file. */\n+ #cmakedefine HAVE_PCAP_PCAP_H @HAVE_PCAP_PCAP_H@\n+ \n+diff --git a/cmake/options.h.in b/cmake/options.h.in\n+index 985b54241d6..c46ada8045d 100644\n+--- a/cmake/options.h.in\n++++ b/cmake/options.h.in\n+@@ -31,6 +31,9 @@ extern \"C\" {\n+ #endif\n+ \n+ #ifndef WOLFSSL_OPTIONS_IGNORE_SYS\n++/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */\n++#undef HAVE_LIMITS_H\n++#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@\n+ #undef _GNU_SOURCE\n+ #cmakedefine _GNU_SOURCE\n+ #undef _POSIX_THREADS\n+diff --git a/configure.ac b/configure.ac\n+index bce600f2ecc..c5cf9f320c7 100644\n+--- a/configure.ac\n++++ b/configure.ac\n+@@ -116,7 +116,9 @@\n+     AM_CCASFLAGS=\"$AM_CCASFLAGS -DWOLFSSL_EXPERIMENTAL_SETTINGS\"\n+ fi\n+ \n+-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h])\n++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h])\n++# Special case: Since types.h depends on HAVE_LIMITS_H, we must define it in options.h.\n++AC_CHECK_HEADER([limits.h], [AM_CPPFLAGS=\"$AM_CPPFLAGS -DHAVE_LIMITS_H=1\"], [])\n+ AC_CHECK_LIB([network],[socket])\n+ AC_C_BIGENDIAN\n+ AC_C___ATOMIC\n",
    "prefixes": [
        "4/5"
    ]
}