get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2232799,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2232799/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260505100553.4100688-2-dowan.gullient@smile.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260505100553.4100688-2-dowan.gullient@smile.fr>",
    "list_archive_url": null,
    "date": "2026-05-05T10:05:52",
    "name": "[v2,1/2] package/libabseil-cpp: add patch to fix build with gcc <= 12",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "745c08a9c48436b97b99e1530045e7cc9c77765d",
    "submitter": {
        "id": 92800,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92800/?format=api",
        "name": "dowan gullient",
        "email": "dowan.gullient@smile.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260505100553.4100688-2-dowan.gullient@smile.fr/mbox/",
    "series": [
        {
            "id": 502801,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/502801/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=502801",
            "date": "2026-05-05T10:05:51",
            "name": "support/testing: test_podman.py : fix build failure due to regressions",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502801/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2232799/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2232799/checks/",
    "tags": {},
    "related": [],
    "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=JT6iS3YS;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::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 4g8vL00GCqz1y04\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 05 May 2026 20:06:15 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id EE67C81300;\n\tTue,  5 May 2026 10:06:12 +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 vu91AUrD442u; Tue,  5 May 2026 10:06:11 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 6E1F7812C0;\n\tTue,  5 May 2026 10:06:11 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id A15A12DF\n for <buildroot@buildroot.org>; Tue,  5 May 2026 10:06:09 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 93566812C0\n for <buildroot@buildroot.org>; Tue,  5 May 2026 10:06:09 +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 6JPW6MyXaIJW for <buildroot@buildroot.org>;\n Tue,  5 May 2026 10:06:08 +0000 (UTC)",
            "from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n [IPv6:2a00:1450:4864:20::32d])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 28F83812BE\n for <buildroot@buildroot.org>; Tue,  5 May 2026 10:06:08 +0000 (UTC)",
            "by mail-wm1-x32d.google.com with SMTP id\n 5b1f17b1804b1-48374014a77so59665295e9.3\n for <buildroot@buildroot.org>; Tue, 05 May 2026 03:06:07 -0700 (PDT)",
            "from P-NAN-NAPALM..\n (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4505285e765sm3259221f8f.10.2026.05.05.03.06.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 03:06:05 -0700 (PDT)"
        ],
        "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 6E1F7812C0",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 28F83812BE"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777975571;\n\tbh=OXGK7o8y03IxBuvS4sj/BA64wjJgEbMosnkZufk8vZk=;\n\th=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:Reply-To:From;\n\tb=JT6iS3YS5NCjpROywvA+DOpLFDfBTPuiafWVRdePNAaGgCwvO2QbXMCfP+4ltxIE0\n\t lkaDBp2N7DAK0yg+cBM/VI8rNkK5Op6JzKSoNHDC8vxBX+nkjmcISV9w4e8AulS+t5\n\t D+jiRHvGcNlnq0bjFZtrqP9L1f2nDZBEmDZAbGZflYjA23HQoj+HoGrChQCEtX+fGP\n\t hX6qyaaoBJwF5cDxkbX7Mq6GljPsmLUMbg/ABMP1bVgr4Jw2tEP2rYHKF9KfMVrvTa\n\t i/3Sfu0ogQHCVa3znzSSCGNjCwdfFI+ArcAuf/dwy7ZB4a5skeH1NZsRKgsdX49KEw\n\t 1pYSzFkd4LLCg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2a00:1450:4864:20::32d; helo=mail-wm1-x32d.google.com;\n envelope-from=dowan.gullient@smile.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 28F83812BE",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777975566; x=1778580366;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=0pqpzlETYc27N1MlXFJdhVo500wP0XgcVQRDv7vnec4=;\n b=ZqqE1Jka7kam+G9ts2ZQYccrX93zfrbBxsqDfJuEbSpfi4LXYYTZthEzVs3gMeHenq\n ctU5e3sD4b3EVJzvhpv7e9aHbAfREG+JsZ8B388/Hf4M0vXi0qZPS6BASPkbkFLqq02e\n xEg5PZCHoljpgWrARr/j8tkqN3Znj3lCJH1TbrNXfL8Jjx+X/zIBvxHeCZI62IuwIqSP\n 8wxT6MA2kYBRQ+2nsOXzoF4bX5ACbulL26tuSRjNDMuSFwslPRqXU1cdg4uUPPeyEzN8\n /laKxI41xbnCdgK5cYUkctvuzQ++jmlwtBS1+SZdTsgXycuhQW0re67fPMcHSnPsBkR5\n ViMg==",
        "X-Gm-Message-State": "AOJu0Yx05GyHfQbR3d9nLNL4DQWZ7LSWg2V6IOSAVeAxS9SYCVIUbr8U\n k5h+6orPuveI3ThHAiavURfSNEEjDhPIS9yqzo8u5UOawoLs8e/ur9WaCMrS8bl+wX808b2qo3b\n S/bzHywI=",
        "X-Gm-Gg": "AeBDiesVzdcDnlLsXioTMUIVGKjo4FbjioLO+K0cHVLDHuALCBE7pS5zczHlZLfJlGe\n 8YJ6JWyJILNJ/Jp9FmCODS9vqf6yt+pB5/D+6QfzrWXOR+K0XYXHUP/b2pM4GIF3PgjWn2qQFsB\n lafT49h358M96HAgA/8QO9w/zlkF8z3zHtOICP9vhKIHUj0fplnYbO2OZn2AAIv95IfUVbxInkB\n J+NRj64se/HTxMeYXPOaq1U/AAf3zQHHjWTPlXXn7XBmeEXiwgfioM3QuQdX2DhHC/cqLxFUECv\n KN4avdJYjuXmZWdinUjfcFs9kyg3SCwKS33ClHBvEhVm7U7BQwdEl1bZ/vIfrWIUTHMMK+vrzEe\n +5Yb5U8ocA4hIVAOYLPsDKDvPnC219ceseDMwnsrUikad3pV0YOGedfDFu1mAkjZBdWUoQtUjw8\n q92RB8hM9u5xeKb+CaMPwoTSUQaTx48IKWXEOzwnLhZbunYDdECmjl+LBQ5RBCgOq+MDu2vRLNG\n TqMTuQzJgmn5YgxitoO0qWbEm0EJX8=",
        "X-Received": "by 2002:a05:600c:8b04:b0:485:40db:d40c with SMTP id\n 5b1f17b1804b1-48a9852f332mr212594255e9.3.1777975566011;\n Tue, 05 May 2026 03:06:06 -0700 (PDT)",
        "To": "buildroot@buildroot.org",
        "Cc": "ju.o@free.fr",
        "Date": "Tue,  5 May 2026 12:05:52 +0200",
        "Message-ID": "<20260505100553.4100688-2-dowan.gullient@smile.fr>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260505100553.4100688-1-dowan.gullient@smile.fr>",
        "References": "<20260505100553.4100688-1-dowan.gullient@smile.fr>",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=smile.fr; s=google; t=1777975566; x=1778580366; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=0pqpzlETYc27N1MlXFJdhVo500wP0XgcVQRDv7vnec4=;\n b=ebfm+mLoklNRsirMDfXSKMa8wyIK8LLW0Hx6WmsRxeTACEVChEuQTdOb7SBUIGJeP4\n ZJvc1tEvFI1LT3Sfv4l4Lhw5+KUjMq1AH59pv5g2OfTU9TkmZ0EZg9HIZmUOzxWU/PiN\n HkvSKDiRFhDmv9niTQ0+WDBIt8o4Afhl70n3g=",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=smile.fr",
            "smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=smile.fr header.i=@smile.fr\n header.a=rsa-sha256 header.s=google header.b=ebfm+mLo"
        ],
        "Subject": "[Buildroot] [PATCH v2 1/2] package/libabseil-cpp: add patch to fix\n build with gcc <= 12",
        "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>",
        "From": "Dowan Gullient via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Dowan Gullient <dowan.gullient@smile.fr>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "From: Julien Olivain <ju.o@free.fr>\n\nlibabseil-cpp headers can break some packages build, like protobuf,\nwhen compiled with gcc 12. See [1] [2]. The issue has been reported\nin protobuf upstream, in [3].\n\nThe issue is due to gcc <= 12 not supporting the mix of standard\nC++ attributes with GNU attributes. See [4].\n\nGcc 12 has been removed from Buildroot internal toolchains in\ncommit [5], but gcc 12 can still be present in external toolchains\nor on the host. This is currently the case of the Buildroot Docker\nreference image, based on Debian 12 (Bookworm).\n\nThis commit fixes the issue by adding a package patch.\n\nFixes:\n- [1] [2] and many more.\n\n[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/13904066346\n[2] https://autobuild.buildroot.org/results/33f6cfd37cb48c15a53b3e7123d5ce8388a0f2ab\n[3] https://github.com/protocolbuffers/protobuf/issues/26383\n[4] https://gcc.gnu.org/PR69585\n[5] https://gitlab.com/buildroot.org/buildroot/-/commit/58cf7c51da3ae4804332f68ee934e153d695d047\n[6] https://github.com/abseil/abseil-cpp/pull/2044\n\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n ...SL_ATTRIBUTE_WARN_UNUSED-with-gcc-12.patch | 55 +++++++++++++++++++\n 1 file changed, 55 insertions(+)\n create mode 100644 package/libabseil-cpp/0002-base-fix-ABSL_ATTRIBUTE_WARN_UNUSED-with-gcc-12.patch",
    "diff": "diff --git a/package/libabseil-cpp/0002-base-fix-ABSL_ATTRIBUTE_WARN_UNUSED-with-gcc-12.patch b/package/libabseil-cpp/0002-base-fix-ABSL_ATTRIBUTE_WARN_UNUSED-with-gcc-12.patch\nnew file mode 100644\nindex 0000000000..8f5e255795\n--- /dev/null\n+++ b/package/libabseil-cpp/0002-base-fix-ABSL_ATTRIBUTE_WARN_UNUSED-with-gcc-12.patch\n@@ -0,0 +1,55 @@\n+From 77326826119439c06e341c9d090633ecd9b520d6 Mon Sep 17 00:00:00 2001\n+From: Julien Olivain <ju.o@free.fr>\n+Date: Mon, 27 Apr 2026 19:38:19 +0200\n+Subject: [PATCH] base: fix ABSL_ATTRIBUTE_WARN_UNUSED with gcc <= 12\n+\n+Gcc <= 12 does not support mixing standard C++ attributes with\n+GNU attributes. See [1].\n+\n+This can lead to build failures such as [2] [3] and [4]. In those\n+situations, the compilation fails with error such as:\n+\n+    /usr/include/absl/base/attributes.h:1076:36: error: expected identifier before '[' token\n+\n+Gcc maintainers mentioned in [1] comment 9 that this bugfix will\n+not be backported in Gcc 12. Gcc 12 is still used in LTS\n+distributions. For example, it is included in Debian 12 (Bookworm),\n+which is still supported until 2028. See [5].\n+\n+This commit adds a workaround for gcc <= 12 which uses\n+__attribute__ in that case, which fixes the compilation failure.\n+\n+[1] https://gcc.gnu.org/PR69585\n+[2] https://github.com/protocolbuffers/protobuf/issues/26383\n+[3] https://autobuild.buildroot.org/results/33f6cfd37cb48c15a53b3e7123d5ce8388a0f2ab/build-end.log\n+[4] https://gitlab.com/buildroot.org/buildroot/-/jobs/13904066346\n+[5] https://www.debian.org/releases/bookworm/\n+\n+Upstream: https://github.com/abseil/abseil-cpp/pull/2044\n+Signed-off-by: Julien Olivain <ju.o@free.fr>\n+---\n+ absl/base/attributes.h | 7 +++++++\n+ 1 file changed, 7 insertions(+)\n+\n+diff --git a/absl/base/attributes.h b/absl/base/attributes.h\n+index 5887fcaf..a26143e1 100644\n+--- a/absl/base/attributes.h\n++++ b/absl/base/attributes.h\n+@@ -1092,7 +1092,14 @@ struct AbslInternal_YouForgotToExplicitlyInitializeAField {\n+ // See https://clang.llvm.org/docs/AttributeReference.html#warn-unused and\n+ // https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html#index-warn_005funused-type-attribute\n+ #if ABSL_HAVE_CPP_ATTRIBUTE(gnu::warn_unused)\n++// Only GCC >= 13 allows mixing standard and gnu attributes.\n++// In case of gcc < 13, fallback on using __attribute__.\n++// https://gcc.gnu.org/PR69585\n++#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 13\n++#define ABSL_ATTRIBUTE_WARN_UNUSED __attribute__((warn_unused))\n++#else\n+ #define ABSL_ATTRIBUTE_WARN_UNUSED [[gnu::warn_unused]]\n++#endif\n+ #else\n+ #define ABSL_ATTRIBUTE_WARN_UNUSED\n+ #endif\n+-- \n+2.54.0\n+\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}