Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2222803/?format=api
{ "id": 2222803, "url": "http://patchwork.ozlabs.org/api/patches/2222803/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260413181614.371652-1-chakrabortyshubham66@gmail.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/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": "<20260413181614.371652-1-chakrabortyshubham66@gmail.com>", "list_archive_url": null, "date": "2026-04-13T18:16:13", "name": "package/dante: fix musl compatibility issues", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "d7de89cd767a89bc0b089fc5ae0f806ffe4549bd", "submitter": { "id": 92564, "url": "http://patchwork.ozlabs.org/api/people/92564/?format=api", "name": "Shubham Chakraborty", "email": "chakrabortyshubham66@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260413181614.371652-1-chakrabortyshubham66@gmail.com/mbox/", "series": [ { "id": 499737, "url": "http://patchwork.ozlabs.org/api/series/499737/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499737", "date": "2026-04-13T18:16:13", "name": "package/dante: fix musl compatibility issues", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499737/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2222803/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2222803/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=JijUlNdB;\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 4fvbFy18fWz1yDG\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 14 Apr 2026 04:16:38 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 2E67483C81;\n\tMon, 13 Apr 2026 18:16:36 +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 7rb7pmBk6TMC; Mon, 13 Apr 2026 18:16:34 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 9C76C83C6B;\n\tMon, 13 Apr 2026 18:16:34 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 683CE196\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 18:16:33 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 45EF583C6B\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 18:16:33 +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 BbbI869cGlyN for <buildroot@buildroot.org>;\n Mon, 13 Apr 2026 18:16:32 +0000 (UTC)", "from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com\n [IPv6:2607:f8b0:4864:20::42e])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 61FCE83C61\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 18:16:32 +0000 (UTC)", "by mail-pf1-x42e.google.com with SMTP id\n d2e1a72fcca58-82f22f6b0feso992132b3a.0\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 11:16:32 -0700 (PDT)", "from fedora ([2409:40e1:23:7139:6ccf:91d4:42c6:2e60])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f3de3e829sm4212524b3a.5.2026.04.13.11.16.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 11:16:30 -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 9C76C83C6B", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 61FCE83C61" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776104194;\n\tbh=PfaLpTuem/N4eLeihLm6rE05d+80LGzotx0F5hSi3ik=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=JijUlNdBLrL3oyfFgpLvWNSjM4Vz79Dii9I0PJ9QQUJVAU2ndClyx34cUZLdu7gxu\n\t 3j55bB+TCHziTGZsiCNco0ZhQuCTtsTT+vjrUZ+rGAUnpYKp10ajiZLuNr5N9dpgjr\n\t qATBZeaOxu3mqmFGvJ25peqmyEUf7VjSYxjGNfw0FSsAWvrnpZIe0pAaLygh1BAN25\n\t YYa9egm8jhcBvEP3hbQ6wj6vj5aGngX0+fN7bdsv4pElU4OFeD1OlzYzjMAO1q9WCD\n\t 5AYCjvwobw3qv7GucUNu2CnOj1DID8zSnempm0JKS/TjBv1N7ed9lZMJX4+0oC1KY6\n\t VFxF5EeBIZQlg==", "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2607:f8b0:4864:20::42e; helo=mail-pf1-x42e.google.com;\n envelope-from=chakrabortyshubham66@gmail.com; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 61FCE83C61", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776104191; x=1776708991;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=EBUXaaXeDL2c51LJACXkF81ExMqZanXohYi+0X/Qpqg=;\n b=fRmb4OG2i2jutpD6rIrQqd8vD721+G+8ZsFgI0y1crZoZ+4o0CrAVNODBseopWRWsK\n dsrCE8NfW5p0hKKBOei56kHStiIV3XYXtQw7/VJCSguLna7c6VDQ39ZuY+Ts5thOlaww\n zxU4QWwok/Fkeui3XNK5kRaEim1LexVnetT+y2SAJ/y1z8cm4kdTWEys/Wr0cbbJKEKr\n URhSvBeA1yQgqIodjixoR/CEt+kl9cOAZSaoX781tM7WB7CPiwgBvhI53Yxp/0ye0EDt\n ruuA8lxuNS3S5KfLzHyw3+Zim3p6BTs7sKigRLwMCUJcGc0E+KzYoYQ4mTGnYYotL3o2\n 6yCA==", "X-Gm-Message-State": "AOJu0YxtO1eOl78FFTDTxh/a3hxFY00o821MdfuEGhG17vbKb3l8H+IC\n GQlqCNdUr0nGBLMZvTb8P9nsoDHO2qsQu2eII8GSmbGi63mCEJS6D4OMeb0BZiri", "X-Gm-Gg": "AeBDietP61Swh/+K2oLLagPPBJcgAX7RrgTYItNhOxYtWu3UzpJi2I2ES691tZ1QXvl\n mpT6iCIvmc6EQb9gBNyGoFOvuvjND3BoO9lRgFqgOZIaWK7jDjPfqqh8sr1LcE20RhoOtz1S9WY\n Nr0mF2smqd755KXjJJI8q66rLLaP99g7zPFpD3PxkhFkewZqRLUmMaXrr3nygPDFp8xxI38tkav\n tAtbrTze+7bSy5+VD97sBsOHBcYNiOxHpPIUe6iUm+kQlNUMGDfV8ocyxOz3ea5XqLjalU08R17\n /WWwB9XK9WENr/BzE+75YePPU/z7rc32CyqGyRGrI9qwtFX8vEqGzowk36reC1VdofUmJLpV+KV\n GMvOL+FsrvIEBwOdG2ZRa09EqX+m+7xJ3xATdPe5Jp6yjTD7T2owL38CS1+pVi90zJGrhzWLt40\n 6bh+HxhwEZQRIdQWx0HjKuQNVbUcPTxl09", "X-Received": "by 2002:a05:6a00:13a9:b0:82f:4cc9:185f with SMTP id\n d2e1a72fcca58-82f4cc93775mr2111311b3a.52.1776104191084;\n Mon, 13 Apr 2026 11:16:31 -0700 (PDT)", "From": "Shubham Chakraborty <chakrabortyshubham66@gmail.com>", "To": "buildroot@buildroot.org", "Cc": "Shubham Chakraborty <chakrabortyshubham66@gmail.com>", "Date": "Mon, 13 Apr 2026 23:46:13 +0530", "Message-ID": "<20260413181614.371652-1-chakrabortyshubham66@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776104191; x=1776708991; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=EBUXaaXeDL2c51LJACXkF81ExMqZanXohYi+0X/Qpqg=;\n b=owUY2qB3jR22mpNjnUkaDuqeMgROXnImxaJkoKp44x8iI9FvHX3M9Jb+wG5M++wDYc\n yiGVxqee1aBqdv48QzuwbiCWKdiE1WbAFZeguzmJWJ5Dnpt45+G6P4uURtzFjqitVc0H\n bkniCC5qWytn82BEyoqIWEHgjGWSBYC5OJINVKj+mWq4YZrSbilrxciVYpvNLC+HDAge\n /XKq98nliEGcL0jtAUWnNytG/qXBYZyuMYwX1ZqwOOB+6FBThlEMrGemUpvYHFL+ccTZ\n 6q6Vtnzk7G7AAh3ZrrFoIyn31Rua+nQ6vvqzhnkWpHS2SyEw8pvORkE7xcR45WfH1pQQ\n YQBw==", "X-Mailman-Original-Authentication-Results": [ "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=gmail.com", "smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=owUY2qB3" ], "Subject": "[Buildroot] [PATCH] package/dante: fix musl compatibility issues", "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": "Add patches to fix dante build on musl libc:\n- Replace obsolete egrep with grep -E\n- Include sched.h for cpu_set_t type\n- Fix pselect inline declaration conflicts\n\nFixes build on musl.\n\nFixes:\n - https://autobuild.buildroot.org/results/d1b/d1b4933ee4f79d62a1c566c59172f38ca1311935/build-end.log\n\nSigned-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n---\n package/dante/0003-fix-egrep-warning.patch | 25 ++++++++++++\n .../dante/0004-fix-cpu_set_t-on-musl.patch | 27 +++++++++++++\n package/dante/0005-fix-pselect-inline.patch | 39 +++++++++++++++++++\n 3 files changed, 91 insertions(+)\n create mode 100644 package/dante/0003-fix-egrep-warning.patch\n create mode 100644 package/dante/0004-fix-cpu_set_t-on-musl.patch\n create mode 100644 package/dante/0005-fix-pselect-inline.patch", "diff": "diff --git a/package/dante/0003-fix-egrep-warning.patch b/package/dante/0003-fix-egrep-warning.patch\nnew file mode 100644\nindex 0000000000..ff3765929f\n--- /dev/null\n+++ b/package/dante/0003-fix-egrep-warning.patch\n@@ -0,0 +1,25 @@\n+From b3f5366082aaff9f9d2cd8e74d9c79d604093aa7 Mon Sep 17 00:00:00 2001\n+From: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n+Date: Mon, 13 Apr 2026 23:35:35 +0530\n+Subject: [PATCH 1/3] fix egrep warning\n+\n+---\n+ include/redefgen.sh | 2 +-\n+ 1 file changed, 1 insertion(+), 1 deletion(-)\n+\n+diff --git a/include/redefgen.sh b/include/redefgen.sh\n+index 89df63b..56bdafb 100755\n+--- a/include/redefgen.sh\n++++ b/include/redefgen.sh\n+@@ -10,7 +10,7 @@ OUT=$1/redefac.h\n+ \n+ echo \"/* Do not modify, generated from ${IN} */\" > ${OUT}\n+ \n+-for define in `egrep '^#undef' < $IN | egrep 'HAVE|NEED|FALLBACK|BAREFOOT' | awk '{ print $2 }'`; do\n++for define in `grep -E '^#undef' < $IN | grep -E 'HAVE|NEED|FALLBACK|BAREFOOT' | awk '{ print $2 }'`; do\n+ echo \"\n+ #ifndef ${define}\n+ #define ${define} 0\n+-- \n+2.53.0\n+\ndiff --git a/package/dante/0004-fix-cpu_set_t-on-musl.patch b/package/dante/0004-fix-cpu_set_t-on-musl.patch\nnew file mode 100644\nindex 0000000000..acc1c863d6\n--- /dev/null\n+++ b/package/dante/0004-fix-cpu_set_t-on-musl.patch\n@@ -0,0 +1,27 @@\n+From 7006202f603ffb38b56661a2c40fc69b05c4868e Mon Sep 17 00:00:00 2001\n+From: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n+Date: Mon, 13 Apr 2026 23:35:35 +0530\n+Subject: [PATCH 2/3] fix cpu_set_t on musl\n+\n+---\n+ include/common.h | 4 ++++\n+ 1 file changed, 4 insertions(+)\n+\n+diff --git a/include/common.h b/include/common.h\n+index 1c23dc3..5378afa 100755\n+--- a/include/common.h\n++++ b/include/common.h\n+@@ -47,6 +47,10 @@\n+ \n+ #ifndef _COMMON_H_\n+ #define _COMMON_H_\n++ \n++#ifndef _GNU_SOURCE\n++#define _GNU_SOURCE\n++#endif\n+ \n+ /* ifdef, not if, defined on command line */\n+ #ifdef HAVE_CONFIG_H\n+-- \n+2.53.0\n+\ndiff --git a/package/dante/0005-fix-pselect-inline.patch b/package/dante/0005-fix-pselect-inline.patch\nnew file mode 100644\nindex 0000000000..be4a93d5a8\n--- /dev/null\n+++ b/package/dante/0005-fix-pselect-inline.patch\n@@ -0,0 +1,39 @@\n+From 37e89b8c17569e2ecefd35704b9508412d17715c Mon Sep 17 00:00:00 2001\n+From: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n+Date: Mon, 13 Apr 2026 23:35:35 +0530\n+Subject: [PATCH 3/3] fix pselect inline\n+\n+---\n+ include/osdep.h | 2 +-\n+ libscompat/pselect.c | 2 +-\n+ 2 files changed, 2 insertions(+), 2 deletions(-)\n+\n+diff --git a/include/osdep.h b/include/osdep.h\n+index c3cd5b5..4f7827b 100644\n+--- a/include/osdep.h\n++++ b/include/osdep.h\n+@@ -327,7 +327,7 @@ int issetugid(void);\n+ #endif /* !HAVE_ISSETUGID */\n+ \n+ #if !HAVE_PSELECT\n+-inline int pselect(int nfds, fd_set *rset, fd_set *wset, fd_set *xset,\n++int pselect(int nfds, fd_set *rset, fd_set *wset, fd_set *xset,\n+ const struct timespec *ts, const sigset_t *sigmask);\n+ #endif /* !HAVE_ISSETUGID */\n+ \n+diff --git a/libscompat/pselect.c b/libscompat/pselect.c\n+index 27d9268..2c4695e 100644\n+--- a/libscompat/pselect.c\n++++ b/libscompat/pselect.c\n+@@ -57,7 +57,7 @@ int sockd_handledsignals(void); /* no sockd.h here. */\n+ \n+ /* inspired by Stevens 'incorrect' implementation; best effort if no pselect */\n+ \n+-inline int\n++int\n+ pselect(int nfds, fd_set *rset, fd_set *wset, fd_set *xset,\n+ const struct timespec *ts, const sigset_t *sigmask)\n+ {\n+-- \n+2.53.0\n+\n", "prefixes": [] }