diff options
Diffstat (limited to 'external/meta-python2/recipes-devtools/python/python-gevent')
2 files changed, 52 insertions, 0 deletions
diff --git a/external/meta-python2/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch b/external/meta-python2/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch new file mode 100644 index 00000000..7536b71a --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch @@ -0,0 +1,26 @@ +From a53ed6b2f967a5f95e69d51cad3f8c120d7df65b Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <alex.kanavin@gmail.com> +Date: Thu, 7 Feb 2019 15:21:15 +0100 +Subject: [PATCH] setup.py: do not query for include dir + +As this will return the native python directory erroneously. + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 86d6c5a..5d22291 100755 +--- a/setup.py ++++ b/setup.py +@@ -52,7 +52,7 @@ from _setupares import ARES + # Get access to the greenlet header file. + # The sysconfig dir is not enough if we're in a virtualenv + # See https://github.com/pypa/pip/issues/4610 +-include_dirs = [sysconfig.get_path("include")] ++include_dirs = [] + venv_include_dir = os.path.join(sys.prefix, 'include', 'site', + 'python' + sysconfig.get_python_version()) + venv_include_dir = os.path.abspath(venv_include_dir) diff --git a/external/meta-python2/recipes-devtools/python/python-gevent/libev-conf.patch b/external/meta-python2/recipes-devtools/python/python-gevent/libev-conf.patch new file mode 100644 index 00000000..79c1867b --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python-gevent/libev-conf.patch @@ -0,0 +1,26 @@ +From 2294734ef9d5e2efb05820e9759a1635799bdea9 Mon Sep 17 00:00:00 2001 +From: Andrej Rode <andrej.rode@ettus.com> +Date: Mon, 10 Apr 2017 19:25:18 -0700 +Subject: [PATCH] libev: make configure crosscompile compatible + +Signed-off-by: Andrej Rode <andrej.rode@ettus.com> +--- + deps/libev/configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deps/libev/configure b/deps/libev/configure +index 743817e..96c2366 100755 +--- a/deps/libev/configure ++++ b/deps/libev/configure +@@ -2208,7 +2208,7 @@ fi + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_link='$CC -static -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +-- +2.10.2 + |