Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216967/?format=api
{ "id": 2216967, "url": "http://patchwork.ozlabs.org/api/patches/2216967/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/patch/20260327134401.270186-2-kkostiuk@redhat.com/", "project": { "id": 69, "url": "http://patchwork.ozlabs.org/api/projects/69/?format=api", "name": "QEMU powerpc development", "link_name": "qemu-ppc", "list_id": "qemu-ppc.nongnu.org", "list_email": "qemu-ppc@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260327134401.270186-2-kkostiuk@redhat.com>", "list_archive_url": null, "date": "2026-03-27T13:43:47", "name": "[v2,01/15] meson: Use stddef.h instead of unistd.h", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "dfa726836cd7f89f12cad51c3ef6b44405f34e6e", "submitter": { "id": 83198, "url": "http://patchwork.ozlabs.org/api/people/83198/?format=api", "name": "Kostiantyn Kostiuk", "email": "kkostiuk@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-ppc/patch/20260327134401.270186-2-kkostiuk@redhat.com/mbox/", "series": [ { "id": 497769, "url": "http://patchwork.ozlabs.org/api/series/497769/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/list/?series=497769", "date": "2026-03-27T13:43:47", "name": "Misc changes to allow building with Windows Clang", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/497769/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216967/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216967/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Nhby8ioZ;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fj22P6JF0z1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 00:45:00 +1100 (AEDT)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-ppc-bounces@nongnu.org>)\n\tid 1w67UE-0005hm-LQ; Fri, 27 Mar 2026 09:44:30 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <kkostiuk@redhat.com>)\n id 1w67UD-0005gX-4h\n for qemu-ppc@nongnu.org; Fri, 27 Mar 2026 09:44:29 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <kkostiuk@redhat.com>)\n id 1w67UA-00066G-PH\n for qemu-ppc@nongnu.org; Fri, 27 Mar 2026 09:44:28 -0400", "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-570-Z6RWgCS5N9ebqJHyzjf_2Q-1; Fri,\n 27 Mar 2026 09:44:22 -0400", "from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id C18F41955F18; Fri, 27 Mar 2026 13:44:19 +0000 (UTC)", "from srv1.redhat.com (unknown [10.44.32.150])\n by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 8CAC8180075C; Fri, 27 Mar 2026 13:44:12 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774619065;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=7tcxKslIn6LU9r2hkVjCtK7yULes57vCUXv6/td3HUM=;\n b=Nhby8ioZmjwnwVS1Wyc5ypoVmIFxOGOmcCknswlrWdKLpqsI/mq8cDoVFlnK0B2zZM7bSt\n VgfLNfgHXbwhuO+6ow68CN9SWG3HfAYY935Rufa9neFzMvXGi6z1AN/tzLgYbXtDSo9RAW\n xjLU2jNaaW9qs5jJcTq1c7rPb/kWDoc=", "X-MC-Unique": "Z6RWgCS5N9ebqJHyzjf_2Q-1", "X-Mimecast-MFC-AGG-ID": "Z6RWgCS5N9ebqJHyzjf_2Q_1774619060", "From": "Kostiantyn Kostiuk <kkostiuk@redhat.com>", "To": "qemu-block@nongnu.org, qemu-devel@nongnu.org, qemu-arm@nongnu.org,\n qemu-ppc@nongnu.org, kvm@vger.kernel.org, qemu-riscv@nongnu.org", "Cc": "Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>,\n \"Edgar E . Iglesias\" <edgar.iglesias@gmail.com>,\n Alistair Francis <alistair@alistair23.me>,\n Peter Maydell <peter.maydell@linaro.org>,\n Nicholas Piggin <npiggin@gmail.com>,\n Harsh Prateek Bora <harshpb@linux.ibm.com>, =?utf-8?q?Daniel_P_=2E_Berrang?=\n\t=?utf-8?q?=C3=A9?= <berrange@redhat.com>,\n Paolo Bonzini <pbonzini@redhat.com>,\n =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>,\n\t=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Chinmay Rath <rathc@linux.ibm.com>, Glenn Miles <milesg@linux.ibm.com>,\n Palmer Dabbelt <palmer@dabbelt.com>, Weiwei Li <liwei1518@gmail.com>,\n Daniel Henrique Barboza <dbarboza@ventanamicro.com>,\n Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,\n Artyom Tarasenko <atar4qemu@gmail.com>, Max Filippov <jcmvbkbc@gmail.com>", "Subject": "[PATCH v2 01/15] meson: Use stddef.h instead of unistd.h", "Date": "Fri, 27 Mar 2026 15:43:47 +0200", "Message-ID": "<20260327134401.270186-2-kkostiuk@redhat.com>", "In-Reply-To": "<20260327134401.270186-1-kkostiuk@redhat.com>", "References": "<20260327134401.270186-1-kkostiuk@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.93", "X-Mimecast-MFC-PROC-ID": "CZBOQqOsu-IbTiGYdQKHAzIipxzNE7TpvNNZoQgmX54_1774619060", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true", "Received-SPF": "pass client-ip=170.10.133.124;\n envelope-from=kkostiuk@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com", "X-Spam_score_int": "-20", "X-Spam_score": "-2.1", "X-Spam_bar": "--", "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no", "X-Spam_action": "no action", "X-BeenThere": "qemu-ppc@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<qemu-ppc.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-ppc>", "List-Post": "<mailto:qemu-ppc@nongnu.org>", "List-Help": "<mailto:qemu-ppc-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "POSIX says stddef.h provides size_t, which is the only thing\nwe care about here. unistd.h can be missing in non-POSIX runtimes,\nso include stddef.h instead.\n\nSigned-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>\n---\n meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/meson.build b/meson.build\nindex 6c712f8b0d..1087e8c106 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -1057,7 +1057,7 @@ endif\n \n if not cc.compiles('''\n #include <glib.h>\n- #include <unistd.h>\n+ #include <stddef.h>\n \n #define QEMU_BUILD_BUG_ON(x) \\\n typedef char qemu_build_bug_on[(x)?-1:1] __attribute__((unused));\n", "prefixes": [ "v2", "01/15" ] }