summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-08-04 21:14:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:47 +0100
commit77625e728b3199b659bda622446687dfb39b7926 (patch)
tree40faae08870e75be7b8df5430d3bf3aae1b0a827 /meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch
parent941d107053b82cc617f5042a57707617728e3ed6 (diff)
downloadpoky-77625e728b3199b659bda622446687dfb39b7926.tar.gz
python: Fix to support the python module _bsddb built with db 5.3
_bsddb module in python 2.7 could be built only with db version between 4.1 and 4.7. A patch was added to avoid build warning about this for [YOCTO #1937] but not actually fixed it. This patch enable _bsddb module be built with db 5.3, and remove --disable-statistics from the DB5_CONFIG to fix segmentation fault when using _bsddb module in python. [YOCTO #2749] (From OE-Core rev: 11267f8a1ccf65142988b095351a84b0fa0fcbcf) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch')
-rw-r--r--meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch b/meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch
deleted file mode 100644
index 4968744cb6..0000000000
--- a/meta/recipes-devtools/python/python/avoid_warning_about_bsddb.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1_bsddb module can be built only with db version between 4.1 and 4.7.
2Avoid a warning by not adding this module to missing variable.
3
4Upstream-Status: Inappropriate [distribution]
5
6Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
7
8
9Index: Python-2.7.2/setup.py
10===================================================================
11--- Python-2.7.2.orig/setup.py 2012-04-05 23:16:49.268139840 +0300
12+++ Python-2.7.2/setup.py 2012-04-05 23:17:30.912138622 +0300
13@@ -1024,7 +1024,9 @@
14 db_incs = None
15 dblibs = []
16 dblib_dir = None
17- missing.append('_bsddb')
18+ # We need db version between 4.1 and 4.7
19+ # Avoid this warning
20+ #missing.append('_bsddb')
21
22 # The sqlite interface
23 sqlite_setup_debug = False # verbose debug prints from this script?