Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/811543/?format=api
{ "id": 811543, "url": "http://patchwork.ozlabs.org/api/patches/811543/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/fd90703c9a740c0f5653e4d6e43386a5194516f6.1504870274.git.baruch@tkos.co.il/", "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": "<fd90703c9a740c0f5653e4d6e43386a5194516f6.1504870274.git.baruch@tkos.co.il>", "list_archive_url": null, "date": "2017-09-08T11:31:14", "name": "lcdproc: fix build with musl libc", "commit_ref": "fd70d0b4348d20b3965da2c4b02debc4a8e987da", "pull_url": null, "state": "accepted", "archived": false, "hash": "1da891b9da62bfd226b394ae8290b48a95a3e055", "submitter": { "id": 1458, "url": "http://patchwork.ozlabs.org/api/people/1458/?format=api", "name": "Baruch Siach", "email": "baruch@tkos.co.il" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/fd90703c9a740c0f5653e4d6e43386a5194516f6.1504870274.git.baruch@tkos.co.il/mbox/", "series": [ { "id": 2185, "url": "http://patchwork.ozlabs.org/api/series/2185/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2185", "date": "2017-09-08T11:31:14", "name": "lcdproc: fix build with musl libc", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2185/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/811543/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/811543/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpZsF4tMXz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 8 Sep 2017 21:31:29 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9042488C32;\n\tFri, 8 Sep 2017 11:31:26 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id j4RuzEsvjCvh; Fri, 8 Sep 2017 11:31:25 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4F96888C05;\n\tFri, 8 Sep 2017 11:31:25 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id AE34F1BFE1F\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 8 Sep 2017 11:31:23 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A68D488C0A\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 8 Sep 2017 11:31:23 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id FfJqypiGUELa for <buildroot@lists.busybox.net>;\n\tFri, 8 Sep 2017 11:31:22 +0000 (UTC)", "from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id B461C88C05\n\tfor <buildroot@busybox.net>; Fri, 8 Sep 2017 11:31:22 +0000 (UTC)", "from tarshish.tkos.co.il (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPSA id 2E41D44083B;\n\tFri, 8 Sep 2017 14:31:20 +0300 (IDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Baruch Siach <baruch@tkos.co.il>", "To": "buildroot@busybox.net", "Date": "Fri, 8 Sep 2017 14:31:14 +0300", "Message-Id": "<fd90703c9a740c0f5653e4d6e43386a5194516f6.1504870274.git.baruch@tkos.co.il>", "X-Mailer": "git-send-email 2.14.1", "MIME-Version": "1.0", "Cc": "Sven Haardiek <sven.haardiek@greenbone.net>", "Subject": "[Buildroot] [PATCH] lcdproc: fix build with musl libc", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Add a patch adding missing linux ioctl header.\n\nFixes:\nhttp://autobuild.buildroot.net/results/58a/58a9b98d08060c6ed9e8855ba9f59d03aa2f3e2c/\nhttp://autobuild.buildroot.net/results/5b2/5b2c1bc872cebc7aadf93995b71178bba29e0b25/\nhttp://autobuild.buildroot.net/results/125/12594e613f8fc106e477411f76093654a084c01c/\n\nCc: Sven Haardiek <sven.haardiek@greenbone.net>\nSigned-off-by: Baruch Siach <baruch@tkos.co.il>\n---\n .../lcdproc/0001-Add-missing-ioctl-header.patch | 50 ++++++++++++++++++++++\n 1 file changed, 50 insertions(+)\n create mode 100644 package/lcdproc/0001-Add-missing-ioctl-header.patch", "diff": "diff --git a/package/lcdproc/0001-Add-missing-ioctl-header.patch b/package/lcdproc/0001-Add-missing-ioctl-header.patch\nnew file mode 100644\nindex 000000000000..8c2123594f7e\n--- /dev/null\n+++ b/package/lcdproc/0001-Add-missing-ioctl-header.patch\n@@ -0,0 +1,50 @@\n+From 6267665454501512ac054202b38e4e6a72fa284b Mon Sep 17 00:00:00 2001\n+From: Baruch Siach <baruch@tkos.co.il>\n+Date: Fri, 8 Sep 2017 14:19:11 +0300\n+Subject: [PATCH] Add missing ioctl header\n+\n+The spidev.h header uses macros from linux/ioctl.h. Add this header\n+explicitly since some libc, like musl, do not include it implicitly.\n+This fixes the following build failure:\n+\n+In file included from .../sysroot/usr/include/sys/ioctl.h:7:0,\n+ from hd44780-spi.c:31:\n+hd44780-spi.c: In function ‘spi_transfer’:\n+hd44780-spi.c:89:24: error: ‘_IOC_SIZEBITS’ undeclared (first use in this function)\n+ status = ioctl(p->fd, SPI_IOC_MESSAGE(1), &xfer);\n+ ^\n+Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n+---\n+Upstream status: https://github.com/lcdproc/lcdproc/pull/90\n+\n+ server/drivers/hd44780-pifacecad.c | 1 +\n+ server/drivers/hd44780-spi.c | 1 +\n+ 2 files changed, 2 insertions(+)\n+\n+diff --git a/server/drivers/hd44780-pifacecad.c b/server/drivers/hd44780-pifacecad.c\n+index a73b9f9b1f82..55139124d852 100644\n+--- a/server/drivers/hd44780-pifacecad.c\n++++ b/server/drivers/hd44780-pifacecad.c\n+@@ -54,6 +54,7 @@\n+ #include <unistd.h>\n+ #include <fcntl.h>\n+ #include <sys/ioctl.h>\n++#include <linux/ioctl.h>\n+ #include <stdint.h>\n+ #include <linux/spi/spidev.h>\n+ \n+diff --git a/server/drivers/hd44780-spi.c b/server/drivers/hd44780-spi.c\n+index 791156f87a26..74c85fb014aa 100644\n+--- a/server/drivers/hd44780-spi.c\n++++ b/server/drivers/hd44780-spi.c\n+@@ -29,6 +29,7 @@\n+ #include <unistd.h>\n+ #include <fcntl.h>\n+ #include <sys/ioctl.h>\n++#include <linux/ioctl.h>\n+ #include <stdint.h>\n+ #include <linux/spi/spidev.h>\n+ \n+-- \n+2.14.1\n+\n", "prefixes": [] }