summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-10 10:17:15 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2019-08-14 13:55:08 +0200
commitbe0e3df5cfb3af0e96068406bba979f3997f1212 (patch)
treeb5cac35b98c9b416f6be33060b34a9b9fb35ab3f /recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
parentc29c821c37f3bed4d9f8fb768a6522ba83d2bdd2 (diff)
downloadmeta-raspberrypi-be0e3df5cfb3af0e96068406bba979f3997f1212.tar.gz
python-rtimu,python-sense-hat: Convert to py3 modules
py2 is on its way out from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch')
-rw-r--r--recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch b/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
deleted file mode 100644
index 4a93a1c..0000000
--- a/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From c3aa4af56652b403e304ea5f321acfe289e42922 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Jan 2016 16:07:14 -0800
4Subject: [PATCH] include asm/ioctl.h for ioctl() define
5
6also fixes errors e.g.
7
8../../RTIMULib/RTIMUHal.cpp:208:29: error: '_IOC_SIZEBITS' was not
9declared in this scope
10 return ioctl(m_SPI, SPI_IOC_MESSAGE(1), &wrIOC);
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14Upstream-Status: Submitted
15
16 RTIMULib/RTIMUHal.cpp | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/RTIMULib/RTIMUHal.cpp b/RTIMULib/RTIMUHal.cpp
20index f9c3d15..d968326 100644
21--- a/RTIMULib/RTIMUHal.cpp
22+++ b/RTIMULib/RTIMUHal.cpp
23@@ -29,6 +29,7 @@
24 #if !defined(WIN32) && !defined(__APPLE__)
25
26 #include <linux/spi/spidev.h>
27+#include <asm/ioctl.h>
28
29 RTIMUHal::RTIMUHal()
30 {
31--
322.7.0
33