The update of Samba requires a newer version of libldb, so update it.

Signed-off-by: Joe MacDonald <[email protected]>
---
 ...not-import-target-module-while-cross-compile.patch | 19 ++++++++++---------
 .../libldb/{libldb_1.1.21.bb => libldb_1.1.26.bb}     |  4 ++--
 2 files changed, 12 insertions(+), 11 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_1.1.21.bb => 
libldb_1.1.26.bb} (92%)

diff --git 
a/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
 
b/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
index 2425a55..fdd312c 100755
--- 
a/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
+++ 
b/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
@@ -3,18 +3,19 @@ we just check whether does the module exist.
 
 Signed-off-by: Bian Naimeng <[email protected]>
 
---- ldb-1.1.17.orig/buildtools/wafsamba/samba_bundled.py       2015-07-16 
16:42:12.265127110 +0800
-+++ ldb-1.1.17/buildtools/wafsamba/samba_bundled.py    2015-07-16 
16:45:25.717119550 +0800
-@@ -1,7 +1,7 @@
- # functions to support bundled libraries
+Index: ldb-1.1.26/buildtools/wafsamba/samba_bundled.py
+===================================================================
+--- ldb-1.1.26.orig/buildtools/wafsamba/samba_bundled.py
++++ ldb-1.1.26/buildtools/wafsamba/samba_bundled.py
+@@ -2,6 +2,7 @@
  
+ import sys
+ import Build, Options, Logs
++import imp, os
  from Configure import conf
--import sys, Logs
-+import sys, Logs, imp
- from samba_utils import *
+ from samba_utils import TO_LIST
  
- def PRIVATE_NAME(bld, name, private_extension, private_library):
-@@ -218,17 +218,32 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, li
+@@ -230,17 +231,32 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, li
      # versions
      minversion = minimum_library_version(conf, libname, minversion)
  
diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.21.bb 
b/meta-networking/recipes-support/libldb/libldb_1.1.26.bb
similarity index 92%
rename from meta-networking/recipes-support/libldb/libldb_1.1.21.bb
rename to meta-networking/recipes-support/libldb/libldb_1.1.26.bb
index bdad87d..5458d47 100644
--- a/meta-networking/recipes-support/libldb/libldb_1.1.21.bb
+++ b/meta-networking/recipes-support/libldb/libldb_1.1.26.bb
@@ -17,8 +17,8 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=b
                     
file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780
 \
                     
file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
 
-SRC_URI[md5sum] = "94ba09c7452fff68df3481686c56677e"
-SRC_URI[sha256sum] = 
"267bbb7f278068eaf0de27adffda2e691a070a93c5c15ee27c828e87b4c7dbf1"
+SRC_URI[md5sum] = "31780b702b638ad32aa5d9853d257839"
+SRC_URI[sha256sum] = 
"8843c7a72b980d9413ba6c494c039bccd10c524b37fda2917afb147745d8b2e6"
 
 inherit waf-samba
 
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to