mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
libtalloc: upgrade 2.3.3 -> 2.3.4
* Refresh patches * Add a patch to skip checking PYTHONHASHSEED Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+6
-6
@@ -1,4 +1,4 @@
|
||||
From 8a82056ba2f70137714f225d82993aa4b11042da Mon Sep 17 00:00:00 2001
|
||||
From 888bfe48236b4ce382dc3aa49791cadb70a1fbe4 Mon Sep 17 00:00:00 2001
|
||||
From: Wang Mingyu <wangmy@cn.fujitsu.com>
|
||||
Date: Fri, 25 Dec 2020 14:14:08 +0900
|
||||
Subject: [PATCH] talloc: Add configure options for packages
|
||||
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
2 files changed, 75 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/lib/replace/wscript b/lib/replace/wscript
|
||||
index a2bc604..2e2e7bf 100644
|
||||
index 827d74f..0348715 100644
|
||||
--- a/lib/replace/wscript
|
||||
+++ b/lib/replace/wscript
|
||||
@@ -25,6 +25,41 @@ def options(opt):
|
||||
@@ -72,7 +72,7 @@ index a2bc604..2e2e7bf 100644
|
||||
@Utils.run_once
|
||||
def configure(conf):
|
||||
conf.RECURSE('buildtools/wafsamba')
|
||||
@@ -34,12 +69,25 @@ def configure(conf):
|
||||
@@ -35,12 +70,25 @@ def configure(conf):
|
||||
conf.DEFINE('HAVE_LIBREPLACE', 1)
|
||||
conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
|
||||
|
||||
@@ -102,7 +102,7 @@ index a2bc604..2e2e7bf 100644
|
||||
conf.CHECK_HEADERS('port.h')
|
||||
conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
|
||||
conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
|
||||
@@ -121,8 +169,9 @@ def configure(conf):
|
||||
@@ -110,8 +158,9 @@ def configure(conf):
|
||||
conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
|
||||
conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
|
||||
|
||||
@@ -114,7 +114,7 @@ index a2bc604..2e2e7bf 100644
|
||||
conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
|
||||
conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
|
||||
conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
|
||||
@@ -418,20 +467,20 @@ def configure(conf):
|
||||
@@ -431,20 +480,20 @@ def configure(conf):
|
||||
|
||||
strlcpy_in_bsd = False
|
||||
|
||||
@@ -150,7 +150,7 @@ index a2bc604..2e2e7bf 100644
|
||||
conf.CHECK_CODE('''
|
||||
struct ucred cred;
|
||||
diff --git a/wscript b/wscript
|
||||
index b955d21..4ac6e1e 100644
|
||||
index 3089663..fdf9510 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -31,7 +31,12 @@ def options(opt):
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
From b5eaeb7ed4e75012d2715f995e15a13850064f61 Mon Sep 17 00:00:00 2001
|
||||
From 6580e8191c219909d50c991662310e668973722d Mon Sep 17 00:00:00 2001
|
||||
From: Yi Zhao <yi.zhao@windriver.com>
|
||||
Date: Wed, 24 Nov 2021 13:33:35 +0800
|
||||
Subject: [PATCH] Fix pyext_PATTERN for cross compilation
|
||||
@@ -40,18 +40,18 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/third_party/waf/waflib/Tools/python.py b/third_party/waf/waflib/Tools/python.py
|
||||
index b1c8dd0..24faa31 100644
|
||||
index a23bd01..af202e0 100644
|
||||
--- a/third_party/waf/waflib/Tools/python.py
|
||||
+++ b/third_party/waf/waflib/Tools/python.py
|
||||
@@ -328,7 +328,7 @@ def check_python_headers(conf, features='pyembed pyext'):
|
||||
x = 'MACOSX_DEPLOYMENT_TARGET'
|
||||
if dct[x]:
|
||||
env[x] = conf.environ[x] = dct[x]
|
||||
- env.pyext_PATTERN = '%s' + dct['SO'] # not a mistake
|
||||
env[x] = conf.environ[x] = str(dct[x])
|
||||
- env.pyext_PATTERN = '%s' + (dct['EXT_SUFFIX'] or dct['SO']) # SO is deprecated in 3.5 and removed in 3.11
|
||||
+ env.pyext_PATTERN = '%s.so'
|
||||
|
||||
|
||||
# Try to get pythonX.Y-config
|
||||
--
|
||||
2.17.1
|
||||
2.25.1
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
From 4a1b8659235dcac5382a627a4add4d636a65a886 Mon Sep 17 00:00:00 2001
|
||||
From: Yi Zhao <yi.zhao@windriver.com>
|
||||
Date: Wed, 28 Dec 2022 16:31:05 +0800
|
||||
Subject: [PATCH] wscript: skip checking PYTHONHASHSEED
|
||||
|
||||
Skip checking PYTHONHASHSEED as it is set to 0 in oe-core by default.
|
||||
|
||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||
---
|
||||
buildtools/wafsamba/wscript | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
|
||||
index 8729b08..a4d6f3e 100644
|
||||
--- a/buildtools/wafsamba/wscript
|
||||
+++ b/buildtools/wafsamba/wscript
|
||||
@@ -8,10 +8,6 @@ import wafsamba
|
||||
from samba_utils import symlink
|
||||
from optparse import SUPPRESS_HELP
|
||||
|
||||
-phs = os.environ.get("PYTHONHASHSEED", None)
|
||||
-if phs != "1":
|
||||
- raise Errors.WafError('''PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!''')
|
||||
-
|
||||
# this forces configure to be re-run if any of the configure
|
||||
# sections of the build scripts change. We have to check
|
||||
# for this in sys.argv as options have not yet been parsed when
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,6 +1,17 @@
|
||||
From e18370c204056de799064d8ac72a656eb3745f95 Mon Sep 17 00:00:00 2001
|
||||
From: Wang Mingyu <wangmy@cn.fujitsu.com>
|
||||
Date: Fri, 25 Dec 2020 15:10:58 +0900
|
||||
Subject: [PATCH] avoid attr unless wanted
|
||||
|
||||
---
|
||||
lib/replace/wscript | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/replace/wscript b/lib/replace/wscript
|
||||
index 0348715..a8554d9 100644
|
||||
--- a/lib/replace/wscript
|
||||
+++ b/lib/replace/wscript
|
||||
@@ -947,8 +947,6 @@ def build(bld):
|
||||
@@ -967,8 +967,6 @@ def build(bld):
|
||||
if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c'
|
||||
if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c'
|
||||
if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c'
|
||||
@@ -9,13 +20,15 @@
|
||||
|
||||
if not bld.CONFIG_SET('HAVE_CLOSEFROM'):
|
||||
REPLACE_SOURCE += ' closefrom.c'
|
||||
@@ -962,7 +960,7 @@ def build(bld):
|
||||
# at the moment:
|
||||
@@ -983,7 +981,7 @@ def build(bld):
|
||||
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
||||
private_library=True,
|
||||
provide_builtin_linking=True,
|
||||
- deps='dl attr' + extra_libs)
|
||||
+ deps='dl' + extra_libs)
|
||||
|
||||
replace_test_cflags = ''
|
||||
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
||||
+5
-5
@@ -1,17 +1,17 @@
|
||||
SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
|
||||
HOMEPAGE = "http://talloc.samba.org"
|
||||
HOMEPAGE = "https://talloc.samba.org"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-3.0-or-later & GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \
|
||||
file://pytalloc.h;beginline=1;endline=18;md5=21ab13bd853679d7d47a1739cb3b7db6 \
|
||||
"
|
||||
|
||||
|
||||
SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \
|
||||
file://options-2.2.0.patch \
|
||||
file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \
|
||||
file://0001-talloc-Add-configure-options-for-packages.patch \
|
||||
file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
|
||||
file://0003-wscript-skip-checking-PYTHONHASHSEED.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "6be95b2368bd0af1c4cd7a88146eb6ceea18e46c3ffc9330bf6262b40d1d8aaa"
|
||||
SRC_URI[sha256sum] = "179f9ebe265e67e4ab2c26cad2b7de4b6a77c6c212f966903382869f06be6505"
|
||||
|
||||
inherit waf-samba
|
||||
|
||||
Reference in New Issue
Block a user