Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl.
PATCH 1/1 Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl.
Signed-off-by Mauro Condarelli <[email protected]>
--- .../0005-mips-musl-fix-sgidefs_h-not-found-error.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch
package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff -ru libffi-3.2.1_/src/mips/ffitarget.h libffi-3.2.1/src/mips/ffitarget.h +--- libffi-3.2.1_/src/mips/ffitarget.h 2014-11-08 13:47:24.000000000 +0100 ++++ libffi-3.2.1/src/mips/ffitarget.h 2017-04-21 10:53:23.447304581 +0200 +@@ -32,7 +32,7 @@ + #error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." + #endif + +-#ifdef linux ++#ifdef __linux__ + # include <asm/sgidefs.h> + #elif defined(__rtems__) + /*
Signature · 1 line
2.11.0
PATCH 1/1 Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl.
Hello,
Quoted 5 lines · Mauro Condarelli
Signed-off-by Mauro Condarelli <[email protected]>--- .../0005-mips-musl-fix-sgidefs_h-not-found-error.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch
We finally got to this patch, and I pushed an improved version of it, i.e with a better commit log and patch description.
See
https://git.buildroot.org/buildroot/commit/?id=4852f05907cd365825f37c283a415a77ba1fcba9.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com