Skip to contentSkip to conversation

Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl.

PATCH New Mauro Condarelli 2 participants 2 messages Apr 21, 2017 – Oct 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl.

---
 .../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
new file mode 100644
index 000000000..b9490f30a
@@ -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
#1 lore raw

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
---
 .../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