From 77625e728b3199b659bda622446687dfb39b7926 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sat, 4 Aug 2012 21:14:08 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python-2.7.3-remove-bsdb-rpath.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-devtools/python/python/python-2.7.3-remove-bsdb-rpath.patch (limited to 'meta/recipes-devtools/python/python/python-2.7.3-remove-bsdb-rpath.patch') diff --git a/meta/recipes-devtools/python/python/python-2.7.3-remove-bsdb-rpath.patch b/meta/recipes-devtools/python/python/python-2.7.3-remove-bsdb-rpath.patch new file mode 100644 index 0000000000..4b8953a137 --- /dev/null +++ b/meta/recipes-devtools/python/python/python-2.7.3-remove-bsdb-rpath.patch @@ -0,0 +1,22 @@ +Remove the RPTH to avoid QA issue warning. + +Signed-off-by: Jackie Huang +--- + setup.py | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/setup.py b/setup.py +index 83b5e56..1fd5487 100644 +--- a/setup.py ++++ b/setup.py +@@ -1025,7 +1025,6 @@ class PyBuildExt(build_ext): + exts.append(Extension('_bsddb', ['_bsddb.c'], + depends = ['bsddb.h'], + library_dirs=dblib_dir, +- runtime_library_dirs=dblib_dir, + include_dirs=db_incs, + libraries=dblibs)) + else: +-- +1.7.4 + -- cgit v1.2.3-54-g00ecf