get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222381,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222381/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260411102917.2045764-1-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": "<20260411102917.2045764-1-bernd@kuhls.net>",
    "date": "2026-04-11T10:29:17",
    "name": "[1/1] package/wolfssl: fix build with libcurl >= 8.19.0 on 32bit archs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260411102917.2045764-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 499547,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499547/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499547",
            "date": "2026-04-11T10:29:17",
            "name": "[1/1] package/wolfssl: fix build with libcurl >= 8.19.0 on 32bit archs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499547/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222381/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222381/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=Xj9MYsxK;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 4ft8zp3NCMz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 11 Apr 2026 20:29:26 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 5187E83F07;\n\tSat, 11 Apr 2026 10:29:23 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 91YVJitT5hYy; Sat, 11 Apr 2026 10:29:22 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 654AD83F09;\n\tSat, 11 Apr 2026 10:29:22 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id 580BD194\n for <buildroot@buildroot.org>; Sat, 11 Apr 2026 10:29:21 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 49B4C40076\n for <buildroot@buildroot.org>; Sat, 11 Apr 2026 10:29:21 +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 fw5y5osbnFOe for <buildroot@buildroot.org>;\n Sat, 11 Apr 2026 10:29:20 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 2C7A340181\n for <buildroot@buildroot.org>; Sat, 11 Apr 2026 10:29:19 +0000 (UTC)",
            "from fli4l.lan.fli4l (p4fd6c02a.dip0.t-ipconnect.de [79.214.192.42])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id B4E26A4C0734;\n Sat, 11 Apr 2026 12:29:17 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:44810)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wBVaX-000000008V4-0I5v;\n Sat, 11 Apr 2026 10:29:17 +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 smtp1.osuosl.org 654AD83F09",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 2C7A340181"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775903362;\n\tbh=qwIzZBlPop5eu25DyNdc6QIiQOwJk2ze11M3fDDEHy4=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:Cc:From;\n\tb=Xj9MYsxKMOvmx5aHd7ipX4hEo7ycRM/723MIBhSErRyWUiN8WI5NkfstAREN7Hyck\n\t 7JuqjoBZmjvwnfOIDGOR4/61PqSsvkzpS2ME+tsdlMQA0riC5M4l5ZDCcORqHbH7GV\n\t YFfKonQxJjFyx6rVa4HHU9YVV1DVYsXrQy/f8cASAQRNYw0lLOWm/L1CKn3py7M+Ln\n\t rU6n7Q6nOT76sQYFglPtmMfUOOIZzpDJBY2mtyeU9d+BKsq42AkkiVZEg8Uq8ft1kJ\n\t yU+2Kmbd5OGdBy0M2YkLplYHL+uI8I4TB7mlmt4hdDttgKMDZUBedH3N8B5sWT3u+/\n\t 1EKMIbvXb68Ng==",
        "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 2C7A340181",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat, 11 Apr 2026 12:29:17 +0200",
        "Message-ID": "<20260411102917.2045764-1-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "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=1775903357;\n bh=eCNe5dPUnF1EvatmVe3hbjcH64JrHExEWRSqIOyzSg0=;\n h=From:To:Cc:Subject:Date:From;\n b=MRGzMjlqB5ScnORHccrSHfRRnba+2/IAOXuKWJaU6B8giWrA3ySnkF0FZra2BEtyO\n NutP1GSC5LBXA7W+68EnszPouz25VmkuZ03eQGiZkXSmbr6OUR5CMXgGShL31niEy9\n eDz4fCKeiyIQLuqc7g5oyIklTXTnKiiE+oZm0FmcBoA8FMZMMDAZUnXAI6nD6QKHfP\n O+dS9ontZHNFkdYDncniC2bB/fjbLcvDdYe5jPjnMtlUA5HuZOXZw8fhmIk/c1M3Nr\n qAAW/BW9Jf52yh5XiSi8DGIeh3PUsIEC0BY+b3zue21AZ3ajGCYK4jGk6kxXwI1byw\n Rlx7fs57H2ToQ==",
        "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=MRGzMjlq"
        ],
        "Subject": "[Buildroot] [PATCH 1/1] package/wolfssl: fix build with libcurl >=\n 8.19.0 on 32bit archs",
        "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>",
        "Cc": "Sergio Prado <sergio.prado@e-labworks.com>",
        "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---\nPlease note that Baruch sent a fix to libcurl:\nhttps://patchwork.ozlabs.org/project/buildroot/patch/ec612e55099118043d351762107b9c1a18387130.1775471071.git.baruch@tkos.co.il/\n\nalthough the problem should be fixed in wolfSSL instead, see\nhttps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294287\nhttps://github.com/wolfSSL/wolfssl/issues/9936\nfor details.\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": [
        "1/1"
    ]
}