summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-03-19 14:01:00 +0800
committerKhem Raj <raj.khem@gmail.com>2019-03-19 21:00:06 -0700
commit6cb4e90fcde2d383ebcf656e489ac84d1db422f1 (patch)
treec6972e6b28d8c11e7c800af226872566e5fdfe5b /meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
parent4ce1fb53568907701b0c9fa63ef96b863269c121 (diff)
downloadmeta-openembedded-6cb4e90fcde2d383ebcf656e489ac84d1db422f1.tar.gz
python3-pillow: add 5.4.1
- Set option by modify setup.py - Do not override do_compile to call `setup.py build_ext', it will missing options at do_install time which causing host contamination ... Found webp/demux.h Found library webpmux at /usr/lib/libwebpmux.so Found library webpdemux at /usr/lib/libwebpdemux.so /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
new file mode 100644
index 0000000000..de89ba0058
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
@@ -0,0 +1,39 @@
1From 52879439f2976662140b76951f43f16e1d5ef08e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 18 Mar 2019 23:23:55 -0400
4Subject: [PATCH] explicitly set compile options
5
6OE does not support to install egg package, so
7explicitly set build_ext options for oe-core's
8`setup.py install'
9
10Upstream-Status: Inappropriate [oe specific]
11
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13---
14 setup.cfg | 12 ++++++++++++
15 1 file changed, 12 insertions(+)
16
17diff --git a/setup.cfg b/setup.cfg
18index 95900ff..27da313 100644
19--- a/setup.cfg
20+++ b/setup.cfg
21@@ -9,3 +9,15 @@ addopts = -vx Tests
22
23 [flake8]
24 max-line-length = 88
25+
26+[build_ext]
27+disable-platform-guessing = 1
28+enable-zlib = 1
29+enable-jpeg = 1
30+enable-tiff = 1
31+enable-freetype = 1
32+enable-lcms = 1
33+enable-jpeg2000 = 1
34+disable-webp = 1
35+disable-webpmux = 1
36+disable-imagequant = 1
37--
382.8.1
39