From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../avoid_warning_for_sunos_specific_module.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 external/meta-python2/recipes-devtools/python/python/avoid_warning_for_sunos_specific_module.patch (limited to 'external/meta-python2/recipes-devtools/python/python/avoid_warning_for_sunos_specific_module.patch') diff --git a/external/meta-python2/recipes-devtools/python/python/avoid_warning_for_sunos_specific_module.patch b/external/meta-python2/recipes-devtools/python/python/avoid_warning_for_sunos_specific_module.patch new file mode 100644 index 00000000..8ba58230 --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python/avoid_warning_for_sunos_specific_module.patch @@ -0,0 +1,23 @@ +sunaudiodev module is sunos specific so we avoid a warning by not +adding this module to missing variable. + +Upstream-Status: Inappropriate [distribution] + +Signed-off-by: Andrei Gherzan + +Index: Python-2.7.13/setup.py +=================================================================== +--- Python-2.7.13.orig/setup.py ++++ Python-2.7.13/setup.py +@@ -1671,8 +1671,9 @@ class PyBuildExt(build_ext): + if host_platform == 'sunos5': + # SunOS specific modules + exts.append( Extension('sunaudiodev', ['sunaudiodev.c']) ) +- else: +- missing.append('sunaudiodev') ++ # If platform is not sunos warning is useless ++ #else: ++ # missing.append('sunaudiodev') + + if host_platform == 'darwin': + # _scproxy -- cgit 1.2.3-korg