diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-06-01 22:28:14 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-06-01 22:28:14 +0200 |
commit | 11271540bfe6adafbc133caf6b5b902a816f5f02 (patch) | |
tree | 48df469d4e88c7e6efc0a8f4f8d5a386468ed72b /package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch | |
parent | 24d6c5258ee38c38f0156b057cecd3cfe7ed7b1d (diff) | |
parent | 8e5eef6c323c6a928ccea7279b3d9848419b99d9 (diff) | |
download | buildroot-11271540bfe6adafbc133caf6b5b902a816f5f02.tar.gz buildroot-11271540bfe6adafbc133caf6b5b902a816f5f02.zip |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch')
-rw-r--r-- | package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch b/package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch deleted file mode 100644 index 108297c9c2..0000000000 --- a/package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1d8cb0ad54099c3d7261aaa19a2c0786f16736d0 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -Date: Sat, 8 Aug 2015 22:42:39 +0200 -Subject: [PATCH] Add missing header for musl compatibility - -<linux/ioctl.h> is needed to get the definition of _IOC_SIZEBITS and -solve the following build failure: - -src/spi.c: In function 'spi_transfer': -src/spi.c:100:24: error: '_IOC_SIZEBITS' undeclared (first use in this function) - if (ioctl(spi->fd, SPI_IOC_MESSAGE(1), &spi_xfer) < 1) - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---- - src/spi.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/spi.c b/src/spi.c -index 52a8d3d..1a6b17c 100644 ---- a/src/spi.c -+++ b/src/spi.c -@@ -16,6 +16,7 @@ - #include <errno.h> - - #include <sys/ioctl.h> -+#include <linux/ioctl.h> - #include <linux/spi/spidev.h> - - #include "spi.h" --- -2.5.0 - |