From: Fabrice Fontaine Date: Sat, 5 Sep 2020 12:17:52 +0000 (+0200) Subject: package/lcdproc: renumber patch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32f80330775f30e7a256c9b2393294dce34019a5;p=buildroot.git package/lcdproc: renumber patch Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/lcdproc/0001-Add-missing-ioctl-header.patch b/package/lcdproc/0001-Add-missing-ioctl-header.patch deleted file mode 100644 index 8c2123594f..0000000000 --- a/package/lcdproc/0001-Add-missing-ioctl-header.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 6267665454501512ac054202b38e4e6a72fa284b Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Fri, 8 Sep 2017 14:19:11 +0300 -Subject: [PATCH] Add missing ioctl header - -The spidev.h header uses macros from linux/ioctl.h. Add this header -explicitly since some libc, like musl, do not include it implicitly. -This fixes the following build failure: - -In file included from .../sysroot/usr/include/sys/ioctl.h:7:0, - from hd44780-spi.c:31: -hd44780-spi.c: In function ‘spi_transfer’: -hd44780-spi.c:89:24: error: ‘_IOC_SIZEBITS’ undeclared (first use in this function) - status = ioctl(p->fd, SPI_IOC_MESSAGE(1), &xfer); - ^ -Signed-off-by: Baruch Siach ---- -Upstream status: https://github.com/lcdproc/lcdproc/pull/90 - - server/drivers/hd44780-pifacecad.c | 1 + - server/drivers/hd44780-spi.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/server/drivers/hd44780-pifacecad.c b/server/drivers/hd44780-pifacecad.c -index a73b9f9b1f82..55139124d852 100644 ---- a/server/drivers/hd44780-pifacecad.c -+++ b/server/drivers/hd44780-pifacecad.c -@@ -54,6 +54,7 @@ - #include - #include - #include -+#include - #include - #include - -diff --git a/server/drivers/hd44780-spi.c b/server/drivers/hd44780-spi.c -index 791156f87a26..74c85fb014aa 100644 ---- a/server/drivers/hd44780-spi.c -+++ b/server/drivers/hd44780-spi.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - #include - #include - --- -2.14.1 - diff --git a/package/lcdproc/0002-Add-missing-ioctl-header.patch b/package/lcdproc/0002-Add-missing-ioctl-header.patch new file mode 100644 index 0000000000..8c2123594f --- /dev/null +++ b/package/lcdproc/0002-Add-missing-ioctl-header.patch @@ -0,0 +1,50 @@ +From 6267665454501512ac054202b38e4e6a72fa284b Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Fri, 8 Sep 2017 14:19:11 +0300 +Subject: [PATCH] Add missing ioctl header + +The spidev.h header uses macros from linux/ioctl.h. Add this header +explicitly since some libc, like musl, do not include it implicitly. +This fixes the following build failure: + +In file included from .../sysroot/usr/include/sys/ioctl.h:7:0, + from hd44780-spi.c:31: +hd44780-spi.c: In function ‘spi_transfer’: +hd44780-spi.c:89:24: error: ‘_IOC_SIZEBITS’ undeclared (first use in this function) + status = ioctl(p->fd, SPI_IOC_MESSAGE(1), &xfer); + ^ +Signed-off-by: Baruch Siach +--- +Upstream status: https://github.com/lcdproc/lcdproc/pull/90 + + server/drivers/hd44780-pifacecad.c | 1 + + server/drivers/hd44780-spi.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/server/drivers/hd44780-pifacecad.c b/server/drivers/hd44780-pifacecad.c +index a73b9f9b1f82..55139124d852 100644 +--- a/server/drivers/hd44780-pifacecad.c ++++ b/server/drivers/hd44780-pifacecad.c +@@ -54,6 +54,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/server/drivers/hd44780-spi.c b/server/drivers/hd44780-spi.c +index 791156f87a26..74c85fb014aa 100644 +--- a/server/drivers/hd44780-spi.c ++++ b/server/drivers/hd44780-spi.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +2.14.1 +