From: Andrei Gherzan <andrei@gherzan.ro>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH 07/23] python-rtimu: Fix build with musl
Date: Mon, 29 Feb 2016 22:21:24 +0100 [thread overview]
Message-ID: <20160229212124.GG2087@resin.home> (raw)
In-Reply-To: <f216583ae91ecd620e0a9e175bb9e38cac15d113.1456586389.git.raj.khem@gmail.com>
On Sat, Feb 27, 2016 at 03:26:46PM +0000, Khem Raj wrote:
> ioctl(3) needs to include asm/ioctl.h for its signature
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> ...0001-include-asm-ioctl.h-for-ioctl-define.patch | 33 ++++++++++++++++++++++
> recipes-devtools/python/python-rtimu_git.bb | 4 ++-
> 2 files changed, 36 insertions(+), 1 deletion(-)
> create mode 100644 recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
>
> 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
> new file mode 100644
> index 0000000..4a93a1c
> --- /dev/null
> +++ b/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch
> @@ -0,0 +1,33 @@
> +From c3aa4af56652b403e304ea5f321acfe289e42922 Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Sat, 30 Jan 2016 16:07:14 -0800
> +Subject: [PATCH] include asm/ioctl.h for ioctl() define
> +
> +also fixes errors e.g.
> +
> +../../RTIMULib/RTIMUHal.cpp:208:29: error: '_IOC_SIZEBITS' was not
> +declared in this scope
> + return ioctl(m_SPI, SPI_IOC_MESSAGE(1), &wrIOC);
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> +Upstream-Status: Submitted
> +
> + RTIMULib/RTIMUHal.cpp | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/RTIMULib/RTIMUHal.cpp b/RTIMULib/RTIMUHal.cpp
> +index f9c3d15..d968326 100644
> +--- a/RTIMULib/RTIMUHal.cpp
> ++++ b/RTIMULib/RTIMUHal.cpp
> +@@ -29,6 +29,7 @@
> + #if !defined(WIN32) && !defined(__APPLE__)
> +
> + #include <linux/spi/spidev.h>
> ++#include <asm/ioctl.h>
> +
> + RTIMUHal::RTIMUHal()
> + {
> +--
> +2.7.0
> +
> diff --git a/recipes-devtools/python/python-rtimu_git.bb b/recipes-devtools/python/python-rtimu_git.bb
> index f51a234..63c92b3 100644
> --- a/recipes-devtools/python/python-rtimu_git.bb
> +++ b/recipes-devtools/python/python-rtimu_git.bb
> @@ -5,7 +5,9 @@ SECTION = "devel/python"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://../../LICENSE;md5=96cdecb41125f498958e09b72faf318e"
>
> -SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master"
> +SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master \
> + file://0001-include-asm-ioctl.h-for-ioctl-define.patch;patchdir=../.. \
> + "
> SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178"
>
> S = "${WORKDIR}/git/Linux/python/"
Hi Raj! Merged to master. Thank you.
--
Andrei Gherzan
next prev parent reply other threads:[~2016-02-29 21:21 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-27 15:26 [meta-raspberrypi][PATCH 00/23] Kernel/userland upgrade wayland support and clang fixes Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 01/23] userland: Upgrade to latest git master Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 02/23] userland: Fix build with clang compiler Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 03/23] userland: Add wayland support Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 04/23] weston: Enable rpi compositor backend Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 05/23] rpi-gpio: Upgrade to 0.6.1 and fix build with clang Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 06/23] eglinfo-x11, eglinfo-fb: Add EGLINFO_DEVICE via bbappends Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 07/23] python-rtimu: Fix build with musl Khem Raj
2016-02-29 21:21 ` Andrei Gherzan [this message]
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 08/23] wiringPi: " Khem Raj
2016-02-29 21:20 ` Andrei Gherzan
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 09/23] Delete rpc flushing of thread in glEGLImageTargetTexture2DOES Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 10/23] rpio: Include sys/types.h for caddr_t Khem Raj
2016-02-29 21:21 ` Andrei Gherzan
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 11/23] userland: Define PROJECT_APIVER and rprovide libgles2 libgl Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 12/23] userland: Add wayland to deps if in DISTRO_FEATURES Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 13/23] userland: Fix build race with wayland support Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 14/23] gstreamer1.0-omx: Add raspberry pi optimization patches and config options Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 15/23] weston: Specify egl and compositor options for rpi Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 16/23] gstreamer1.0-omx: Backports and fixes for smooth video playback Khem Raj
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 17/23] linux-raspberrypi: Upgrade 4.1 kernel to 4.1.17 Khem Raj
2016-02-29 21:18 ` Andrei Gherzan
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 18/23] firmware: Upgrade to latest stable 20160209 Khem Raj
2016-03-10 14:10 ` Andrei Gherzan
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 19/23] rpi-config: Upgrade to tip of tree to get GPU_MEM_1024 Khem Raj
2016-02-29 21:19 ` Andrei Gherzan
2016-02-27 15:26 ` [meta-raspberrypi][PATCH 20/23] linux-raspberrypi: Add recipe for 4.4 release Khem Raj
2016-03-10 14:17 ` Andrei Gherzan
2016-02-27 15:27 ` [meta-raspberrypi][PATCH 21/23] userland: Upgrade to latest Khem Raj
2016-02-27 15:27 ` [meta-raspberrypi][PATCH 22/23] linux-raspberrypi: Upgrade 4.4.1 -> 4.4.2 Khem Raj
2016-02-27 15:27 ` [meta-raspberrypi][PATCH 23/23] userland: Drop extern inline patches Khem Raj
2016-03-02 14:21 ` [meta-raspberrypi][PATCH 00/23] Kernel/userland upgrade wayland support and clang fixes Khem Raj
2016-03-02 15:47 ` Andrei Gherzan
2016-03-02 16:34 ` Khem Raj
2016-03-09 23:51 ` Khem Raj
2016-03-10 14:20 ` Andrei Gherzan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160229212124.GG2087@resin.home \
--to=andrei@gherzan.ro \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.